pub fn load_data<P>(filename: P) -> Result<Tensor>where P: AsRef<Path>,
Loads a single tensor from a HDF5 file.