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

Function garrow_tensor_get_size

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

* garrow_tensor_get_size: * @tensor: A #GArrowTensor. * * Returns: The number of value cells in the tensor. * * Since: 0.3.0 */

Source from the content-addressed store, hash-verified

366 * Since: 0.3.0
367 */
368gint64
369garrow_tensor_get_size(GArrowTensor *tensor)
370{
371 auto arrow_tensor = garrow_tensor_get_raw(tensor);
372 return arrow_tensor->size();
373}
374
375/**
376 * garrow_tensor_is_mutable:

Callers

nothing calls this directly

Calls 2

garrow_tensor_get_rawFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected