Skip to main content

tensor_attr

Function tensor_attr 

Source
pub fn tensor_attr(name: &str, tensor: TensorProto) -> AttributeProto
Expand description

Build an AttributeProto of type TENSOR. Used for Constant’s value attribute.