Hi,
This is a snapshot from https://github.com/tracel-ai/burn/blob/main/examples/custom-image-dataset/src/data.rs

The conversion is too complicated and cause confusions to users who are not familiar with burn. I converted the datatype of TensorData like this and got the same results

Hi,


This is a snapshot from https://github.com/tracel-ai/burn/blob/main/examples/custom-image-dataset/src/data.rs
The conversion is too complicated and cause confusions to users who are not familiar with burn. I converted the datatype of
TensorDatalike this and got the same results