GetDimensions property

Pointer<NativeFunction<OrtStatusPtr Function(Pointer<OrtTensorTypeAndShapeInfo> info, Pointer<Int64> dim_values, Size dim_values_length)>> GetDimensions
getter/setter pair

\brief Get dimensions in ::OrtTensorTypeAndShapeInfo

\paramin info \paramout dim_values Array with dim_values_length elements. On return, filled with the dimensions stored in the ::OrtTensorTypeAndShapeInfo \paramin dim_values_length Number of elements in dim_values. Use OrtApi::GetDimensionsCount to get this value

\snippet{doc} snippets.dox OrtStatus Return Value

Implementation

external ffi.Pointer<
  ffi.NativeFunction<
    OrtStatusPtr Function(
      ffi.Pointer<OrtTensorTypeAndShapeInfo> info,
      ffi.Pointer<ffi.Int64> dim_values,
      ffi.Size dim_values_length,
    )
  >
>
GetDimensions;