Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/netsaur/src/model/types.ts>LayerJSON

Powerful machine learning, accelerated by WebGPU
Go to Latest
interface LayerJSON
import { type LayerJSON } from "https://deno.land/x/netsaur@0.2.5/src/model/types.ts";

Properties

optional
outputSize: Shape[Rank]
optional
inputSize: Shape[Rank]
optional
activationFn: string
optional
costFn: string
type: string
optional
weights: TensorJSON
optional
paddedSize: Shape[Rank]
optional
biases: TensorJSON
optional
kernel: TensorJSON
optional
strides: Shape[Rank]
optional
padding: number
optional
mode: "max" | "avg"