Module tensor

Module tensor 

Source
Expand description

Zero-Copy Tensor API

Provides high-performance tensor access with:

  • Zero-copy streaming
  • Memory-mapped responses
  • Partial tensor retrieval
  • Range request support

Structs§

TensorInfoResponse
Tensor metadata response
TensorMetadata
Tensor shape and type information
TensorQuery
Query parameters for tensor retrieval
TensorSlice
Tensor slice specification

Enums§

TensorError
Tensor operation errors
TensorLayout
Tensor memory layout

Functions§

get_tensor
Get tensor with zero-copy streaming
get_tensor_arrow
Get tensor in Apache Arrow IPC format
get_tensor_info
Get tensor metadata only
get_tensor_mmap
Get tensor using memory-mapped I/O (zero-copy from disk)
get_tensor_mmap_range
Mmap-based tensor range request