Skip to main content
Module

x/netsaur/src/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.2/src/gpu/activation.ts";

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

Methods

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