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::AccumulateNV2

Returns the element-wise sum of a list of tensors.

tensorflow::ops::Acos

Computes acos of x element-wise.

tensorflow::ops::Acosh

Computes inverse hyperbolic cosine 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::Angle

Returns the argument of a complex number.

tensorflow::ops::Any

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

tensorflow::ops::ApproximateEqual

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

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::Asinh

Computes inverse hyperbolic sine of x element-wise.

tensorflow::ops::Atan

Computes atan of x element-wise.

tensorflow::ops::Atan2

Computes arctangent of y/x element-wise, respecting signs of the arguments.

tensorflow::ops::Atanh

Computes inverse hyperbolic tangent 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::Bincount

Counts the number of occurrences of each value in an integer array.

tensorflow::ops::Bucketize

Bucketizes 'input' based on 'boundaries'.

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::CompareAndBitpack

Compare values of input to threshold and pack resulting bits into a uint8.

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::Cosh

Computes hyperbolic cosine 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::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::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::QuantizedAdd

Returns x + y element-wise, working on quantized buffers.

tensorflow::ops::QuantizedMatMul

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

tensorflow::ops::QuantizedMul

Returns x * y element-wise, working on quantized buffers.

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::Sinh

Computes hyperbolic sine 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::UnsortedSegmentMax

Computes the Max along segments of a tensor.

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