ggml_leaky_relu method

Pointer<ggml_tensor> ggml_leaky_relu(
  1. Pointer<ggml_context> ctx,
  2. Pointer<ggml_tensor> a,
  3. double negative_slope,
  4. bool inplace,
)

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

Implementation

ffi.Pointer<ggml_tensor> ggml_leaky_relu(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  double negative_slope,
  bool inplace,
) {
  return _ggml_leaky_relu(ctx, a, negative_slope, inplace);
}