* garrow_tensor_get_dimension_name: * @tensor: A #GArrowTensor. * @i: The index of the target dimension. * * Returns: The i-th dimension name of the tensor. * * Since: 0.3.0 */
| 350 | * Since: 0.3.0 |
| 351 | */ |
| 352 | const gchar * |
| 353 | garrow_tensor_get_dimension_name(GArrowTensor *tensor, gint i) |
| 354 | { |
| 355 | auto arrow_tensor = garrow_tensor_get_raw(tensor); |
| 356 | auto arrow_dimension_name = &(arrow_tensor->dim_name(i)); |
| 357 | return arrow_dimension_name->c_str(); |
| 358 | } |
| 359 | |
| 360 | /** |
| 361 | * garrow_tensor_get_size: |
nothing calls this directly
no test coverage detected