Class

org.platanios.tensorflow.api.ops.Math

MathOps

Related Doc: package Math

Permalink

case class MathOps(output: Output) extends Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MathOps
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MathOps(output: Output)

    Permalink

Value Members

  1. def !=(other: Output): Output

    Permalink

    $OpDocMathNotEqual

    $OpDocMathNotEqual

    returns

    Result as a new tensor.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def %(other: Output): Output

    Permalink

    $OpDocMathMod

    $OpDocMathMod

    returns

    Result as a new tensor.

  5. def &&(other: Output): Output

    Permalink

    $OpDocMathLogicalAnd

    $OpDocMathLogicalAnd

    returns

    Result as a new tensor.

  6. def *(other: Output): Output

    Permalink

    $OpDocMathMultiply

    $OpDocMathMultiply

    returns

    Result as a new tensor.

  7. def **(other: Output): Output

    Permalink

    $OpDocMathPow

    $OpDocMathPow

    returns

    Result as a new tensor.

  8. def +(other: Output): Output

    Permalink

    $OpDocMathAdd

    $OpDocMathAdd

    returns

    Result as a new tensor.

  9. def -(other: Output): Output

    Permalink

    $OpDocMathSubtract

    $OpDocMathSubtract

    returns

    Result as a new tensor.

  10. def /(other: Output): Output

    Permalink

    $OpDocMathDivide

    $OpDocMathDivide

    returns

    Result as a new tensor.

  11. def <(other: Output): Output

    Permalink

    $OpDocMathLess

    $OpDocMathLess

    returns

    Result as a new tensor.

  12. def <=(other: Output): Output

    Permalink

    $OpDocMathLessEqual

    $OpDocMathLessEqual

    returns

    Result as a new tensor.

  13. def ==(other: Output): Output

    Permalink

    $OpDocMathEqual

    $OpDocMathEqual

    returns

    Result as a new tensor.

  14. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def >(other: Output): Output

    Permalink

    $OpDocMathGreater

    $OpDocMathGreater

    returns

    Result as a new tensor.

  16. def >=(other: Output): Output

    Permalink

    $OpDocMathGreaterEqual

    $OpDocMathGreaterEqual

    returns

    Result as a new tensor.

  17. def ^(other: Output): Output

    Permalink

    $OpDocMathPow

    $OpDocMathPow

    returns

    Result as a new tensor.

  18. def abs: Output

    Permalink

    $OpDocMathAbs

    $OpDocMathAbs

    returns

    Result as a new tensor.

  19. def acos: Output

    Permalink

    $OpDocMathAcos

    $OpDocMathAcos

    returns

    Result as a new tensor.

  20. def acosh: Output

    Permalink

    $OpDocMathAcosh

    $OpDocMathAcosh

    returns

    Result as a new tensor.

  21. def add(other: Output): Output

    Permalink

    $OpDocMathAdd

    $OpDocMathAdd

    returns

    Result as a new tensor.

  22. def all(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathAll

    $OpDocMathAll

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  23. def angle: Output

    Permalink

    $OpDocMathAngle

    $OpDocMathAngle

    returns

    Result as a new tensor.

  24. def any(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathAny

    $OpDocMathAny

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  25. def approximatelyEqual(other: Output): Output

    Permalink

    $OpDocMathApproximatelyEqual

    $OpDocMathApproximatelyEqual

    returns

    Result as a new tensor.

  26. def argmax(axes: Output = 0, outputDataType: types.DataType = INT64): Output

    Permalink

    $OpDocMathArgmax

    $OpDocMathArgmax

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    outputDataType

    Data type for the output tensor. Must be INT32 or INT64.

    returns

    Result as a new tensor.

  27. def argmin(axes: Output = 0, outputDataType: types.DataType = INT64): Output

    Permalink

    $OpDocMathArgmin

    $OpDocMathArgmin

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    outputDataType

    Data type for the output tensor. Must be INT32 or INT64.

    returns

    Result as a new tensor.

  28. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  29. def asin: Output

    Permalink

    $OpDocMathAsin

    $OpDocMathAsin

    returns

    Result as a new tensor.

  30. def asinh: Output

    Permalink

    $OpDocMathAsinh

    $OpDocMathAsinh

    returns

    Result as a new tensor.

  31. def atan: Output

    Permalink

    $OpDocMathAtan

    $OpDocMathAtan

    returns

    Result as a new tensor.

  32. def atan2(other: Output): Output

    Permalink

    $OpDocMathAtan2

    $OpDocMathAtan2

    returns

    Result as a new tensor.

  33. def atanh: Output

    Permalink

    $OpDocMathAtanh

    $OpDocMathAtanh

    returns

    Result as a new tensor.

  34. def binCount(weights: Output = null, minLength: Output = null, maxLength: Output = null, dataType: types.DataType = INT32): Output

    Permalink

    $OpDocMathBinCount

    $OpDocMathBinCount

    weights

    If not null, this tensor must have the same shape as input. For each value in input, the corresponding bin count will be incremented by the corresponding weight instead of 1.

    minLength

    If not null, this ensures the output has length at least minLength, padding with zeros at the end, if necessary.

    maxLength

    If not null, this skips values in input that are equal or greater than maxLength, ensuring that the output has length at most maxLength.

    dataType

    If weights is null, this determines the data type used for the output tensor (i.e., the tensor containing the bin counts).

    returns

    Result as a new tensor.

  35. def bitcast(dataType: types.DataType): Output

    Permalink

    $OpDocMathBitcast

    $OpDocMathBitcast

    dataType

    Target data type.

    returns

    Result as a new tensor.

  36. def bucketize(boundaries: Seq[Float]): Output

    Permalink

    $OpDocMathBucketize

    $OpDocMathBucketize

    boundaries

    Sorted sequence of Floats specifying the boundaries of the buckets.

    returns

    Result as a new tensor.

  37. def cast(dataType: types.DataType): Output

    Permalink

    $OpDocMathCast

    $OpDocMathCast

    dataType

    Target data type.

    returns

    Result as a new tensor.

  38. def ceil: Output

    Permalink

    $OpDocMathCeil

    $OpDocMathCeil

    returns

    Result as a new tensor.

  39. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def conjugate: Output

    Permalink

    $OpDocMathConjugate

    $OpDocMathConjugate

    returns

    Result as a new tensor.

  41. def cos: Output

    Permalink

    $OpDocMathCos

    $OpDocMathCos

    returns

    Result as a new tensor.

  42. def cosh: Output

    Permalink

    $OpDocMathCosh

    $OpDocMathCosh

    returns

    Result as a new tensor.

  43. def countNonZero(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathCountNonZero

    $OpDocMathCountNonZero

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  44. def cross(other: Output): Output

    Permalink

    $OpDocMathCross

    $OpDocMathCross

    returns

    Result as a new tensor.

  45. def cumprod(axis: Output = 0, exclusive: Boolean = false, reverse: Boolean = false): Output

    Permalink

    $OpDocMathCumprod

    $OpDocMathCumprod

    axis

    INT32 tensor containing the axis along which to perform the cumulative product.

    exclusive

    Boolean value indicating whether to perform an exclusive cumulative product.

    reverse

    Boolean value indicating whether to perform a reverse cumulative product.

    returns

    Result as a new tensor.

  46. def cumsum(axis: Output = 0, exclusive: Boolean = false, reverse: Boolean = false): Output

    Permalink

    $OpDocMathCumsum

    $OpDocMathCumsum

    axis

    INT32 tensor containing the axis along which to perform the cumulative sum.

    exclusive

    Boolean value indicating whether to perform an exclusive cumulative sum.

    reverse

    Boolean value indicating whether to perform a reverse cumulative sum.

    returns

    Result as a new tensor.

  47. def diag: Output

    Permalink

    $OpDocMathDiag

    $OpDocMathDiag

    returns

    Result as a new tensor.

  48. def diagPart: Output

    Permalink

    $OpDocMathDiagPart

    $OpDocMathDiagPart

    returns

    Result as a new tensor.

  49. def digamma: Output

    Permalink

    $OpDocMathDigamma

    $OpDocMathDigamma

    returns

    Result as a new tensor.

  50. def divide(other: Output): Output

    Permalink

    $OpDocMathDivide

    $OpDocMathDivide

    returns

    Result as a new tensor.

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

    Permalink
    Definition Classes
    AnyRef
  52. def equal(other: Output): Output

    Permalink

    $OpDocMathEqual

    $OpDocMathEqual

    returns

    Result as a new tensor.

  53. def erc: Output

    Permalink

    $OpDocMathErfc

    $OpDocMathErfc

    returns

    Result as a new tensor.

  54. def erf: Output

    Permalink

    $OpDocMathErf

    $OpDocMathErf

    returns

    Result as a new tensor.

  55. def exp: Output

    Permalink

    $OpDocMathExp

    $OpDocMathExp

    returns

    Result as a new tensor.

  56. def expm1: Output

    Permalink

    $OpDocMathExpm1

    $OpDocMathExpm1

    returns

    Result as a new tensor.

  57. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  58. def floor: Output

    Permalink

    $OpDocMathFloor

    $OpDocMathFloor

    returns

    Result as a new tensor.

  59. def floorMod(other: Output): Output

    Permalink

    $OpDocMathFloorMod

    $OpDocMathFloorMod

    returns

    Result as a new tensor.

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

    Permalink
    Definition Classes
    AnyRef → Any
  61. def greater(other: Output): Output

    Permalink

    $OpDocMathGreater

    $OpDocMathGreater

    returns

    Result as a new tensor.

  62. def greaterEqual(other: Output): Output

    Permalink

    $OpDocMathGreaterEqual

    $OpDocMathGreaterEqual

    returns

    Result as a new tensor.

  63. def igamma(other: Output): Output

    Permalink

    $OpDocMathIgamma

    $OpDocMathIgamma

    returns

    Result as a new tensor.

  64. def igammac(other: Output): Output

    Permalink

    $OpDocMathIgammac

    $OpDocMathIgammac

    returns

    Result as a new tensor.

  65. def imag: Output

    Permalink

    $OpDocMathImag

    $OpDocMathImag

    returns

    Result as a new tensor.

  66. def isFinite: Output

    Permalink

    $OpDocMathIsFinite

    $OpDocMathIsFinite

    returns

    Result as a new tensor.

  67. def isInf: Output

    Permalink

    $OpDocMathIsInf

    $OpDocMathIsInf

    returns

    Result as a new tensor.

  68. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  69. def isNaN: Output

    Permalink

    $OpDocMathIsNaN

    $OpDocMathIsNaN

    returns

    Result as a new tensor.

  70. def less(other: Output): Output

    Permalink

    $OpDocMathLess

    $OpDocMathLess

    returns

    Result as a new tensor.

  71. def lessEqual(other: Output): Output

    Permalink

    $OpDocMathLessEqual

    $OpDocMathLessEqual

    returns

    Result as a new tensor.

  72. def log: Output

    Permalink

    $OpDocMathLog

    $OpDocMathLog

    returns

    Result as a new tensor.

  73. def log1p: Output

    Permalink

    $OpDocMathLog1p

    $OpDocMathLog1p

    returns

    Result as a new tensor.

  74. def logGamma: Output

    Permalink

    $OpDocMathLogGamma

    $OpDocMathLogGamma

    returns

    Result as a new tensor.

  75. def logSumExp(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathLogSumExp

    $OpDocMathLogSumExp

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  76. def logicalAnd(other: Output): Output

    Permalink

    $OpDocMathLogicalAnd

    $OpDocMathLogicalAnd

    returns

    Result as a new tensor.

  77. def logicalNot: Output

    Permalink

    $OpDocMathLogicalNot

    $OpDocMathLogicalNot

    returns

    Result as a new tensor.

  78. def logicalOr(other: Output): Output

    Permalink

    $OpDocMathLogicalOr

    $OpDocMathLogicalOr

    returns

    Result as a new tensor.

  79. def logicalXOr(other: Output): Output

    Permalink

    $OpDocMathLogicalXOr

    $OpDocMathLogicalXOr

    returns

    Result as a new tensor.

  80. def matmul(other: Output, transposeA: Boolean = false, transposeB: Boolean = false, conjugateA: Boolean = false, conjugateB: Boolean = false, aIsSparse: Boolean = false, bIsSparse: Boolean = false): Output

    Permalink

    $OpDocMathMatmul

    $OpDocMathMatmul

    other

    Output to multiply with, with data type one of: BFLOAT16, FLOAT16, FLOAT32, FLOAT64, INT32, COMPLEX64, COMPLEX128.

    transposeA

    If true, this tensor is transposed before the multiplication.

    transposeB

    If true, other is transposed before the multiplication.

    conjugateA

    If true, this tensor is conjugated before the multiplication.

    conjugateB

    If true, other is conjugated before the multiplication.

    aIsSparse

    If true, this tensor is treated as a sparse matrix (i.e., it is assumed it contains many zeros).

    bIsSparse

    If true, other is treated as a sparse matrix (i.e., it is assumed it contains many zeros).

    returns

    Result as a new tensor.

  81. def matrixBandPart(numSubDiagonals: Output, numSuperDiagonals: Output): Output

    Permalink

    $OpDocMathMatrixBandPart

    $OpDocMathMatrixBandPart

    numSubDiagonals

    Scalar INT64 tensor that contains the number of sub-diagonals to keep. If negative, the entire lower triangle is kept.

    numSuperDiagonals

    Scalar INT64 tensor that contains the number of super-diagonals to keep. If negative, the entire upper triangle is kept.

    returns

    Result as a new tensor containing the expected banded tensor and has rank K and same shape as input.

  82. def matrixDiag: Output

    Permalink

    $OpDocMathMatrixDiag

    $OpDocMathMatrixDiag

    returns

    Result as a new tensor with rank equal to K + 1 and shape equal to the shape of diagonal, with its last dimension duplicated.

  83. def matrixDiagPart: Output

    Permalink

    $OpDocMathMatrixDiagPart

    $OpDocMathMatrixDiagPart

    returns

    Result as a new tensor containing the diagonal(s) and having shape equal to input.shape[:-2] + [min(input.shape[-2:])].

  84. def matrixSetDiag(diagonal: Output): Output

    Permalink

    $OpDocMathMatrixSetDiag

    $OpDocMathMatrixSetDiag

    diagonal

    Rank-K tensor, where K >= 1.

    returns

    Result as a new tensor with rank equal to K + 1 and shape equal to the shape of input.

  85. def max(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathMax

    $OpDocMathMax

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  86. def maximum(other: Output): Output

    Permalink

    $OpDocMathMaximum

    $OpDocMathMaximum

    returns

    Result as a new tensor.

  87. def mean(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathMean

    $OpDocMathMean

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  88. def min(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathMin

    $OpDocMathMin

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  89. def minimum(other: Output): Output

    Permalink

    $OpDocMathMinimum

    $OpDocMathMinimum

    returns

    Result as a new tensor.

  90. def mod(other: Output): Output

    Permalink

    $OpDocMathMod

    $OpDocMathMod

    returns

    Result as a new tensor.

  91. def multiply(other: Output): Output

    Permalink

    $OpDocMathMultiply

    $OpDocMathMultiply

    returns

    Result as a new tensor.

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

    Permalink
    Definition Classes
    AnyRef
  93. def negate: Output

    Permalink

    $OpDocMathNegate

    $OpDocMathNegate

    returns

    Result as a new tensor.

  94. def notEqual(other: Output): Output

    Permalink

    $OpDocMathNotEqual

    $OpDocMathNotEqual

    returns

    Result as a new tensor.

  95. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  97. val output: Output

    Permalink
  98. def polygamma(other: Output): Output

    Permalink

    $OpDocMathPolygamma

    $OpDocMathPolygamma

    returns

    Result as a new tensor.

  99. def pow(other: Output): Output

    Permalink

    $OpDocMathPow

    $OpDocMathPow

    returns

    Result as a new tensor.

  100. def prod(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathProd

    $OpDocMathProd

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

  101. def real: Output

    Permalink

    $OpDocMathReal

    $OpDocMathReal

    returns

    Result as a new tensor.

  102. def realDivide(other: Output): Output

    Permalink

    $OpDocMathRealDivide

    $OpDocMathRealDivide

    returns

    Result as a new tensor.

  103. def reciprocal: Output

    Permalink

    $OpDocMathReciprocal

    $OpDocMathReciprocal

    returns

    Result as a new tensor.

  104. def round: Output

    Permalink

    $OpDocMathRound

    $OpDocMathRound

    returns

    Result as a new tensor.

  105. def roundInt: Output

    Permalink

    $OpDocMathRoundInt

    $OpDocMathRoundInt

    returns

    Result as a new tensor.

  106. def rsqrt: Output

    Permalink

    $OpDocMathRsqrt

    $OpDocMathRsqrt

    returns

    Result as a new tensor.

  107. def segmentMax(segmentIndices: Output): Output

    Permalink

    $OpDocMathSegmentMax

    $OpDocMathSegmentMax

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    returns

    Result as a new tensor.

  108. def segmentMean(segmentIndices: Output): Output

    Permalink

    $OpDocMathSegmentMean

    $OpDocMathSegmentMean

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    returns

    Result as a new tensor.

  109. def segmentMin(segmentIndices: Output): Output

    Permalink

    $OpDocMathSegmentMin

    $OpDocMathSegmentMin

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    returns

    Result as a new tensor.

  110. def segmentProd(segmentIndices: Output): Output

    Permalink

    $OpDocMathSegmentProd

    $OpDocMathSegmentProd

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    returns

    Result as a new tensor.

  111. def segmentSum(segmentIndices: Output): Output

    Permalink

    $OpDocMathSegmentSum

    $OpDocMathSegmentSum

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    returns

    Result as a new tensor.

  112. def sigmoid: Output

    Permalink

    $OpDocMathSigmoid

    $OpDocMathSigmoid

    returns

    Result as a new tensor.

  113. def sign: Output

    Permalink

    $OpDocMathSign

    $OpDocMathSign

    returns

    Result as a new tensor.

  114. def sin: Output

    Permalink

    $OpDocMathSin

    $OpDocMathSin

    returns

    Result as a new tensor.

  115. def sinh: Output

    Permalink

    $OpDocMathSinh

    $OpDocMathSinh

    returns

    Result as a new tensor.

  116. def sparseSegmentMean(indices: Output, segmentIndices: Output, numSegments: Output = null): Output

    Permalink

    $OpDocMathSparseSegmentMean

    $OpDocMathSparseSegmentMean

    indices

    One-dimensional tensor with rank equal to that of segmentIndices.

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    numSegments

    Optional INT32 scalar indicating the size of the output tensor.

    returns

    Result as a new tensor.

  117. def sparseSegmentSum(indices: Output, segmentIndices: Output, numSegments: Output = null): Output

    Permalink

    $OpDocMathSparseSegmentSum

    $OpDocMathSparseSegmentSum

    indices

    One-dimensional tensor with rank equal to that of segmentIndices.

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    numSegments

    Optional INT32 scalar indicating the size of the output tensor.

    returns

    Result as a new tensor.

  118. def sparseSegmentSumSqrtN(indices: Output, segmentIndices: Output, numSegments: Output = null): Output

    Permalink

    $OpDocMathSparseSegmentSumSqrtN

    $OpDocMathSparseSegmentSumSqrtN

    indices

    One-dimensional tensor with rank equal to that of segmentIndices.

    segmentIndices

    Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.

    numSegments

    Optional INT32 scalar indicating the size of the output tensor.

    returns

    Result as a new tensor.

  119. def sqrt: Output

    Permalink

    $OpDocMathSqrt

    $OpDocMathSqrt

    returns

    Result as a new tensor.

  120. def square: Output

    Permalink

    $OpDocMathSquare

    $OpDocMathSquare

    returns

    Result as a new tensor.

  121. def squaredDifference(other: Output): Output

    Permalink

    $OpDocMathSquaredDifference

    $OpDocMathSquaredDifference

    returns

    Result as a new tensor.

  122. def subtract(other: Output): Output

    Permalink

    $OpDocMathSubtract

    $OpDocMathSubtract

    returns

    Result as a new tensor.

  123. def sum(axes: Output = null, keepDims: Boolean = false): Output

    Permalink

    $OpDocMathSum

    $OpDocMathSum

    axes

    Integer tensor containing the axes to reduce. If null, then all axes are reduced.

    keepDims

    If true, retain the reduced axes.

    returns

    Result as a new tensor.

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

    Permalink
    Definition Classes
    AnyRef
  125. def tan: Output

    Permalink

    $OpDocMathTan

    $OpDocMathTan

    returns

    Result as a new tensor.

  126. def tanh: Output

    Permalink

    $OpDocMathTanh

    $OpDocMathTanh

    returns

    Result as a new tensor.

  127. def tensorDot(other: Output, axes: Seq[Int], axesOther: Seq[Int], name: String): Output

    Permalink

    $OpDocMathTensorDot

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    axes

    Axes to contract in this tensor.

    axesOther

    Axes to contract in other.

    name

    Name for the created ops.

    returns

    Created op output.

  128. def tensorDot(other: Output, axes: Seq[Int], axesOther: Seq[Int]): Output

    Permalink

    $OpDocMathTensorDot

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    axes

    Axes to contract in this tensor.

    axesOther

    Axes to contract in other.

    returns

    Created op output.

  129. def tensorDot(other: Output, numAxes: Int, name: String): Output

    Permalink

    $OpDocMathTensorDot

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    numAxes

    Number of axes to contract.

    name

    Name for the created ops.

    returns

    Created op output.

  130. def tensorDot(other: Output, numAxes: Int): Output

    Permalink

    $OpDocMathTensorDot

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    numAxes

    Number of axes to contract.

    returns

    Created op output.

  131. def tensorDotDynamic(other: Output, axes: Output, axesOther: Output, name: String): Output

    Permalink

    Dynamic version (i.e., where axes and axesOther may be symbolic tensors) of the tensorDot op.

    Dynamic version (i.e., where axes and axesOther may be symbolic tensors) of the tensorDot op.

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    axes

    Axes to contract in this tensor.

    axesOther

    Axes to contract in other.

    name

    Name for the created ops.

    returns

    Created op output.

  132. def tensorDotDynamic(other: Output, axes: Output, axesOther: Output): Output

    Permalink

    Dynamic version (i.e., where axes and axesOther may be symbolic tensors) of the tensorDot op.

    Dynamic version (i.e., where axes and axesOther may be symbolic tensors) of the tensorDot op.

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    axes

    Axes to contract in this tensor.

    axesOther

    Axes to contract in other.

    returns

    Created op output.

  133. def tensorDotDynamic(other: Output, numAxes: Output, name: String): Output

    Permalink

    Dynamic version (i.e., where numAxes may be a symbolic tensor) of the tensorDot op.

    Dynamic version (i.e., where numAxes may be a symbolic tensor) of the tensorDot op.

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    numAxes

    Number of axes to contract.

    name

    Name for the created ops.

    returns

    Created op output.

  134. def tensorDotDynamic(other: Output, numAxes: Output): Output

    Permalink

    Dynamic version (i.e., where numAxes may be a symbolic tensor) of the tensorDot op.

    Dynamic version (i.e., where numAxes may be a symbolic tensor) of the tensorDot op.

    $OpDocMathTensorDot

    other

    Tensor to contract with.

    numAxes

    Number of axes to contract.

    returns

    Created op output.

  135. def trace: Output

    Permalink

    $OpDocMathTrace

    $OpDocMathTrace

    returns

    Result as a new tensor.

  136. def truncateDivide(other: Output): Output

    Permalink

    $OpDocMathTruncateDivide

    $OpDocMathTruncateDivide

    returns

    Result as a new tensor.

  137. def truncateMod(other: Output): Output

    Permalink

    $OpDocMathTruncateMod

    $OpDocMathTruncateMod

    returns

    Result as a new tensor.

  138. def unary_!: Output

    Permalink

    $OpDocMathLogicalNot

    $OpDocMathLogicalNot

    returns

    Result as a new tensor.

  139. def unary_-: Output

    Permalink

    $OpDocMathNegate

    $OpDocMathNegate

    returns

    Result as a new tensor.

  140. def unsortedSegmentMax(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentMax

    $OpDocMathUnsortedSegmentMax

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  141. def unsortedSegmentMean(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentMean

    $OpDocMathUnsortedSegmentMean

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  142. def unsortedSegmentMin(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentMin

    $OpDocMathUnsortedSegmentMin

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  143. def unsortedSegmentProd(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentProd

    $OpDocMathUnsortedSegmentProd

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  144. def unsortedSegmentSqrtN(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentSqrtN

    $OpDocMathUnsortedSegmentSqrtN

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  145. def unsortedSegmentSum(segmentIndices: Output, segmentsNumber: Output): Output

    Permalink

    $OpDocMathUnsortedSegmentSum

    $OpDocMathUnsortedSegmentSum

    segmentIndices

    Segment indices (must have data type of INT32 or INT64).

    segmentsNumber

    Number of segments (must have data type of INT32).

    returns

    Result as a new tensor.

  146. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  149. def zerosFraction: Output

    Permalink

    $OpDocMathZerosFraction

    $OpDocMathZerosFraction

    returns

    Result as a new tensor, with FLOAT32 data type.

  150. def zeta(other: Output): Output

    Permalink

    $OpDocMathZeta

    $OpDocMathZeta

    returns

    Result as a new tensor.

  151. def ||(other: Output): Output

    Permalink

    $OpDocMathLogicalOr

    $OpDocMathLogicalOr

    returns

    Result as a new tensor.

Deprecated Value Members

  1. def floorDivide(other: Output): Output

    Permalink

    $OpDocMathFloorDivide

    $OpDocMathFloorDivide

    returns

    Result as a new tensor.

    Annotations
    @deprecated
    Deprecated

    (Since version 0.1) Use truncateDivide instead.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

MathOps

Ungrouped