common

Functions

infer_weights_dtype

infer_weights_dtype(state_dict)
Parameters:

state_dict (dict[str, Tensor])

Return type:

dtype