MCPcopy Create free account
hub / github.com/apache/arrow / garrow_tensor_get_dimension_name

Function garrow_tensor_get_dimension_name

c_glib/arrow-glib/tensor.cpp:352–358  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

350 * Since: 0.3.0
351 */
352const gchar *
353garrow_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:

Callers

nothing calls this directly

Calls 1

garrow_tensor_get_rawFunction · 0.85

Tested by

no test coverage detected