Class

com.thoughtworks.deeplearning.DifferentiableINDArray.Layers

Im2col

Related Doc: package Layers

Permalink

final case class Im2col[Input0 <: Batch](operand: Aux[Input0, Batch], kernel: Array[Int], stride: Array[Int], padding: Array[Int]) extends Unary with Product with Serializable

Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Im2col
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Unary
  7. BufferedLayer
  8. Layer
  9. AnyRef
  10. 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 Im2col(operand: Aux[Input0, Batch], kernel: Array[Int], stride: Array[Int], padding: Array[Int])

    Permalink

Type Members

  1. type BufferedBatch = INDArraySemigroupBatch with SemigroupBatch with UnaryBatch

    Permalink
    Definition Classes
    Im2colUnaryBufferedLayer
  2. type Input = Input0

    Permalink
    Definition Classes
    Im2colLayer
  3. trait MonoidBatch extends ReferenceCount

    Permalink
    Attributes
    protected
    Definition Classes
    BufferedLayer
  4. type Output = BufferedBatch.Self

    Permalink

    Definition Classes
    BufferedLayerLayer
  5. trait ReferenceCount extends Batch

    Permalink
    Attributes
    protected
    Definition Classes
    BufferedLayer
  6. trait SemigroupBatch extends ReferenceCount

    Permalink
    Attributes
    protected
    Definition Classes
    BufferedLayer
  7. trait UnaryBatch extends ReferenceCount

    Permalink
    Attributes
    protected
    Definition Classes
    Unary

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 Im2col[Input0] to any2stringadd[Im2col[Input0]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Im2col[Input0], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] to ArrowAssoc[Im2col[Input0]] 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 asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. 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 Im2col[Input0] 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[Im2col[Input0], 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
  9. def dot(right: Aux[Input, Batch]): Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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
  10. def ensuring(cond: (Im2col[Input0]) ⇒ Boolean, msg: ⇒ Any): Im2col[Input0]

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

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

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatted(fmtstr: String): String

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

    Permalink
    Definition Classes
    BufferedLayerLayer
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. 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 Im2col[Input0] 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[Im2col[Input0], 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
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val kernel: Array[Int]

    Permalink
  22. def maxPool(dimensions: Int*): Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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
  23. 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 Im2col[Input0] 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[Im2col[Input0], 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 ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val operand: Aux[Input0, Batch]

    Permalink
    Definition Classes
    Im2colUnary
  28. val padding: Array[Int]

    Permalink
  29. 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 Im2col[Input0] 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[Im2col[Input0], 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]

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

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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]

  31. def rawForward(input0: Input): BufferedBatch

    Permalink

    Performs the underlying forward pass.

    Performs the underlying forward pass.

    returns

    a Batch that will be cached for subsequent forward

    Attributes
    protected
    Definition Classes
    Im2colBufferedLayer
  32. 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 Im2col[Input0] 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[Im2col[Input0], 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]

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

    Permalink

    [use case]

    [use case]
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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 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 Im2col[Input0] 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[Im2col[Input0], 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
  35. val stride: Array[Int]

    Permalink
  36. 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 Im2col[Input0] 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[Im2col[Input0], 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: 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 Im2col[Input0] 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[Im2col[Input0], 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. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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
  40. def unary_-: Aux[Input, Batch]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Im2col[Input0] 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[Im2col[Input0], 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. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def [B](y: B): (Im2col[Input0], B)

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Unary

Inherited from BufferedLayer

Inherited from Layer

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion toINDArrayLayerOps from Im2col[Input0] to INDArrayLayerOps[Input]

Inherited by implicit conversion any2stringadd from Im2col[Input0] to any2stringadd[Im2col[Input0]]

Inherited by implicit conversion StringFormat from Im2col[Input0] to StringFormat[Im2col[Input0]]

Inherited by implicit conversion Ensuring from Im2col[Input0] to Ensuring[Im2col[Input0]]

Inherited by implicit conversion ArrowAssoc from Im2col[Input0] to ArrowAssoc[Im2col[Input0]]

Ungrouped