API 版本:1.0
库版本:20.0.0
由 gi-docgen 2023.1 生成
始于:0.3.0
gint64* garrow_tensor_get_shape ( GArrowTensor* tensor, gint* n_dimensions )
起始版本: 0.3.0
n_dimensions
类型: gint*
gint*
维度的数量。
类型: 一个 gint64 的数组
gint64
张量的形状。
当不再需要时,应该使用 g_free() 释放它。
g_free()