get_tensor

Function get_tensor 

Source
pub async fn get_tensor(
    __arg0: State<GatewayState>,
    __arg1: Path<String>,
    __arg2: Query<TensorQuery>,
    headers: HeaderMap,
) -> Result<Response, TensorError>
Expand description

Get tensor with zero-copy streaming

GET /v1/tensor/{cid}

Retrieves tensor data with optional range requests for partial loading. Supports both safetensors and raw binary formats.