-
- np.linspace(start, end, nums)
- rng.integers/uniform(low, high, size)
- rng.normal(loc, scale, size)
-
- arr.shape
- arr.sum/max/min(axis, keepdims)
- np.average(arr, axis)
-
- arr.reshpae/np.reshape
- np.expand_dims(arr, axis)
- np.squeeze(arr axis)
- np.transpose(arr, axis)
- arr.T
-
- arr[start:stop:step, ...]
- np.concatenate((arr1, arr2), axis)
- np.stack((arr1, arr2), axis)
- np.repeat(arr, repeat_num, axis)
- np.split(arr, part_num, axis)
-
- np.where(condition, arr, replaced_val)
- rng.choice(a, size, replace=False, p=probs_size_equals_a)
- rng.argmax/argmin/argsort(arr, axis)
-
- +-*/
- np.dot(a, b) == a.dot(b)
- np.matmul(a, b) == a @ b