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

Function garrow_tensor_is_contiguous

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

* garrow_tensor_is_contiguous: * @tensor: A #GArrowTensor. * * Returns: %TRUE if the tensor is contiguous, %FALSE otherwise. * * Since: 0.3.0 */

Source from the content-addressed store, hash-verified

396 * Since: 0.3.0
397 */
398gboolean
399garrow_tensor_is_contiguous(GArrowTensor *tensor)
400{
401 auto arrow_tensor = garrow_tensor_get_raw(tensor);
402 return arrow_tensor->is_contiguous();
403}
404
405/**
406 * garrow_tensor_is_row_major:

Callers

nothing calls this directly

Calls 2

garrow_tensor_get_rawFunction · 0.85
is_contiguousMethod · 0.80

Tested by

no test coverage detected