View source on GitHub
|
Promise to the TF runtime that the input tensor is a constant. (deprecated)
tf.guarantee_const(
input, name=None
)
The runtime is then free to make optimizations based on this.
Returns the input tensor without modification.
Args | |
|---|---|
input
|
A Tensor.
|
name
|
A name for this operation. |
Returns | |
|---|---|
A Tensor. Has the same dtype as input.
|
View source on GitHub