Class/Object

com.thoughtworks.deeplearning.DifferentiableINDArray.Layers

Weight

Related Docs: object Weight | package Layers

Permalink

abstract case class Weight(value: INDArray) extends Layer with INDArraySemigroupBatch with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, INDArraySemigroupBatch, Batch, AutoCloseable, Layer, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Weight
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. INDArraySemigroupBatch
  7. Batch
  8. AutoCloseable
  9. Layer
  10. AnyRef
  11. Any
Implicitly
  1. by toINDArrayLayerOps
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Weight(value: INDArray)

    Permalink

Type Members

  1. type Data = INDArray

    Permalink
    Definition Classes
    INDArraySemigroupBatch → Batch
  2. type Delta = INDArray

    Permalink
    Definition Classes
    INDArraySemigroupBatch → Batch
  3. type Input = Batch

    Permalink
    Definition Classes
    Weight → Layer
  4. type Output = Batch { ... /* 2 definitions in type refinement */ }

    Permalink
    Definition Classes
    Weight → Layer

Abstract Value Members

  1. abstract def optimizer: Optimizer

    Permalink
    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to any2stringadd[Weight] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Weight, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to ArrowAssoc[Weight] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def addReference(): Weight

    Permalink
    Definition Classes
    Weight → Batch
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def backward(delta: ⇒ Delta): Unit

    Permalink
    Definition Classes
    Batch
    Annotations
    @inline()
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def close(): Unit

    Permalink
    Definition Classes
    Weight → AutoCloseable
  11. def convn(weight: Aux[Input, Batch], bias: Aux[Input, Batch], kernel: (Int, Int), stride: (Int, Int), padding: (Int, Int)): Aux[Input, Batch]

    Permalink

    calculate the convolution

    calculate the convolution

    weight

    4 dimensions weight

    bias

    1 dimension bias

    kernel

    the kernel/filter width and height

    stride

    the stride width and height

    padding

    the padding width and height

    returns

    convolution result

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  12. def dot(right: Aux[Input, Batch]): Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  13. def ensuring(cond: (Weight) ⇒ Boolean, msg: ⇒ Any): Weight

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to Ensuring[Weight] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Weight) ⇒ Boolean): Weight

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to Ensuring[Weight] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): Weight

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to Ensuring[Weight] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Weight

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to Ensuring[Weight] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def forceBackward(delta: Delta): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Weight → Batch
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to StringFormat[Weight] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def forward(any: Input): Weight

    Permalink
    Definition Classes
    Weight → Layer
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  23. def im2col(kernel: Array[Int], stride: Array[Int], padding: Array[Int]): Aux[Input, Batch]

    Permalink

    Im2col ops

    Im2col ops

    kernel

    kernel size / filter size

    stride

    stride size

    padding

    padding size

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. final val isTrainable: Boolean(true)

    Permalink
    Definition Classes
    Weight → Batch
  26. def maxPool(dimensions: Int*): Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  27. def mean: Aux[Input, Batch]

    Permalink

    Return mean of all elements of NDArray

    Return mean of all elements of NDArray

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  31. def permute(newShape: Aux[Input, Aux[Int, Float]]*): Aux[Input, Batch]

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
    Full Signature

    def permute[Element](newShape: Element*)(implicit toLayer: Aux[Element, Input, Int, Float]): Aux[Input, Batch]

  32. def permute(newShape: Int*): Aux[Input, Batch]

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
    Full Signature

    def permute[Element](newShape: Element*)(implicit toLayer: Aux[Element, Input, Int, Float]): Aux[Input, Batch]

  33. def reshape(newShape: Aux[Input, Aux[Int, Float]]*): Aux[Input, Batch]

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
    Full Signature

    def reshape[Element](newShape: Element*)(implicit toLayer: Aux[Element, Input, Int, Float]): Aux[Input, Batch]

  34. def reshape(newShape: Int*): Aux[Input, Batch]

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
    Full Signature

    def reshape[Element](newShape: Element*)(implicit toLayer: Aux[Element, Input, Int, Float]): Aux[Input, Batch]

  35. final def semigroup: Semigroup[Delta]

    Permalink
    Attributes
    protected
    Definition Classes
    INDArraySemigroupBatch
  36. def shape: Aux[Input, Aux[Seq[Int], (Int, Float)]]

    Permalink

    Return shape of NDArray

    Return shape of NDArray

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  37. def sum(dimensions: Int*): Aux[Input, Batch]

    Permalink

    Return sum dimensions of NDArray,will return an INDArrayPlaceholder

    Return sum dimensions of NDArray,will return an INDArrayPlaceholder

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  38. def sum: Aux[Input, Batch]

    Permalink

    Return sum of all elements of NDArray

    Return sum of all elements of NDArray

    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toSeq: Aux[Input, Aux[Seq[Seq[Double]], (Int, (Int, Double))]]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  41. def unary_-: Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to INDArrayLayerOps[Input] performed by method toINDArrayLayerOps in com.thoughtworks.deeplearning.DifferentiableINDArray. This conversion will take place only if an implicit value of type Aux[Weight, Input, OutputData, OutputDelta] is in scope and at the same time an implicit value of type <:<[Aux[Input, Aux[OutputData, OutputDelta]], Aux[Input, Aux[INDArray, INDArray]]] is in scope.
    Definition Classes
    INDArrayLayerOps
  42. var value: INDArray

    Permalink
    Definition Classes
    Weight → Batch
  43. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def [B](y: B): (Weight, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Weight to ArrowAssoc[Weight] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from INDArraySemigroupBatch

Inherited from Batch

Inherited from AutoCloseable

Inherited from Layer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toINDArrayLayerOps from Weight to INDArrayLayerOps[Input]

Inherited by implicit conversion any2stringadd from Weight to any2stringadd[Weight]

Inherited by implicit conversion StringFormat from Weight to StringFormat[Weight]

Inherited by implicit conversion Ensuring from Weight to Ensuring[Weight]

Inherited by implicit conversion ArrowAssoc from Weight to ArrowAssoc[Weight]

Ungrouped