方法

ArrowTensorget_shape

始於:0.3.0

宣告 [src]

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

描述

無可用描述。

自 0.3.0 版本起可用

參數

n_dimensions

型別: gint*

維度的數量。

此參數將由函式設定。

傳回值

型別: gint64 的陣列

張量的形狀。

當不再需要時,應使用 g_free() 釋放。

陣列的長度位於 n_dimensions 參數中。
方法的呼叫者取得資料的所有權,並負責釋放它。