Skip to main content

params_version

Function params_version 

Source
pub fn params_version(params: &InferenceParams) -> u64
Expand description

Hash of the parameters that affect model output (currently the label set).

Fold every output-affecting field of InferenceParams here explicitly — non-Hash fields like f32 temperature must use to_bits().