org.tensorflow.op.math

Stay organized with collections Save and categorize content based on your preferences.

Classes

Abs<T extends TNumber> Computes the absolute value of a tensor. 
AccumulateN<T extends TType> Returns the element-wise sum of a list of tensors. 
Acos<T extends TType> Computes acos of x element-wise. 
Acosh<T extends TType> Computes inverse hyperbolic cosine of x element-wise. 
Add<T extends TType> Returns x + y element-wise. 
AddN<T extends TType> Add all input tensors element wise. 
Angle<U extends TNumber> Returns the argument of a complex number. 
ApproximateEqual Returns the truth value of abs(x-y) < tolerance element-wise. 
ApproximateEqual.Options Optional attributes for ApproximateEqual  
ArgMax<V extends TNumber> Returns the index with the largest value across dimensions of a tensor. 
ArgMin<V extends TNumber> Returns the index with the smallest value across dimensions of a tensor. 
Asin<T extends TType> Computes the trignometric inverse sine of x element-wise. 
Asinh<T extends TType> Computes inverse hyperbolic sine of x element-wise. 
Atan<T extends TType> Computes the trignometric inverse tangent of x element-wise. 
Atan2<T extends TNumber> Computes arctangent of `y/x` element-wise, respecting signs of the arguments. 
Atanh<T extends TType> Computes inverse hyperbolic tangent of x element-wise. 
BesselI0<T extends TNumber>  
BesselI0e<T extends TNumber>  
BesselI1<T extends TNumber>  
BesselI1e<T extends TNumber>  
Betainc<T extends TNumber> Compute the regularized incomplete beta integral \\(I_x(a, b)\\). 
Bincount<T extends TNumber> Counts the number of occurrences of each value in an integer array. 
Ceil<T extends TNumber> Returns element-wise smallest integer not less than x. 
CompareAndBitpack Compare values of `input` to `threshold` and pack resulting bits into a `uint8`. 
ComplexAbs<U extends TNumber> Computes the complex absolute value of a tensor. 
Conj<T extends TType> Returns the complex conjugate of a complex number. 
Cos<T extends TType> Computes cos of x element-wise. 
Cosh<T extends TType> Computes hyperbolic cosine of x element-wise. 
Cumprod<T extends TType> Compute the cumulative product of the tensor `x` along `axis`. 
Cumprod.Options Optional attributes for Cumprod  
Cumsum<T extends TType> Compute the cumulative sum of the tensor `x` along `axis`. 
Cumsum.Options Optional attributes for Cumsum  
CumulativeLogsumexp<T extends TNumber> Compute the cumulative product of the tensor `x` along `axis`. 
CumulativeLogsumexp.Options Optional attributes for CumulativeLogsumexp  
DenseBincount<U extends TNumber> Counts the number of occurrences of each value in an integer array. 
DenseBincount.Options Optional attributes for DenseBincount  
Digamma<T extends TNumber> Computes Psi, the derivative of Lgamma (the log of the absolute value of

`Gamma(x)`), element-wise. 

Div<T extends TType> Returns x / y element-wise. 
DivNoNan<T extends TType> Returns 0 if the denominator is zero. 
Equal Returns the truth value of (x == y) element-wise. 
Equal.Options Optional attributes for Equal  
Erf<T extends TNumber> Computes the Gauss error function of `x` element-wise. 
Erfc<T extends TNumber> Computes the complementary error function of `x` element-wise. 
erfinv<T extends TNumber>  
Exp<T extends TType> Computes exponential of x element-wise. 
Expm1<T extends TType> Computes `exp(x) - 1` element-wise. 
Fact Output a fact about factorials. 
Floor<T extends TNumber> Returns element-wise largest integer not greater than x. 
FloorDiv<T extends TType> Returns x // y element-wise. 
FloorMod<T extends TNumber> Returns element-wise remainder of division. 
Greater Returns the truth value of (x > y) element-wise. 
GreaterEqual Returns the truth value of (x >= y) element-wise. 
Igamma<T extends TNumber> Compute the lower regularized incomplete Gamma function `P(a, x)`. 
Igammac<T extends TNumber> Compute the upper regularized incomplete Gamma function `Q(a, x)`. 
IgammaGradA<T extends TNumber> Computes the gradient of `igamma(a, x)` wrt `a`. 
Imag<U extends TNumber> Returns the imaginary part of a complex number. 
InvertPermutation<T extends TNumber> Computes the inverse permutation of a tensor. 
IsFinite Returns which elements of x are finite. 
IsInf Returns which elements of x are Inf. 
IsNan Returns which elements of x are NaN. 
Less Returns the truth value of (x < y) element-wise. 
LessEqual Returns the truth value of (x <= y) element-wise. 
Lgamma<T extends TNumber> Computes the log of the absolute value of `Gamma(x)` element-wise. 
Log<T extends TType> Computes natural logarithm of x element-wise. 
Log1p<T extends TType> Computes natural logarithm of (1 + x) element-wise. 
LogicalAnd Returns the truth value of x AND y element-wise. 
LogicalNot Returns the truth value of `NOT x` element-wise. 
LogicalOr Returns the truth value of x OR y element-wise. 
Maximum<T extends TNumber> Returns the max of x and y (i.e. 
Mean<T extends TType> Computes the mean of elements across dimensions of a tensor. 
Mean.Options Optional attributes for Mean  
Minimum<T extends TNumber> Returns the min of x and y (i.e. 
Mod<T extends TNumber> Returns element-wise remainder of division. 
Mul<T extends TType> Returns x * y element-wise. 
MulNoNan<T extends TType> Returns x * y element-wise. 
Ndtri<T extends TNumber>  
Neg<T extends TType> Computes numerical negative value element-wise. 
NextAfter<T extends TNumber> Returns the next representable value of `x1` in the direction of `x2`, element-wise. 
NotEqual Returns the truth value of (x != y) element-wise. 
NotEqual.Options Optional attributes for NotEqual  
Polygamma<T extends TNumber> Compute the polygamma function \\(\psi^{(n)}(x)\\). 
PopulationCount Computes element-wise population count (a.k.a. 
Pow<T extends TType> Computes the power of one value to another. 
QuantizedAdd<V extends TType> Returns x + y element-wise, working on quantized buffers. 
QuantizedMul<V extends TType> Returns x * y element-wise, working on quantized buffers. 
Real<U extends TNumber> Returns the real part of a complex number. 
RealDiv<T extends TType> Returns x / y element-wise for real types. 
Reciprocal<T extends TType> Computes the reciprocal of x element-wise. 
ReciprocalGrad<T extends TType> Computes the gradient for the inverse of `x` wrt its input. 
RequantizationRangePerChannel Computes requantization range per channel. 
RequantizePerChannel<U extends TType> Requantizes input with min and max values known per channel. 
Rint<T extends TNumber> Returns element-wise integer closest to x. 
Round<T extends TType> Rounds the values of a tensor to the nearest integer, element-wise. 
Rsqrt<T extends TType> Computes reciprocal of square root of x element-wise. 
RsqrtGrad<T extends TType> Computes the gradient for the rsqrt of `x` wrt its input. 
SegmentMax<T extends TNumber> Computes the maximum along segments of a tensor. 
SegmentMean<T extends TType> Computes the mean along segments of a tensor. 
SegmentMin<T extends TNumber> Computes the minimum along segments of a tensor. 
SegmentProd<T extends TType> Computes the product along segments of a tensor. 
SegmentSum<T extends TType> Computes the sum along segments of a tensor. 
Sigmoid<T extends TType> Computes sigmoid of `x` element-wise. 
SigmoidGrad<T extends TType> Computes the gradient of the sigmoid of `x` wrt its input. 
Sign<T extends TType> Returns an element-wise indication of the sign of a number. 
Sin<T extends TType> Computes sine of x element-wise. 
Sinh<T extends TType> Computes hyperbolic sine of x element-wise. 
SobolSample<T extends TNumber> Generates points from the Sobol sequence. 
Softplus<T extends TNumber> Computes softplus: `log(exp(features) + 1)`. 
SoftplusGrad<T extends TNumber> Computes softplus gradients for a softplus operation. 
Sqrt<T extends TType> Computes square root of x element-wise. 
SqrtGrad<T extends TType> Computes the gradient for the sqrt of `x` wrt its input. 
Square<T extends TType> Computes square of x element-wise. 
SquaredDifference<T extends TType> Returns conj(x - y)(x - y) element-wise. 
Sub<T extends TType> Returns x - y element-wise. 
Tan<T extends TType> Computes tan of x element-wise. 
Tanh<T extends TType> Computes hyperbolic tangent of `x` element-wise. 
TanhGrad<T extends TType> Computes the gradient for the tanh of `x` wrt its input. 
TruncateDiv<T extends TType> Returns x / y element-wise for integer types. 
TruncateMod<T extends TNumber> Returns element-wise remainder of division. 
UnsortedSegmentMax<T extends TNumber> Computes the maximum along segments of a tensor. 
UnsortedSegmentMin<T extends TNumber> Computes the minimum along segments of a tensor. 
UnsortedSegmentProd<T extends TType> Computes the product along segments of a tensor. 
UnsortedSegmentSum<T extends TType> Computes the sum along segments of a tensor. 
Xdivy<T extends TType> Returns 0 if x == 0, and x / y otherwise, elementwise. 
Xlog1py<T extends TType> Returns 0 if x == 0, and x * log1p(y) otherwise, elementwise. 
Xlogy<T extends TType> Returns 0 if x == 0, and x * log(y) otherwise, elementwise. 
Zeta<T extends TNumber> Compute the Hurwitz zeta function \\(\zeta(x, q)\\).