Google I/O returns May 18-20! Reserve space and build your schedule Register now


TensorFlow variant of NumPy's array.

Since Tensors are immutable, a copy is made only if val is placed on a

different device than the current one. Even if copy is False, a new Tensor may need to be built to satisfy dtype and ndim. This is used only if val is an ndarray or a Tensor.

See the NumPy documentation for numpy.array.