Python, Machine Learning, Artificial Intelligence, Programming, Matrix.
filled with zeros. the shape can be an int (to create a vector) or a tuple (to create a matrix/tensor) >>>np.zeros((2,3)) [[0. 0. 0.] [0. 0. 0.]] np.identity(dim) create an identity matrix of dimension dim x dim . >>>np.identity(3) [[1. 0. 0.] [0. 1. 0.] [0. 0. 1.]] np.full(shape, value) creates an