com.intel.analytics.zoo.pipeline.api.autograd

Variable

class Variable[T] extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Variable
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def *(a: Double): Variable[T]

  5. def *(a: Variable[T]): Variable[T]

  6. def +(a: Double): Variable[T]

  7. def +(a: Variable[T]): Variable[T]

  8. def -(a: Double): Variable[T]

  9. def -(a: Variable[T]): Variable[T]

  10. def /(a: Double): Variable[T]

  11. def /(other: Variable[T]): Variable[T]

  12. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def getInputShape(): Shape

  21. def getOutputShape(): Shape

  22. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  23. def indexSelect(dim: Int, index: Int): Variable[T]

    Select an index of the input in the given dim and return the subset part.

    Select an index of the input in the given dim and return the subset part. The batch dimension needs to be unchanged. The selected dim would be remove after this operation. For example, if input is: 1 2 3 4 5 6 Select(1, 1) will give output [2 5] Select(1, -1) will give output [3 6]

    dim

    The dimension to select. 0-based index. Cannot select the batch dimension. -1 means the last dimension of the input.

    index

    The index of the dimension to be selected. 0-based index. -1 means the last dimension of the input.

  24. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  25. var name: String

  26. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  27. val node: ModuleNode[T]

  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def replicate(axis: Int, times: Int): Variable[T]

  31. def slice(dim: Int, startIndex: Int, length: Int): Variable[T]

    Same as Narrow in torch.

    Same as Narrow in torch. Slice the input with the number of dimensions not being reduced. The batch dimension needs to be unchanged. For example, if input is: 1 2 3 4 5 6 slice(1, 1, 2) will give output 2 3 5 6 slice(1, 2, -1) will give output 3 6

    dim

    The dimension to narrow. 0-based index. Cannot narrow the batch dimension. -1 means the last dimension of the input.

    startIndex

    Non-negative integer. The start index on the given dimension. 0-based index.

    length

    The length to be sliced. Default is 1.

  32. def squeeze(dim: Int): Variable[T]

    Delete the singleton dimension(s).

    Delete the singleton dimension(s). The batch dimension needs to be unchanged. For example, if input has size (2, 1, 3, 4, 1): Squeeze(dim = 1) will give output size (2, 3, 4, 1) Squeeze(dims = null) will give output size (2, 3, 4)

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. def unary_-(): Variable[T]

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped