(x)
| 182 | output_dtype = str_dtype_to_trt(output_dtype) |
| 183 | |
| 184 | def from_parameter(x): |
| 185 | if isinstance(x, Parameter): |
| 186 | return x.value |
| 187 | return x |
| 188 | |
| 189 | expert_weights_1 = from_parameter(expert_weights_1) |
| 190 | expert_weights_2 = from_parameter(expert_weights_2) |