Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/netsaur/backends/gpu/activation.ts>LeakyRelu

Powerful machine learning, accelerated by WebGPU
Go to Latest
class LeakyRelu
implements GPUActivationFn
import { LeakyRelu } from "https://deno.land/x/netsaur@0.1.5/backends/gpu/activation.ts";

Leaky ReLU activation function f(x) = x if x > 0, 0.01 * x otherwise

Properties

name: string

Methods

activate(type: string): string
prime(type: string): string