ggml_view_3d function

  1. @Native<Pointer<ggml_tensor> Function(Pointer<ggml_context>, Pointer<ggml_tensor>, Int64, Int64, Int64, Size, Size, Size)>(ffi.Pointer<ggml_context>, ffi.Pointer<ggml_tensor>, ffi.Int64, ffi.Int64, ffi.Int64, ffi.Size, ffi.Size, ffi.Size)>()
Pointer<ggml_tensor> ggml_view_3d(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int ne0,
  4. int ne1,
  5. int ne2,
  6. int nb1,
  7. int nb2,
  8. int offset,
)

Implementation

@ffi.Native<
  ffi.Pointer<ggml_tensor> Function(
    ffi.Pointer<ggml_context>,
    ffi.Pointer<ggml_tensor>,
    ffi.Int64,
    ffi.Int64,
    ffi.Int64,
    ffi.Size,
    ffi.Size,
    ffi.Size,
  )
>()
external ffi.Pointer<ggml_tensor> ggml_view_3d(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int ne0,
  int ne1,
  int ne2,
  int nb1,
  int nb2,
  int offset,
);