Tensor (? Tensor? ): More than two-dimensional array, generally speaking, the elements in the array are distributed in a regular grid of several dimensional coordinates, which is called tensor. If a tensor is a three-dimensional array, then we need three indexes to determine the position of elements? Answer? (? Me? ,? j? ,? k? ), tensors are usually expressed in bold capital letters.
2. Vector
Vector (? Vector? ): A vector represents an ordered set of numbers. We can find each individual number by the index in the sequence. Vectors are usually represented by bold lowercase letters. Every element in a vector is a scalar, and a vector is equivalent to? Python? One-dimensional array in.
3. Difference: Vector means that besides the length of the stick, we also know whether the stick points to the left or the right. Matrix is to know whether the stick is up or down in addition to the information known by the vector. Tensor is to know whether the stick faces forward or backward in addition to the known information of the matrix.