$OpDocMathAbs
$OpDocMathAbs
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAccumulateN
$OpDocMathAccumulateN
Input tensors.
Shape of the elements of inputs
(in case it's not known statically and needs to be retained).
Created op name.
Created op output.
InvalidArgumentException
If any of the inputs has a different data type and/or shape than the rest.
$OpDocMathAcos
$OpDocMathAcos
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAcosh
$OpDocMathAcosh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAdd
$OpDocMathAdd
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, COMPLEX128
, or STRING
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, COMPLEX128
, or STRING
.
Name for the created op.
Created op output.
$OpDocMathAddN
$OpDocMathAddN
Input tensors.
Created op name.
Created op output.
$OpDocMathAll
$OpDocMathAll
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathAngle
$OpDocMathAngle
Input tensor.
Name for the created op.
Created op output.
IllegalArgumentException
If the provided tensor is not numeric.
$OpDocMathAny
$OpDocMathAny
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathApproximatelyEqual
$OpDocMathApproximatelyEqual
First input tensor.
Second input tensor.
Comparison tolerance value.
Name for the created op.
Created op output.
$OpDocMathArgmax
$OpDocMathArgmax
Input tensor.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
Data type for the output tensor. Must be INT32
or INT64
.
Name for the created op.
Created op output.
$OpDocMathArgmin
$OpDocMathArgmin
Input tensor.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
Name for the created op.
Created op output.
$OpDocMathAsin
$OpDocMathAsin
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAsinh
$OpDocMathAsinh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAtan
$OpDocMathAtan
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathAtan2
$OpDocMathAtan2
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathAtanh
$OpDocMathAtanh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathBinCount
$OpDocMathBinCount
INT32 tensor containing non-negative values.
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
.
If not null
, this ensures the output has length at least minLength
, padding with zeros at
the end, if necessary.
If not null
, this skips values in input
that are equal or greater than maxLength
, ensuring
that the output has length at most maxLength
.
If weights
is null
, this determines the data type used for the output tensor (i.e., the
tensor containing the bin counts).
Name for the created op.
Created op output.
$OpDocMathBucketize
$OpDocMathBucketize
Numeric tensor to bucketize.
Sorted sequence of Float
s specifying the boundaries of the buckets.
Name for the created op.
Created op output.
$OpDocMathCeil
$OpDocMathCeil
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathComplex
$OpDocMathComplex
Tensor containing the real component. Must have FLOAT32 or FLOAT64 data type.
Tensor containing the imaginary component. Must have FLOAT32 or FLOAT64 data type.
Name for the created op.
Created op output with data type being either COMPLEX64 or COMPLEX128.
$OpDocMathConjugate
$OpDocMathConjugate
Input tensor.
Name for the created op.
Created op output.
IllegalArgumentException
If the provided tensor is not numeric.
$OpDocMathCos
$OpDocMathCos
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathCosh
$OpDocMathCosh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathCountNonZero
$OpDocMathCountNonZero
Input tensor to reduce.
Integer array containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output with INT64
data type.
$OpDocMathCountNonZero
$OpDocMathCountNonZero
Input tensor for which to count the number of non-zero entries.
Name for the created op.
Created op output with INT64
data type.
$OpDocMathCross
$OpDocMathCross
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathCumprod
$OpDocMathCumprod
Input tensor.
INT32
tensor containing the axis along which to perform the cumulative product.
Boolean value indicating whether to perform an exclusive cumulative product.
Boolean value indicating whether to perform a reverse cumulative product.
Name for the created op.
Created op output.
$OpDocMathCumsum
$OpDocMathCumsum
Input tensor.
INT32 tensor containing the axis along which to perform the cumulative sum.
Boolean value indicating whether to perform an exclusive cumulative sum.
Boolean value indicating whether to perform a reverse cumulative sum.
Name for the created op.
Created op output.
$OpDocMathDiag
$OpDocMathDiag
Diagonal values, represented as a rank-K
tensor, where K
can be at most 3
.
Name for the created op.
Created op output.
$OpDocMathDiagPart
$OpDocMathDiagPart
Rank-K
input tensor, where K
is either 2
, 4
, or 6
.
Name for the created op.
Created op output.
$OpDocMathDigamma
$OpDocMathDigamma
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathDivide
$OpDocMathDivide
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathEqual
$OpDocMathEqual
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathErf
$OpDocMathErf
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathErfc
$OpDocMathErfc
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathExp
$OpDocMathExp
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathExpm1
$OpDocMathExpm1
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathFloor
$OpDocMathFloor
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathFloorMod
$OpDocMathFloorMod
First input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Second input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Name for the created op.
Created op output.
OpDocMathGreater
OpDocMathGreater
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
OpDocMathGreaterEqual
OpDocMathGreaterEqual
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathIgamma
$OpDocMathIgamma
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathIgammac
$OpDocMathIgammac
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathImag
$OpDocMathImag
Input tensor.
Name for the created op.
Created op output.
$OpDocMathIncompleteBeta
$OpDocMathIncompleteBeta
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Third input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathIsFinite
$OpDocMathIsFinite
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathIsInf
$OpDocMathIsInf
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathIsNaN
$OpDocMathIsNaN
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
OpDocMathLess
OpDocMathLess
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
OpDocMathLessEqual
OpDocMathLessEqual
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathLinspace
$OpDocMathLinspace
Rank 0 (i.e., scalar) tensor that contains the starting value of the number sequence.
Rank 0 (i.e., scalar) tensor that contains the ending value (inclusive) of the number sequence.
Rank 0 (i.e., scalar) tensor that contains the number of values in the number sequence.
Name for the created op.
Created op output.
$OpDocMathLog
$OpDocMathLog
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathLog1p
$OpDocMathLog1p
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathLogGamma
$OpDocMathLogGamma
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathLogSigmoid
$OpDocMathLogSigmoid
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathLogSumExp
$OpDocMathLogSumExp
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathLogicalAnd
$OpDocMathLogicalAnd
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathLogicalNot
$OpDocMathLogicalNot
Input tensor.
Name for the created op.
Created op output.
$OpDocMathLogicalOr
$OpDocMathLogicalOr
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathLogicalXOr
$OpDocMathLogicalXOr
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathMatmul
$OpDocMathMatmul
First input tensor with data type one of: BFLOAT16
, FLOAT16
, FLOAT32
, FLOAT64
,
INT32
, COMPLEX64
, COMPLEX128
.
Second input tensor with data type one of: BFLOAT16
, FLOAT16
, FLOAT32
, FLOAT64
,
INT32
, COMPLEX64
, COMPLEX128
.
If true
, a
is transposed before the multiplication.
If true
, b
is transposed before the multiplication.
If true
, a
is conjugated before the multiplication.
If true
, b
is conjugated before the multiplication.
If true
, a
is treated as a sparse matrix (i.e., it is assumed it contains many zeros).
If true
, b
is treated as a sparse matrix (i.e., it is assumed it contains many zeros).
Name for the created op.
Created op output that has the same data type as a
and b
and where each inner-most matrix is the
product of the corresponding matrices in a
and b
.
$OpDocMathMatrixBandPart
$OpDocMathMatrixBandPart
Input tensor.
Scalar INT64
tensor that contains the number of sub-diagonals to keep. If negative,
the entire lower triangle is kept.
Scalar INT64
tensor that contains the number of super-diagonals to keep. If negative,
the entire upper triangle is kept.
Name for the created op.
$OpDocMathMatrixDiag
$OpDocMathMatrixDiag
Rank-K
input tensor, where K >= 1
.
Name for the created op.
Created op output with rank equal to K + 1
and shape equal to the shape of diagonal
, with its last
dimension duplicated.
$OpDocMathMatrixDiagPart
$OpDocMathMatrixDiagPart
Rank-K
tensor, where K >= 2
.
Name for the created op.
Created op output containing the diagonal(s) and having shape equal to
input.shape[:-2] + [min(input.shape[-2:])]
.
$OpDocMathMatrixSetDiag
$OpDocMathMatrixSetDiag
Rank-K+1
tensor, where K >= 2
.
Rank-K
tensor, where K >= 1
.
Name for the created op.
Created op output with rank equal to K + 1
and shape equal to the shape of input
.
$OpDocMathMax
$OpDocMathMax
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathMaximum
$OpDocMathMaximum
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
or INT64
.
Name for the created op.
Created op output.
$OpDocMathMean
$OpDocMathMean
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathMin
$OpDocMathMin
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathMinimum
$OpDocMathMinimum
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
or INT64
.
Name for the created op.
Created op output.
$OpDocMathMod
$OpDocMathMod
First input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Second input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Name for the created op.
Created op output.
$OpDocMathMultiply
$OpDocMathMultiply
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathNegate
$OpDocMathNegate
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathNotEqual
$OpDocMathNotEqual
First input tensor.
Second input tensor.
Name for the created op.
Created op output.
$OpDocMathPolygamma
$OpDocMathPolygamma
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathPow
$OpDocMathPow
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathProd
$OpDocMathProd
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathRange
$OpDocMathRange
Rank 0 (i.e., scalar) tensor that contains the starting value of the number sequence.
Rank 0 (i.e., scalar) tensor that contains the ending value (exclusive) of the number sequence.
Rank 0 (i.e., scalar) tensor that contains the difference between consecutive numbers in the sequence.
Name for the created op.
Created op output.
$OpDocMathReal
$OpDocMathReal
Input tensor.
Name for the created op.
Created op output.
$OpDocMathRealDivide
$OpDocMathRealDivide
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathReciprocal
$OpDocMathReciprocal
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathRound
$OpDocMathRound
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, COMPLEX64
, or
COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathRoundInt
$OpDocMathRoundInt
Input tensor that must be one of the following types: HALF
, FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathRsqrt
$OpDocMathRsqrt
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathScalarMul
$OpDocMathScalarMul
Scalar tensor.
Tensor to multiply the scalar tensor with.
Name for the created op.
Created op output.
$OpDocMathSegmentMax
$OpDocMathSegmentMean
$OpDocMathSegmentMin
$OpDocMathSegmentProd
$OpDocMathSegmentSum
$OpDocMathSelect
$OpDocMathSelect
Boolean condition tensor.
Tensor which may have the same shape as condition
. If condition
has rank 1
, then t
may
have a higher rank, but its first dimension must match the size of condition
.
Tensor with the same data type and shape as t
.
Name for the created op.
Created op output.
$OpDocMathSigmoid
$OpDocMathSigmoid
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSign
$OpDocMathSign
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSin
$OpDocMathSin
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSinh
$OpDocMathSinh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSparseSegmentMean
$OpDocMathSparseSegmentMean
Data (must have a numeric data type -- i.e., representing a number).
One-dimensional tensor with rank equal to that of segmentIndices
.
Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.
Optional INT32
scalar indicating the size of the output tensor.
Name for the created op.
Created op output.
$OpDocMathSparseSegmentSum
$OpDocMathSparseSegmentSum
Data (must have a numeric data type -- i.e., representing a number).
One-dimensional tensor with rank equal to that of segmentIndices
.
Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.
Optional INT32
scalar indicating the size of the output tensor.
Name for the created op.
Created op output.
$OpDocMathSparseSegmentSumSqrtN
$OpDocMathSparseSegmentSumSqrtN
Data (must have a numeric data type -- i.e., representing a number).
One-dimensional tensor with rank equal to that of segmentIndices
.
Segment indices (must have data type of INT32 or INT64). Values should be sorted and can be repeated.
Optional INT32
scalar indicating the size of the output tensor.
Name for the created op.
Created op output.
$OpDocMathSqrt
$OpDocMathSqrt
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSquare
$OpDocMathSquare
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSquaredDifference
$OpDocMathSquaredDifference
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSubtract
$OpDocMathSubtract
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
,
INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathSum
$OpDocMathSum
Input tensor to reduce.
Integer tensor containing the axes to reduce. If null
, then all axes are reduced.
If true
, retain the reduced axes.
Name for the created op.
Created op output.
$OpDocMathTan
$OpDocMathTan
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathTanh
$OpDocMathTanh
Input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, INT32
, INT64
,
COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathTensorDot
$OpDocMathTensorDot
First tensor.
Second tensor.
Axes to contract in a
.
Axes to contract in b
.
Name for the created ops.
Created op output.
$OpDocMathTensorDot
$OpDocMathTensorDot
First tensor.
Second tensor.
Axes to contract in a
.
Axes to contract in b
.
Created op output.
$OpDocMathTensorDot
$OpDocMathTensorDot
First tensor.
Second tensor.
Number of axes to contract.
Name for the created ops.
Created op output.
$OpDocMathTensorDot
$OpDocMathTensorDot
First tensor.
Second tensor.
Number of axes to contract.
Created op output.
Dynamic version (i.e., where axesA
and axesB
may be symbolic tensors) of the tensorDot
op.
Dynamic version (i.e., where axesA
and axesB
may be symbolic tensors) of the tensorDot
op.
$OpDocMathTensorDot
First tensor.
Second tensor.
Axes to contract in a
.
Axes to contract in b
.
Name for the created ops.
Created op output.
Dynamic version (i.e., where axesA
and axesB
may be symbolic tensors) of the tensorDot
op.
Dynamic version (i.e., where axesA
and axesB
may be symbolic tensors) of the tensorDot
op.
$OpDocMathTensorDot
First tensor.
Second tensor.
Axes to contract in a
.
Axes to contract in b
.
Created op output.
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
First tensor.
Second tensor.
Number of axes to contract.
Name for the created ops.
Created op output.
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
First tensor.
Second tensor.
Number of axes to contract.
Created op output.
$OpDocMathTrace
$OpDocMathTrace
Input tensor.
Name for the created op.
Created op output.
$OpDocMathTruncateDivide
$OpDocMathTruncateDivide
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
$OpDocMathTruncateMod
$OpDocMathTruncateMod
First input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Second input tensor that must be one of the following types: FLOAT32
, FLOAT64
, INT32
, or
INT64
.
Name for the created op.
Created op output.
$OpDocMathUnsortedSegmentMax
$OpDocMathUnsortedSegmentMax
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
$OpDocMathUnsortedSegmentMean
$OpDocMathUnsortedSegmentMean
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
$OpDocMathUnsortedSegmentMin
$OpDocMathUnsortedSegmentMin
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
Helper function for unsortedSegmentMean
and unsortedSegmentSqrtN
that computes the number of segment entries
with zero entries set to 1
, in order to allow for division by N
.
Helper function for unsortedSegmentMean
and unsortedSegmentSqrtN
that computes the number of segment entries
with zero entries set to 1
, in order to allow for division by N
.
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Created op output.
$OpDocMathUnsortedSegmentProd
$OpDocMathUnsortedSegmentProd
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
$OpDocMathUnsortedSegmentSqrtN
$OpDocMathUnsortedSegmentSqrtN
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
$OpDocMathUnsortedSegmentSum
$OpDocMathUnsortedSegmentSum
Data (must have a numeric data type -- i.e., representing a number).
Number of segments (must have data type of INT32).
Name for the created op.
Created op output.
$OpDocMathZerosFraction
$OpDocMathZerosFraction
Input tensor.
Name for the created op.
Created op output, with FLOAT32
data type.
$OpDocMathZeta
$OpDocMathZeta
First input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Second input tensor that must be one of the following types: FLOAT32
, or FLOAT64
.
Name for the created op.
Created op output.
$OpDocMathFloorDivide
$OpDocMathFloorDivide
First input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Second input tensor that must be one of the following types: HALF
, FLOAT32
, FLOAT64
, UINT8
,
INT8
, INT16
, INT32
, INT64
, COMPLEX64
, or COMPLEX128
.
Name for the created op.
Created op output.
(Since version 0.1) Use truncateDivide
instead.