Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tf.guarantee_const

Promise to the TF runtime that the input tensor is a constant. (deprecated)

The runtime is then free to make optimizations based on this.

Returns the input tensor without modification.

input A Tensor.
name A name for this operation.

A Tensor. Has the same dtype as input.