com.intel.analytics.bigdl.tensor.TensorNumericMath

TensorNumeric

trait TensorNumeric[T] extends Serializable

define tensor math operation

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

Abstract Value Members

  1. abstract def abs(x: T): T

  2. abstract def add(n: Int, a: Array[T], offset: Int, v: T, stride: Int): Unit

  3. abstract def addcdiv(value: T, n: Int, self: Array[T], selfOffset: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int): Unit

  4. abstract def addcmul(value: T, n: Int, self: Array[T], selfOffset: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int): Unit

  5. abstract def and(x: T, y: T): T

  6. abstract def arraycopy(src: Array[T], srcPos: Int, dest: Array[T], destPos: Int, length: Int): Unit

  7. abstract def axpy(n: Int, da: T, dx: Array[T], _dx_offset: Int, incx: Int, dy: Array[T], _dy_offset: Int, incy: Int): Unit

  8. abstract def divide(x: T, y: T): T

  9. abstract def dot(n: Int, dx: Array[T], _dx_offset: Int, incx: Int, dy: Array[T], _dy_offset: Int, incy: Int): T

  10. abstract def exp(x: T): T

  11. abstract def fill(data: Array[T], fromIndex: Int, toIndex: Int, value: T): Unit

  12. abstract def floor(a: T): T

  13. abstract def fromType[K](k: K)(implicit c: ConvertableFrom[K]): T

  14. abstract def gemm(transa: Char, transb: Char, m: Int, n: Int, k: Int, alpha: T, a: Array[T], aOffset: Int, lda: Int, b: Array[T], bOffset: Int, ldb: Int, beta: T, c: Array[T], cOffset: Int, ldc: Int): Unit

  15. abstract def gemv(trans: Char, m: Int, n: Int, alpha: T, a: Array[T], aoffset: Int, lda: Int, x: Array[T], xOffset: Int, incx: Int, beta: T, y: Array[T], yOffset: Int, incy: Int): Unit

  16. abstract def ger(m: Int, n: Int, alpha: T, x: Array[T], _x_offset: Int, incx: Int, y: Array[T], _y_offset: Int, incy: Int, a: Array[T], _a_offset: Int, lda: Int): Unit

  17. abstract def getType(): TensorDataType

  18. abstract def inv(v: T): T

  19. abstract def isGreater(x: T, y: T): Boolean

  20. abstract def isGreaterEq(x: T, y: T): Boolean

  21. abstract def log(x: T): T

  22. abstract def log1p(x: T): T

  23. abstract def max(x: T, y: T): T

  24. abstract def minus(x: T, y: T): T

  25. abstract def nearlyEqual(a: T, b: T, epsilon: Double): Boolean

  26. abstract def negative(x: T): T

  27. abstract def or(x: T, y: T): T

  28. abstract def plus(x: T, y: T): T

  29. abstract def pow(x: T, y: T): T

  30. abstract def pow(x: T): T

  31. abstract def prod(n: Int, a: Array[T], aOffset: Int, stride: Int): T

  32. abstract def rand(): T

  33. abstract def randn(): T

  34. abstract def scal(n: Int, sa: T, sx: Array[T], offset: Int, incx: Int): Unit

  35. abstract def sqrt(x: T): T

  36. abstract def sub(n: Int, a: Array[T], offset: Int, v: T, stride: Int): Unit

  37. abstract def sum(n: Int, a: Array[T], aOffset: Int, stride: Int): T

  38. abstract def tanh(x: T): T

  39. abstract def times(x: T, y: T): T

  40. abstract def toType[K](t: T)(implicit c: ConvertableTo[K]): K

  41. abstract def vAbs(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

  42. abstract def vAdd(n: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int, y: Array[T], yOffset: Int): Unit

  43. abstract def vDiv(n: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int, y: Array[T], yOffset: Int): Unit

  44. abstract def vExp(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

  45. abstract def vLn(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

  46. abstract def vLog1p(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

  47. abstract def vMul(n: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int, y: Array[T], yOffset: Int): Unit

  48. abstract def vPowx(n: Int, a: Array[T], aOffset: Int, b: T, y: Array[T], yOffset: Int): Unit

  49. abstract def vSqrt(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

  50. abstract def vSub(n: Int, a: Array[T], aOffset: Int, b: Array[T], bOffset: Int, y: Array[T], yOffset: Int): Unit

  51. abstract def vTanh(n: Int, a: Array[T], aOffset: Int, y: Array[T], yOffset: Int): Unit

Concrete 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. final def ==(arg0: AnyRef): Boolean

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

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

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

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

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

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

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

    Definition Classes
    AnyRef
  17. def one: T

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

    Definition Classes
    AnyRef
  19. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def zero: T

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped