Method

ArrowTensorget_shape

since: 0.3.0

Declaration [src]

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

Description

No description available.

Available since: 0.3.0

Parameters

n_dimensions

Type: gint*

The number of dimensions.

The argument will be set by the function.

Return value

Type: 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.