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

x/netsaur/src/gpu/activation.ts>Elu

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

Elu activation function f(x) = x if x >= 0, 1.01 * (e^x - 1) otherwise This is a rectified linear unit with an exponential output range.

Methods

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