diff options
author | 2016-05-02 13:22:28 -0800 | |
---|---|---|
committer | 2016-05-02 14:31:43 -0700 | |
commit | ed5cf5b92611cd5ee60ff97ba9186eb5b211e2c5 (patch) | |
tree | 6a33f86cd7828f25e38fe5b7d10464697f070fe7 | |
parent | e5249d6dddc469e68c09b3af32a9adfdffdb5ef1 (diff) |
Rename output parameters from "out" to "output" for math ops.
Change: 121309988
-rw-r--r-- | tensorflow/core/ops/math_ops.cc | 73 |
1 files changed, 38 insertions, 35 deletions
diff --git a/tensorflow/core/ops/math_ops.cc b/tensorflow/core/ops/math_ops.cc index 5bfbc12c54..f3b0d919a3 100644 --- a/tensorflow/core/ops/math_ops.cc +++ b/tensorflow/core/ops/math_ops.cc @@ -36,7 +36,7 @@ inputs: Must all be the same size and shape. REGISTER_OP("BatchMatMul") .Input("x: T") .Input("y: T") - .Output("out: T") + .Output("output: T") .Attr("T: {float, double, int32, complex64}") .Attr("adj_x: bool = false") .Attr("adj_y: bool = false") @@ -60,11 +60,11 @@ The output tensor is 3-D or higher with shape `[..., r_o, c_o]`, where: It is computed as: - out[..., :, :] = matrix(x[..., :, :]) * matrix(y[..., :, :]) + output[..., :, :] = matrix(x[..., :, :]) * matrix(y[..., :, :]) x: 3-D or higher with shape `[..., r_x, c_x]`. y: 3-D or higher with shape `[..., r_y, c_y]`. -out: 3-D or higher with shape `[..., r_o, c_o]` +output: 3-D or higher with shape `[..., r_o, c_o]` adj_x: If `True`, adjoint the slices of `x`. Defaults to `False`. adj_y: If `True`, adjoint the slices of `y`. Defaults to `False`. )doc"); @@ -519,7 +519,7 @@ REGISTER_OP("Select") .Input("condition: bool") .Input("t: T") .Input("e: T") - .Output("out: T") + .Output("output: T") .Attr("T: type") .Doc(R"doc( Selects elements from `t` or `e`, depending on `condition`. @@ -566,7 +566,7 @@ t:= A `Tensor` which may have the same shape as `condition`. If `condition` is rank 1, `t` may have higher rank, but its first dimension must match the size of `condition`. e:= A `Tensor` with the same type and shape as `t`. -out:= A `Tensor` with the same type and shape as `t` and `e`. +output:= A `Tensor` with the same type and shape as `t` and `e`. )doc"); // -------------------------------------------------------------------------- @@ -1141,7 +1141,7 @@ output: 1-D. The generated values. REGISTER_OP("Complex") .Input("real: float") .Input("imag: float") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Converts two real numbers to a complex number. @@ -1161,7 +1161,7 @@ tf.complex(real, imag) ==> [[2.25 + 4.75j], [3.25 + 5.75j]] ``` )doc"); -REGISTER_OP("Real").Input("input: complex64").Output("out: float").Doc(R"doc( +REGISTER_OP("Real").Input("input: complex64").Output("output: float").Doc(R"doc( Returns the real part of a complex number. Given a tensor `input` of complex numbers, this operation returns a tensor of @@ -1177,7 +1177,7 @@ tf.real(input) ==> [-2.25, 3.25] ``` )doc"); -REGISTER_OP("Imag").Input("input: complex64").Output("out: float").Doc(R"doc( +REGISTER_OP("Imag").Input("input: complex64").Output("output: float").Doc(R"doc( Returns the imaginary part of a complex number. Given a tensor `input` of complex numbers, this operation returns a tensor of @@ -1195,7 +1195,7 @@ tf.imag(input) ==> [4.75, 5.75] REGISTER_OP("Conj") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Returns the complex conjugate of a complex number. @@ -1214,132 +1214,135 @@ tf.conj(input) ==> [-2.25 - 4.75j, 3.25 - 5.75j] ``` )doc"); -REGISTER_OP("FFT").Input("input: complex64").Output("out: complex64").Doc(R"doc( +REGISTER_OP("FFT") + .Input("input: complex64") + .Output("output: complex64") + .Doc(R"doc( Compute the 1-dimensional discrete Fourier Transform. input: A complex64 vector. -out: The 1D Fourier Transform of `input`. +output: The 1D Fourier Transform of `input`. )doc"); REGISTER_OP("IFFT") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 1-dimensional discrete Fourier Transform. input: A complex64 vector. -out: The inverse 1D Fourier Transform of `input`. +output: The inverse 1D Fourier Transform of `input`. )doc"); REGISTER_OP("FFT2D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the 2-dimensional discrete Fourier Transform. input: A complex64 matrix. -out: The 2D Fourier Transform of `input`. +output: The 2D Fourier Transform of `input`. )doc"); REGISTER_OP("IFFT2D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 2-dimensional discrete Fourier Transform. input: A complex64 matrix. -out: The inverse 2D Fourier Transform of `input`. +output: The inverse 2D Fourier Transform of `input`. )doc"); REGISTER_OP("FFT3D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the 3-dimensional discrete Fourier Transform. input: A complex64 3-D tensor. -out: The 3D Fourier Transform of `input`. +output: The 3D Fourier Transform of `input`. )doc"); REGISTER_OP("IFFT3D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 3-dimensional discrete Fourier Transform. input: A complex64 3-D tensor. -out: The inverse 3D Fourier Transform of `input`. +output: The inverse 3D Fourier Transform of `input`. )doc"); REGISTER_OP("BatchFFT") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the 1-dimensional discrete Fourier Transform over the inner-most dimension of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most dimension - of `input` is replaced with its 1D Fourier Transform. +output: A complex64 tensor of the same shape as `input`. The inner-most + dimension of `input` is replaced with its 1D Fourier Transform. )doc"); REGISTER_OP("BatchIFFT") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 1-dimensional discrete Fourier Transform over the inner-most dimension of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most dimension - of `input` is replaced with its inverse 1D Fourier Transform. +output: A complex64 tensor of the same shape as `input`. The inner-most + dimension of `input` is replaced with its inverse 1D Fourier Transform. )doc"); REGISTER_OP("BatchFFT2D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the 2-dimensional discrete Fourier Transform over the inner-most 2 dimensions of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most 2 +output: A complex64 tensor of the same shape as `input`. The inner-most 2 dimensions of `input` are replaced with their 2D Fourier Transform. )doc"); REGISTER_OP("BatchIFFT2D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 2-dimensional discrete Fourier Transform over the inner-most 2 dimensions of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most 2 +output: A complex64 tensor of the same shape as `input`. The inner-most 2 dimensions of `input` are replaced with their inverse 2D Fourier Transform. )doc"); REGISTER_OP("BatchFFT3D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the 3-dimensional discrete Fourier Transform over the inner-most 3 dimensions of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most 3 +output: A complex64 tensor of the same shape as `input`. The inner-most 3 dimensions of `input` are replaced with their 3D Fourier Transform. )doc"); REGISTER_OP("BatchIFFT3D") .Input("input: complex64") - .Output("out: complex64") + .Output("output: complex64") .Doc(R"doc( Compute the inverse 3-dimensional discrete Fourier Transform over the inner-most 3 dimensions of `input`. input: A complex64 tensor. -out: A complex64 tensor of the same shape as `input`. The inner-most 3 +output: A complex64 tensor of the same shape as `input`. The inner-most 3 dimensions of `input` are replaced with their inverse 3D Fourier Transform. )doc"); |