Options
All
  • Public
  • Public/Protected
  • All
Menu

List of modules. Use this if you want to store submodules in a list

Hierarchy

Index

Constructors

constructor

Properties

backend

backend: Backend = 'CPU'

mode

mode: Mode = 'train'

modules

modules: Module[] = ...

Methods

forward

get

getParameters

getSubModules

pop

push

set

  • set(index: number, module: Module): void

toBackend

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

toCPU

  • toCPU(): Promise<void>

toGPU

  • toGPU(): Promise<void>

toWASM

  • toWASM(): Promise<void>

Generated using TypeDoc