ggml_new_tensor_2d method

Pointer<ggml_tensor> ggml_new_tensor_2d(
  1. Pointer<ggml_context> ctx,
  2. int type,
  3. int ne0,
  4. int ne1,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_new_tensor_2d(
  ffi.Pointer<ggml_context> ctx,
  int type,
  int ne0,
  int ne1,
) {
  return _ggml_new_tensor_2d(
    ctx,
    type,
    ne0,
    ne1,
  );
}