np.random.randn(100,7,14,7,1) 從標準正態分佈中返回一個五維矩陣。
np.random.randint(0,3,100000) 會在0、1、2中隨機返回100000大小的列表,但是其中不會包括3,
np.mean(a, axis=None) 求矩陣的平均數 axis表示對該軸進行求平均值
np.std(a, axis=None) 計算標準差
np.random.randn(100,7,14,7,1) 從標準正態分佈中返回一個五維矩陣。
np.random.randint(0,3,100000) 會在0、1、2中隨機返回100000大小的列表,但是其中不會包括3,
np.mean(a, axis=None) 求矩陣的平均數 axis表示對該軸進行求平均值
np.std(a, axis=None) 計算標準差
class MetaCls(type): def __new__(cls, *args, **kwargs): print("in MetaCls") # return super(Meta