How to use torch.sparse for 3D matrix?

Current i have a big data matrix with 3D dimension, could I ask how can I save them in sparse format and input them to CNN for model training? thanks.