ggml_cast method

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

Implementation

ffi.Pointer<ggml_tensor> ggml_cast(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  int type,
) {
  return _ggml_cast(ctx, a, type);
}