Module: tf.math

Defined in tensorflow/math/__init__.py.

Basic arithmetic operators.

See the Math guide.

Functions

acos(...): Computes acos of x element-wise.

acosh(...): Computes inverse hyperbolic cosine of x element-wise.

add(...): Returns x + y element-wise.

asin(...): Computes asin of x element-wise.

asinh(...): Computes inverse hyperbolic sine of x element-wise.

atan(...): Computes atan of x element-wise.

atan2(...): Computes arctangent of y/x element-wise, respecting signs of the arguments.

atanh(...): Computes inverse hyperbolic tangent of x element-wise.

bessel_i0(...): Computes the Bessel i0 function of x element-wise.

bessel_i0e(...): Computes the Bessel i0e function of x element-wise.

bessel_i1(...): Computes the Bessel i1 function of x element-wise.

bessel_i1e(...): Computes the Bessel i1e function of x element-wise.

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

ceil(...): Returns element-wise smallest integer in not less than x.

cos(...): Computes cos of x element-wise.

cosh(...): Computes hyperbolic cosine of x element-wise.

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

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

erfc(...): Computes the complementary error function of x element-wise.

exp(...): Computes exponential of x element-wise. \(y = e^x\).

expm1(...): Computes exponential of x - 1 element-wise.

floor(...): Returns element-wise largest integer not greater than x.

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

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

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

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

invert_permutation(...): Computes the inverse permutation of a tensor.

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

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

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

log(...): Computes natural logarithm of x element-wise.

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

logical_and(...): Returns the truth value of x AND y element-wise.

logical_not(...): Returns the truth value of NOT x element-wise.

logical_or(...): Returns the truth value of x OR y element-wise.

maximum(...): Returns the max of x and y (i.e. x > y ? x : y) element-wise.

minimum(...): Returns the min of x and y (i.e. x < y ? x : y) element-wise.

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

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

polyval(...): Computes the elementwise value of a polynomial.

reciprocal(...): Computes the reciprocal of x element-wise.

rint(...): Returns element-wise integer closest to x.

rsqrt(...): Computes reciprocal of square root of x element-wise.

segment_max(...): Computes the maximum along segments of a tensor.

segment_mean(...): Computes the mean along segments of a tensor.

segment_min(...): Computes the minimum along segments of a tensor.

segment_prod(...): Computes the product along segments of a tensor.

segment_sum(...): Computes the sum along segments of a tensor.

sin(...): Computes sin of x element-wise.

sinh(...): Computes hyperbolic sine of x element-wise.

softplus(...): Computes softplus: log(exp(features) + 1).

softsign(...): Computes softsign: features / (abs(features) + 1).

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

tan(...): Computes tan of x element-wise.

unsorted_segment_max(...): Computes the maximum along segments of a tensor.

unsorted_segment_min(...): Computes the minimum along segments of a tensor.

unsorted_segment_prod(...): Computes the product along segments of a tensor.

unsorted_segment_sum(...): Computes the sum along segments of a tensor.

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