Tensor Transformations

Tensor Transformations

Note: Functions taking Tensor arguments can also take anything accepted by tf.convert_to_tensor.

Casting

TensorFlow provides several operations that you can use to cast tensor data types in your graph.