Visible to Intel only — GUID: GUID-AA2A18A0-4AC6-48DE-89D5-DDB43DD4B073
Visible to Intel only — GUID: GUID-AA2A18A0-4AC6-48DE-89D5-DDB43DD4B073
enum dnnl::graph::logical_tensor::property_type
Overview
Tensor property. More…
#include <dnnl_graph.hpp> enum property_type { undef = dnnl_graph_tensor_property_undef, variable = dnnl_graph_tensor_property_variable, constant = dnnl_graph_tensor_property_constant, };
Detailed Documentation
Tensor property.
Enum Values
undef
Undefined tensor property.
variable
Variable means the tensor may be changed during computation or between different iterations.
constant
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.
Did you find the information on this page useful?
Feedback Message
Characters remaining: