pub fn to_pytorch_checkpoint<T: ClusteringModel>(model: &T) -> Result<Value>
Convert to PyTorch checkpoint format