Object/Class

com.intel.analytics.bigdl.nn.ops

TensorOp

Related Docs: class TensorOp | package ops

Permalink

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
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    build a TensorOp with identity transformer

    build a TensorOp with identity transformer

    T

    type param of TensorOp

    returns

    TensorOp[T]

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

    Permalink

    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]

  9. final def asInstanceOf[T0]: T0

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

    Permalink

    build a TensorOp to do element-wise ceil

    build a TensorOp to do element-wise ceil

    T

    type param of TensorOp

    returns

    TensorOp[T]

  11. def clone(): AnyRef

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

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

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

    Permalink

    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]

  18. def finalize(): Unit

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

    Permalink

    build a TensorOp to do element-wise floor

    build a TensorOp to do element-wise floor

    T

    type param of TensorOp

    returns

    TensorOp[T]

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

    Permalink

    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]

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

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

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

    Permalink

    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]

  24. final def isInstanceOf[T0]: Boolean

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

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

    Permalink

    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]

  31. final def notify(): Unit

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

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

    Permalink

    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]

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

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

    Permalink

    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]

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

    Permalink

    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]

  43. def toString(): String

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

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped