Tensor property. More…
Undefined tensor property.
Variable means the tensor may be changed during computation or between different iterations.
Constant means the tensor will keep unchanged during computation and between different iterations.
It’s useful for the library to apply optimizations for constant tensors or cache constant tensors inside the library. For example, constant weight tensors in inference scenarios.