Function metatensor::io::load_buffer
source · pub fn load_buffer(buffer: &[u8]) -> Result<TensorMap, Error>
Expand description
Load a serialized TensorMap
from a buffer
.
See the load
function for more information on the data format.