Skip to main content
Module

x/netsaur/src/gpu/cost.ts>GPUCostFunction

Powerful machine learning, accelerated by WebGPU
Go to Latest
interface GPUCostFunction
import { type GPUCostFunction } from "https://deno.land/x/netsaur@0.1.2/src/gpu/cost.ts";

Methods

cost(type: string): string

Return the cost associated with an output a and desired output y.

prime(type: string): string

Return the error delta from the output layer.