Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.1/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.