*** ValueError: some of the strides of a given numpy array are negative. This is currently not suppo

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/e01528/article/details/86067489

内存地址不连续的问题

加一句np.ascontiguousarray就好了

  inputs6=np.ascontiguousarray(inputs6, dtype=np.float32)

猜你喜欢

转载自blog.csdn.net/e01528/article/details/86067489