W3cubDocs

/TensorFlow C++

Math Ops

Summary

Typedefs
Mul typedef
Multiply
Neg typedef
Negate
ReduceAll typedef
All
ReduceAny typedef
Any
ReduceMax typedef
Max
ReduceMean typedef
Mean
ReduceMin typedef
Min
ReduceProd typedef
Prod
ReduceSum typedef
Sum
Sub typedef
Subtract
Classes
tensorflow::ops::Abs

Computes the absolute value of a tensor.

tensorflow::ops::Acos

Computes acos of x element-wise.

tensorflow::ops::Add

Returns x + y element-wise.

tensorflow::ops::AddN

Add all input tensors element wise.

tensorflow::ops::All

Computes the "logical and" of elements across dimensions of a tensor.

tensorflow::ops::Any

Computes the "logical or" of elements across dimensions of a tensor.

tensorflow::ops::ArgMax

Returns the index with the largest value across dimensions of a tensor.

tensorflow::ops::ArgMin

Returns the index with the smallest value across dimensions of a tensor.

tensorflow::ops::Asin

Computes asin of x element-wise.

tensorflow::ops::Atan

Computes atan of x element-wise.

tensorflow::ops::BatchMatMul

Multiplies slices of two tensors in batches.

tensorflow::ops::Betainc

Compute the regularized incomplete beta integral \(I_x(a, b)\).

tensorflow::ops::Cast

Cast x of type SrcT to y of DstT.

tensorflow::ops::Ceil

Returns element-wise smallest integer in not less than x.

tensorflow::ops::Complex

Converts two real numbers to a complex number.

tensorflow::ops::ComplexAbs

Computes the complex absolute value of a tensor.

tensorflow::ops::Conj

Returns the complex conjugate of a complex number.

tensorflow::ops::Cos

Computes cos of x element-wise.

tensorflow::ops::Cross

Compute the pairwise cross product.

tensorflow::ops::Cumprod

Compute the cumulative product of the tensor x along axis.

tensorflow::ops::Cumsum

Compute the cumulative sum of the tensor x along axis.

tensorflow::ops::Digamma

Computes Psi, the derivative of Lgamma (the log of the absolute value of.

tensorflow::ops::Div

Returns x / y element-wise.

tensorflow::ops::Equal

Returns the truth value of (x == y) element-wise.

tensorflow::ops::Erf

Computes the Gauss error function of x element-wise.

tensorflow::ops::Erfc

Computes the complementary error function of x element-wise.

tensorflow::ops::Exp

Computes exponential of x element-wise.

tensorflow::ops::Expm1

Computes exponential of x - 1 element-wise.

tensorflow::ops::FFT

Compute the 1-dimensional discrete Fourier Transform over the inner-most.

tensorflow::ops::FFT2D

Compute the 2-dimensional discrete Fourier Transform over the inner-most.

tensorflow::ops::FFT3D

Compute the 3-dimensional discrete Fourier Transform over the inner-most 3.

tensorflow::ops::Floor

Returns element-wise largest integer not greater than x.

tensorflow::ops::FloorDiv

Returns x // y element-wise.

tensorflow::ops::FloorMod

Returns element-wise remainder of division.

tensorflow::ops::Greater

Returns the truth value of (x > y) element-wise.

tensorflow::ops::GreaterEqual

Returns the truth value of (x >= y) element-wise.

tensorflow::ops::IFFT

Compute the inverse 1-dimensional discrete Fourier Transform over the inner-most.

tensorflow::ops::IFFT2D

Compute the inverse 2-dimensional discrete Fourier Transform over the inner-most.

tensorflow::ops::IFFT3D

Compute the inverse 3-dimensional discrete Fourier Transform over the inner-most.

tensorflow::ops::Igamma

Compute the lower regularized incomplete Gamma function Q(a, x).

tensorflow::ops::Igammac

Compute the upper regularized incomplete Gamma function Q(a, x).

tensorflow::ops::Imag

Returns the imaginary part of a complex number.

tensorflow::ops::IsFinite

Returns which elements of x are finite.

tensorflow::ops::IsInf

Returns which elements of x are Inf.

tensorflow::ops::IsNan

Returns which elements of x are NaN.

tensorflow::ops::Less

Returns the truth value of (x < y) element-wise.

tensorflow::ops::LessEqual

Returns the truth value of (x <= y) element-wise.

tensorflow::ops::Lgamma

Computes the log of the absolute value of Gamma(x) element-wise.

tensorflow::ops::LinSpace

Generates values in an interval.

tensorflow::ops::Log

Computes natural logarithm of x element-wise.

tensorflow::ops::Log1p

Computes natural logarithm of (1 + x) element-wise.

tensorflow::ops::LogicalAnd

Returns the truth value of x AND y element-wise.

tensorflow::ops::LogicalNot

Returns the truth value of NOT x element-wise.

tensorflow::ops::LogicalOr

Returns the truth value of x OR y element-wise.

tensorflow::ops::MatMul

Multiply the matrix "a" by the matrix "b".

tensorflow::ops::Max

Computes the maximum of elements across dimensions of a tensor.

tensorflow::ops::Maximum

Returns the max of x and y (i.e.

tensorflow::ops::Mean

Computes the mean of elements across dimensions of a tensor.

tensorflow::ops::Min

Computes the minimum of elements across dimensions of a tensor.

tensorflow::ops::Minimum

Returns the min of x and y (i.e.

tensorflow::ops::Mod

Returns element-wise remainder of division.

tensorflow::ops::Multiply

Returns x * y element-wise.

tensorflow::ops::Negate

Computes numerical negative value element-wise.

tensorflow::ops::NotEqual

Returns the truth value of (x != y) element-wise.

tensorflow::ops::Polygamma

Compute the polygamma function \(^{(n)}(x)\).

tensorflow::ops::Pow

Computes the power of one value to another.

tensorflow::ops::Prod

Computes the product of elements across dimensions of a tensor.

tensorflow::ops::QuantizeDownAndShrinkRange

Convert the quantized 'input' tensor into a lower-precision 'output', using the.

tensorflow::ops::QuantizedMatMul

Perform a quantized matrix multiplication of a by the matrix b.

tensorflow::ops::Range

Creates a sequence of numbers.

tensorflow::ops::Real

Returns the real part of a complex number.

tensorflow::ops::RealDiv

Returns x / y element-wise for real types.

tensorflow::ops::Reciprocal

Computes the reciprocal of x element-wise.

tensorflow::ops::RequantizationRange

Given a quantized tensor described by (input, input_min, input_max), outputs a.

tensorflow::ops::Requantize

Convert the quantized 'input' tensor into a lower-precision 'output', using the.

tensorflow::ops::Rint

Returns element-wise integer closest to x.

tensorflow::ops::Round

Rounds the values of a tensor to the nearest integer, element-wise.

tensorflow::ops::Rsqrt

Computes reciprocal of square root of x element-wise.

tensorflow::ops::SegmentMax

Computes the maximum along segments of a tensor.

tensorflow::ops::SegmentMean

Computes the mean along segments of a tensor.

tensorflow::ops::SegmentMin

Computes the minimum along segments of a tensor.

tensorflow::ops::SegmentProd

Computes the product along segments of a tensor.

tensorflow::ops::SegmentSum

Computes the sum along segments of a tensor.

tensorflow::ops::Sigmoid

Computes sigmoid of x element-wise.

tensorflow::ops::Sign

Returns an element-wise indication of the sign of a number.

tensorflow::ops::Sin

Computes sin of x element-wise.

tensorflow::ops::SparseMatMul

Multiply matrix "a" by matrix "b".

tensorflow::ops::SparseSegmentMean

Computes the mean along sparse segments of a tensor.

tensorflow::ops::SparseSegmentMeanGrad

Computes gradients for SparseSegmentMean.

tensorflow::ops::SparseSegmentSqrtN

Computes the sum along sparse segments of a tensor divided by the sqrt of N.

tensorflow::ops::SparseSegmentSqrtNGrad

Computes gradients for SparseSegmentSqrtN.

tensorflow::ops::SparseSegmentSum

Computes the sum along sparse segments of a tensor.

tensorflow::ops::Sqrt

Computes square root of x element-wise.

tensorflow::ops::Square

Computes square of x element-wise.

tensorflow::ops::SquaredDifference

Returns (x - y)(x - y) element-wise.

tensorflow::ops::Subtract

Returns x - y element-wise.

tensorflow::ops::Sum

Computes the sum of elements across dimensions of a tensor.

tensorflow::ops::Tan

Computes tan of x element-wise.

tensorflow::ops::Tanh

Computes hyperbolic tangent of x element-wise.

tensorflow::ops::TruncateDiv

Returns x / y element-wise for integer types.

tensorflow::ops::TruncateMod

Returns element-wise remainder of division.

tensorflow::ops::UnsortedSegmentSum

Computes the sum along segments of a tensor.

tensorflow::ops::Where3

Selects elements from x or y, depending on condition.

tensorflow::ops::Zeta

Compute the Hurwitz zeta function \((x, q)\).

Typedefs

Mul

Multiply Mul

Neg

Negate Neg

ReduceAll

All ReduceAll

ReduceAny

Any ReduceAny

ReduceMax

Max ReduceMax

ReduceMean

Mean ReduceMean

ReduceMin

Min ReduceMin

ReduceProd

Prod ReduceProd

ReduceSum

Sum ReduceSum

Sub

Subtract Sub

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/group/math-ops