ggml_new_tensor_4d method

Pointer<ggml_tensor> ggml_new_tensor_4d(
  1. Pointer<ggml_context> ctx,
  2. int type,
  3. int ne0,
  4. int ne1,
  5. int ne2,
  6. int ne3,
)

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

Implementation

ffi.Pointer<ggml_tensor> ggml_new_tensor_4d(
  ffi.Pointer<ggml_context> ctx,
  int type,
  int ne0,
  int ne1,
  int ne2,
  int ne3,
) {
  return _ggml_new_tensor_4d(ctx, type, ne0, ne1, ne2, ne3);
}