Skip to main content

int_attr

Function int_attr 

Source
pub fn int_attr(name: &str, value: i64) -> AttributeProto
Expand description

Build an AttributeProto of type INT (per ONNX [AttributeType::Int]). Used by the Contract per-op defaults for scalar i64 attributes (axis, to, keepdims).