Method

ArrowTensorget_shape

Declaration [src]

gint64*
garrow_tensor_get_shape (
  GArrowTensor* tensor,
  gint* n_dimensions
)

Description

No description available.
Available since:0.3.0

Parameters

n_dimensions gint*
 

The number of dimensions.

 The argument will be set by the function.

Return value

Returns: An array of gint64
 

The shape of the tensor.

It should be freed with g_free() when no longer needed.

 The length of the array is in the n_dimensions argument.
 The caller of the method takes ownership of the data, and is responsible for freeing it.