Function w_param

Source
fn w_param(p: &NetParams<i32>, kwd: &str) -> u32
Expand description

Return the weight param named ‘kwd’ in p.

Returns DFLT_WEIGHT if there is no such parameter, and 0 if kwd is “—”.