Skip to main content

attr_float

Function attr_float 

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

Construct an AttributeProto of type FLOAT. Used for epsilon, alpha, momentum, etc.