| 443 | } |
| 444 | |
| 445 | GArrowTensor * |
| 446 | garrow_tensor_new_raw_buffer(std::shared_ptr<arrow::Tensor> *arrow_tensor, |
| 447 | GArrowBuffer *buffer) |
| 448 | { |
| 449 | auto tensor = GARROW_TENSOR( |
| 450 | g_object_new(GARROW_TYPE_TENSOR, "tensor", arrow_tensor, "buffer", buffer, NULL)); |
| 451 | return tensor; |
| 452 | } |
| 453 | |
| 454 | std::shared_ptr<arrow::Tensor> |
| 455 | garrow_tensor_get_raw(GArrowTensor *tensor) |
no outgoing calls
no test coverage detected