tensor_to_record_batch

Function tensor_to_record_batch 

Source
pub fn tensor_to_record_batch(
    metadata: &TensorMetadata,
    data: &[u8],
) -> Result<RecordBatch>
Expand description

Convert tensor data to Apache Arrow RecordBatch

The tensor is represented as a single column in the RecordBatch, with the column name “data” and appropriate Arrow data type.