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

Function garrow_tensor_get_n_dimensions

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

* garrow_tensor_get_n_dimensions: * @tensor: A #GArrowTensor. * * Returns: The number of dimensions of the tensor. * * Since: 0.3.0 */

Source from the content-addressed store, hash-verified

334 * Since: 0.3.0
335 */
336gint
337garrow_tensor_get_n_dimensions(GArrowTensor *tensor)
338{
339 auto arrow_tensor = garrow_tensor_get_raw(tensor);
340 return arrow_tensor->ndim();
341}
342
343/**
344 * garrow_tensor_get_dimension_name:

Callers

nothing calls this directly

Calls 1

garrow_tensor_get_rawFunction · 0.85

Tested by

no test coverage detected