ggml_new_tensor_1d method

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

General Library Documentation Undocument By General Corporation & Global Corporation & General Developer

Implementation

ffi.Pointer<ggml_tensor> ggml_new_tensor_1d(
  ffi.Pointer<ggml_context> ctx,
  int type,
  int ne0,
) {
  return _ggml_new_tensor_1d(ctx, type, ne0);
}