Options
All
  • Public
  • Public/Protected
  • All
Menu

A module is a self contained unit that transforms a list of inputs when forward is called.

It can be in two modes, training and inference. In training mode, gradients will be tracked, while in inference mode, only the forward pass will be calculated

Hierarchy

Index

Constructors

constructor

Properties

backend

backend: Backend = 'CPU'

mode

mode: Mode = 'train'

Methods

Abstract forward

getParameters

getSubModules

toBackend

  • toBackend(backend: Backend): Promise<void>

toCPU

  • toCPU(): Promise<void>

toGPU

  • toGPU(): Promise<void>

toWASM

  • toWASM(): Promise<void>

Generated using TypeDoc