pub fn transpose_linear_weights(data: &TensorData) -> TensorDataExpand description
Transpose weights if needed for format conversion.
PyTorch Linear: [out_features, in_features]
Some frameworks: [in_features, out_features]
pub fn transpose_linear_weights(data: &TensorData) -> TensorDataTranspose weights if needed for format conversion.
PyTorch Linear: [out_features, in_features]
Some frameworks: [in_features, out_features]