Module tensor

Module tensor 

Source
Expand description

Tensor operation commands

This module provides tensor-related operations:

  • tensor_add - Add tensor file
  • tensor_get - Get tensor by CID
  • tensor_info - Show tensor metadata
  • tensor_export - Export tensor to different format

Structs§

SafetensorsInfo
Safetensors metadata structure

Functions§

extract_safetensors_metadata
Extract metadata from safetensors file
tensor_add
Add tensor file
tensor_export
Export tensor to different format
tensor_get
Get tensor by CID
tensor_info
Show tensor metadata