Object

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

AutoGrad

Related Doc: package autograd

Permalink

object AutoGrad

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AutoGrad
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EPSILON: Double

    Permalink
  5. def abs[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise absolute value.

    Element-wise absolute value.

    x

    A variable.

    returns

    A variable.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def batchDot[T](x: Variable[T], y: Variable[T], axes: List[Int], normalize: Boolean = false)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Operator that computes a dot product between samples in two tensors.

    Operator that computes a dot product between samples in two tensors.

    x

    A variable.

    y

    A variable.

    axes

    Axes along which to perform multiplication.

    normalize

    Whether to L2-normalize samples along the dot product axis before taking the dot product. If set to True, then the output of the dot product is the cosine proximity between the two samples.

  8. def clip[T](x: Variable[T], min: Double, max: Double)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise value clipping.

    Element-wise value clipping.

    x

    A variable.

    min

    Double.

    max

    Double.

    returns

    A variable.

  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def contiguous[T](input: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Turn the output and grad to be contiguous for the input Variable

  11. def epsilon[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Double

    Permalink

    Define the value of epsilon.

    Define the value of epsilon.

    returns

    A value of type Double.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def erf[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Computes the error function(Gauss error function) of each element.

    Computes the error function(Gauss error function) of each element.

    x

    A variable.

    returns

    A variable.

  15. def exp[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise exponential.

    Element-wise exponential.

    x

    A variable.

    returns

    A variable.

  16. def expandDims[T](x: Variable[T], axis: Int)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Adds a 1-sized dimension at index "axis".

    Adds a 1-sized dimension at index "axis". The axis is 0 based and if you set the axis to 0, you would change the batch dim.

    axis

    Position where to add a new axis.

  17. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def l2Normalize[T](x: Variable[T], axis: Int)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Normalizes a tensor wrt the L2 norm alongside the specified axis.

    Normalizes a tensor wrt the L2 norm alongside the specified axis.

    x

    A variable.

    axis

    Axis along which to perform multiplication.

  22. def log[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise log.

    Element-wise log.

    x

    A variable.

    returns

    A variable.

  23. def maximum[T](x: Variable[T], y: Double)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise maximum of two variables

    Element-wise maximum of two variables

    x

    A variable.

    y

    Double

    returns

    A variable.

  24. def maximum[T](x: Variable[T], y: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise maximum of two variables

    Element-wise maximum of two variables

    x

    A variable.

    y

    A variable.

    returns

    A variable.

  25. def mean[T](x: Variable[T], axis: Int = 0, keepDims: Boolean = false)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Mean of a tensor, alongside the specified axis.

    Mean of a tensor, alongside the specified axis.

    axis

    axis to compute the mean. 0-based indexed.

    keepDims

    A boolean, whether to keep the dimensions or not. If keepDims is False, the rank of the tensor is reduced by 1. If keepDims is True, the reduced dimensions are retained with length 1.

    returns

    A tensor with the mean of elements of x.

  26. def mm[T](x: Variable[T], y: Variable[T], axes: List[Int] = null)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Module to perform matrix multiplication on two mini-batch inputs, producing a mini-batch.

    Module to perform matrix multiplication on two mini-batch inputs, producing a mini-batch.

    x

    A variable.

    y

    A variable.

    axes

    Axes along which to perform multiplication.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. def pow[T](x: Variable[T], a: Double)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise exponentiation.

    Element-wise exponentiation.

    x

    A variable.

    a

    Double.

    returns

    A variable.

  31. def softplus[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Softplus of a variable.

    Softplus of a variable.

    x

    A variable.

    returns

    A variable.

  32. def softsign[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Softsign of a variable.

    Softsign of a variable.

    x

    A variable.

    returns

    A variable.

  33. def sqrt[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise square root.

    Element-wise square root.

    x

    A variable.

    returns

    A variable.

  34. def square[T](x: Variable[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Element-wise square.

    Element-wise square.

    x

    A variable.

    returns

    A variable.

  35. def stack[T](inputs: List[Variable[T]], axis: Int = 1)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Stacks a list of rank R tensors into a rank R+1 tensor.

    Stacks a list of rank R tensors into a rank R+1 tensor.

    axis

    axis along which to perform stacking.

  36. def sum[T](x: Variable[T], axis: Int = 0, keepDims: Boolean = false)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): Variable[T]

    Permalink

    Sum of the values in a variable, alongside the specified axis.

    Sum of the values in a variable, alongside the specified axis.

    x

    A variable.

    axis

    axis to compute the mean. 0-based indexed.

    keepDims

    A boolean, whether to keep the dimensions or not. If keepDims is False, the rank of the variable is reduced by 1. If keepDims is True, the reduced dimensions are retained with length 1.

    returns

    A variable with the mean of elements of x.

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

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped