get_weight

get_weight(weight_param: ParamInfo) -> float
Extracts the weight value from a parameter information object.

Parameters

weight_param
ParamInfo
required
The parameter information object containing the weight value.
Returns: float - The extracted weight value.