Packages

c

scalation.analytics

MultiplyGate

case class MultiplyGate() extends Product with Serializable

MultiplyGate is to perfrom dot product from input and weights 'w'.

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MultiplyGate
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new MultiplyGate()

Value Members

  1. def backward(w: MatriD, input: VectoD, dz: VectoD): (MatriD, VectoD)

    Calculate derivative corresponding to the W and input

    Calculate derivative corresponding to the W and input

    w

    the weight matrix

    input

    the input vector

    dz

    dl/dz where l is the loss

  2. def forward(w: MatriD, input: VectoD): VectoD

    Perform dot product with matrix W and Vector input.

    Perform dot product with matrix W and Vector input.

    w

    the weight matrix

    input

    the input vector

  3. def productElementNames: Iterator[String]
    Definition Classes
    Product