摘要:
import numpy as np # from tensorflow import keras X = np.random.randint(100, size=10*1000).reshape(1000, 10) Y = np.random.randint(100, size=15*1000). 阅读全文
摘要:
import torch from torch import nn from torch.utils.tensorboard import SummaryWriter '''https://zhuanlan.zhihu.com/p/242086547''' a = torch.Tensor([[1, 阅读全文
摘要:
import tensorflow as tf import numpy as np # a = tf.random.uniform([2, 1, 2, 3]) # b = tf.random.uniform([1, 3, 3, 2]) # c = tf.matmul(a, b) '''https: 阅读全文
摘要:
See Also asanyarray : Similar function which passes through subclasses. ascontiguousarray : Convert input to a contiguous array. asfarray : Convert in 阅读全文