API Reference
Graph.
tensor
Create a real or complex Tensor with the data provided.
data (number or np.ndarray or Tensor) – The data to convert to an appropriate tensor.
name (str, optional) – The name of the node.
Real or complex Tensor representation of the input data.
Tensor
Notes
Use this node to create a Tensor from some numeric data. Note that you can pass numbers or NumPy arrays to operations that accept Tensors.