Skip to main content

attr_int

Function attr_int 

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

Construct an AttributeProto of type INT for NodeProto.attribute. Used by DSL methods that pass scalar i64 config (axis, group, to, etc.).