ggml_new_tensor method

Pointer<ggml_tensor> ggml_new_tensor(
  1. Pointer<ggml_context> ctx,
  2. int type,
  3. int n_dims,
  4. Pointer<Int64> ne,
)

Implementation

ffi.Pointer<ggml_tensor> ggml_new_tensor(
  ffi.Pointer<ggml_context> ctx,
  int type,
  int n_dims,
  ffi.Pointer<ffi.Int64> ne,
) {
  return _ggml_new_tensor(
    ctx,
    type,
    n_dims,
    ne,
  );
}