ggml_view_2d method

Pointer<ggml_tensor> ggml_view_2d(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int ne0,
  4. int ne1,
  5. int nb1,
  6. int offset,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_view_2d(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int ne0,
  int ne1,
  int nb1,
  int offset,
) {
  return _ggml_view_2d(
    ctx,
    a,
    ne0,
    ne1,
    nb1,
    offset,
  );
}