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

x/netsaur/src/cpu/activation.ts>Linear

Powerful machine learning, accelerated by WebGPU
Go to Latest
class Linear
implements CPUActivationFn
import { Linear } from "https://deno.land/x/netsaur@0.1.2/src/cpu/activation.ts";

Linear activation function f(x) = x

Methods

activate(val: number): number
prime(_val: number): number