Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutputLayer

Output layer

Hierarchy

Index

Constructors

constructor

  • new OutputLayer(outputSize: number, options?: { activation?: ActivationType }): OutputLayer

Properties

Readonly connections

connections: Connection[]

All connections in this layer.

Readonly gates

gates: Connection[]

All gates in this layer.

Readonly inputNodes

inputNodes: Set<Node>

The nodes which gets connected to the previous layer.

Readonly nodes

nodes: Node[]

All nodes in this layer.

outputNodes

outputNodes: Set<Node>

The nodes which gets connected to the next layer.

Readonly outputSize

outputSize: number

The output size of the layer.

Methods

connect

  • connect(): void

connectionTypeisAllowed

  • connectionTypeisAllowed(): boolean

getDefaultIncomingConnectionType

Static connect

Static gate

Generated using TypeDoc