Node

scalation.calculus.Node
case class Node(v_dim2: Int, b: MatrixD, u: MatrixD, f: AFF)

The Node case class maintains information about a node in a Computation Graph.

Value parameters

b

the parameter matrix (weight => multiply, bias => add)

f

the activation function family or null for none

u

the input vector

v_dim2

the output second dimension

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def copy(z: MatrixD): Unit
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val v: MatrixD
var vb: MatrixD