Skip to main content
The Deno 2 Release Candidate is 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.0/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"