ggml_view_4d method

Pointer<ggml_tensor> ggml_view_4d(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. int ne0,
  4. int ne1,
  5. int ne2,
  6. int ne3,
  7. int nb1,
  8. int nb2,
  9. int nb3,
  10. int offset,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_view_4d(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int ne0,
  int ne1,
  int ne2,
  int ne3,
  int nb1,
  int nb2,
  int nb3,
  int offset,
) {
  return _ggml_view_4d(
    ctx,
    a,
    ne0,
    ne1,
    ne2,
    ne3,
    nb1,
    nb2,
    nb3,
    offset,
  );
}