mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 00:20:20 +01:00
Fix docs for tf.abs() and tf.pow().
PiperOrigin-RevId: 157528475
This commit is contained in:
parent
dd5ad69177
commit
abd4aa49a7
|
|
@ -211,7 +211,7 @@ def abs(x, name=None):
|
|||
Given a tensor of real numbers `x`, this operation returns a tensor
|
||||
containing the absolute value of each element in `x`. For example, if x is
|
||||
an input element and y is an output element, this operation computes
|
||||
\\\\(y = |x|\\\\).
|
||||
\\(y = |x|\\).
|
||||
|
||||
Args:
|
||||
x: A `Tensor` or `SparseTensor` of type `float32`, `float64`, `int32`, or
|
||||
|
|
@ -494,7 +494,7 @@ def scalar_mul(scalar, x):
|
|||
def pow(x, y, name=None):
|
||||
r"""Computes the power of one value to another.
|
||||
|
||||
Given a tensor `x` and a tensor `y`, this operation computes \\\\(x^y\\\\) for
|
||||
Given a tensor `x` and a tensor `y`, this operation computes \\(x^y\\) for
|
||||
corresponding elements in `x` and `y`. For example:
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user