com.intel.analytics.bigdl.nn.ops

TensorOp

object TensorOp extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TensorOp
  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: scala.Any): Boolean

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

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

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

    Definition Classes
    Any
  6. def abs[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = |x|

    build a TensorOp to do element-wise f(x) = |x|

    T

    type param of TensorOp

    returns

    TensorOp[T]

  7. def add[T](tensor: Tensor[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise tensor addition

    build a TensorOp to do element-wise tensor addition

    T

    type param of TensorOp

    tensor

    Tensor[T]

    returns

    TensorOp[T]

  8. def add[T](value: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = x + a

    build a TensorOp to do element-wise f(x) = x + a

    T

    type param of TensorOp

    value

    T a

    returns

    TensorOp[T]

  9. def apply[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp with identity transformer

    build a TensorOp with identity transformer

    T

    type param of TensorOp

    returns

    TensorOp[T]

  10. def apply[T](transformer: (Tensor[T], TensorNumeric[T]) ⇒ Tensor[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp with user-defined transformer

    build a TensorOp with user-defined transformer

    T

    type param of TensorOp

    transformer

    user-defined tensor transformer

    returns

    TensorOp[T]

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def ceil[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise ceil

    build a TensorOp to do element-wise ceil

    T

    type param of TensorOp

    returns

    TensorOp[T]

  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def div[T](tensor: Tensor[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise division

    build a TensorOp to do element-wise division

    T

    type param of TensorOp

    tensor

    Tensor[T]

    returns

    TensorOp[T]

  15. def div[T](value: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = x / a

    build a TensorOp to do element-wise f(x) = x / a

    T

    type param of TensorOp

    value

    T a

    returns

    TensorOp[T]

  16. def eq[T](value: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = if (x==a) 1; else 0

    build a TensorOp to do element-wise f(x) = if (x==a) 1; else 0

    T

    type param of TensorOp

    value

    T a

    returns

    TensorOp[T]

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

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

    Definition Classes
    AnyRef → Any
  19. def exp[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = exp(x)

    build a TensorOp to do element-wise f(x) = exp(x)

    T

    type param of TensorOp

    returns

    TensorOp[T]

  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def floor[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise floor

    build a TensorOp to do element-wise floor

    T

    type param of TensorOp

    returns

    TensorOp[T]

  22. def ge[T](value: Double)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = if (x>=a) 1; else 0

    build a TensorOp to do element-wise f(x) = if (x>=a) 1; else 0

    T

    type param of TensorOp

    value

    Double a

    returns

    TensorOp[T]

  23. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  25. def inv[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = 1 / x

    build a TensorOp to do element-wise f(x) = 1 / x

    T

    type param of TensorOp

    returns

    TensorOp[T]

  26. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  27. def log[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = log(x)

    build a TensorOp to do element-wise f(x) = log(x)

    T

    type param of TensorOp

    returns

    TensorOp[T]

  28. def log1p[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = log(x + 1)

    build a TensorOp to do element-wise f(x) = log(x + 1)

    T

    type param of TensorOp

    returns

    TensorOp[T]

  29. def mul[T](tensor: Tensor[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise multiplication

    build a TensorOp to do element-wise multiplication

    T

    type param of TensorOp

    tensor

    Tensor[T]

    returns

    TensorOp[T]

  30. def mul[T](value: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = a * x

    build a TensorOp to do element-wise f(x) = a * x

    T

    type param of TensorOp

    value

    T a

    returns

    TensorOp[T]

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

    Definition Classes
    AnyRef
  32. def negative[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = -x

    build a TensorOp to do element-wise f(x) = -x

    T

    type param of TensorOp

    returns

    TensorOp[T]

  33. final def notify(): Unit

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

    Definition Classes
    AnyRef
  35. def pow[T](n: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = x ^ n

    build a TensorOp to do element-wise f(x) = x ^ n

    T

    type param of TensorOp

    n

    the order of power

    returns

    TensorOp[T]

  36. def sigmoid[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = 1 / (1 + exp(-x))

    build a TensorOp to do element-wise f(x) = 1 / (1 + exp(-x))

    T

    type param of TensorOp

    returns

    TensorOp[T]

  37. def sign[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = if (x>0) 1; if (x=0) 0; else -1

    build a TensorOp to do element-wise f(x) = if (x>0) 1; if (x=0) 0; else -1

    T

    type param of TensorOp

    returns

    TensorOp[T]

  38. def sqrt[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = sqrt(x)

    build a TensorOp to do element-wise f(x) = sqrt(x)

    T

    type param of TensorOp

    returns

    TensorOp[T]

  39. def square[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = x ^ 2

    build a TensorOp to do element-wise f(x) = x ^ 2

    T

    type param of TensorOp

    returns

    TensorOp[T]

  40. def sub[T](tensor: Tensor[T])(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise tensor subtraction

    build a TensorOp to do element-wise tensor subtraction

    T

    type param of TensorOp

    tensor

    Tensor[T]

    returns

    TensorOp[T]

  41. def sub[T](value: T)(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = x - a

    build a TensorOp to do element-wise f(x) = x - a

    T

    type param of TensorOp

    value

    T a

    returns

    TensorOp[T]

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

    Definition Classes
    AnyRef
  43. def t[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do matrix transposition for 2d Tensors

    build a TensorOp to do matrix transposition for 2d Tensors

    T

    type param of TensorOp

    returns

    TensorOp[T]

  44. def tanh[T]()(implicit arg0: ClassTag[T], ev: TensorNumeric[T]): TensorOp[T]

    build a TensorOp to do element-wise f(x) = tanh(x)

    build a TensorOp to do element-wise f(x) = tanh(x)

    T

    type param of TensorOp

    returns

    TensorOp[T]

  45. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped