Home
last modified time | relevance | path

Searched refs:cwiseMax (Results 1 – 25 of 42) sorted by relevance

12

/external/eigen/Eigen/src/plugins/
DMatrixCwiseBinaryOps.h104 cwiseMax(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in cwiseMax() function
115 cwiseMax(const Scalar &other) const in cwiseMax() function
117 return cwiseMax(Derived::Constant(rows(), cols(), other)); in cwiseMax()
/external/tensorflow/tensorflow/core/kernels/
Dquantize_op.cc156 ((input.flat<float>().cwiseMin(max_range).cwiseMax(min_range) - in Compute()
165 o = ((input.flat<float>().cwiseMin(max_range).cwiseMax(min_range) - in Compute()
200 (input.flat<float>().cwiseMin(max_range).cwiseMax(min_range) * in Compute()
207 (input.flat<float>().cwiseMin(max_range).cwiseMax(min_range) * in Compute()
Dcolorspace_op.h76 auto dr = ((dh - T(3)).abs() - T(1)).cwiseMax(T(0)).cwiseMin(T(1)); in operator()
77 auto dg = (-(dh - T(2)).abs() + T(2)).cwiseMax(T(0)).cwiseMin(T(1)); in operator()
78 auto db = (-(dh - T(4)).abs() + T(2)).cwiseMax(T(0)).cwiseMin(T(1)); in operator()
Drelu_op_functor.h35 activations.device(d) = features.cwiseMax(static_cast<T>(0)); in operator()
69 features.cwiseMax(static_cast<T>(0)).cwiseMin(static_cast<T>(6)); in operator()
103 activations.device(d) = features.cwiseMax(features * alpha); in operator()
Dquantized_activation_ops.cc48 input.flat<T>().cwiseMax(min_as_quantized).template cast<T>(); in Compute()
84 .cwiseMax(min_as_quantized) in Compute()
Dfake_quant_ops_functor.h92 auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator()
143 const auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator()
216 inputs.chip<1>(i).cwiseMin(nudged_max).cwiseMax(nudged_min); in operator()
Dsdca_internal.h100 .cwiseMax(weights.constant(0.0))); in EigenShrinkVector()
108 .cwiseMax(weights.constant(0.0))); in EigenShrinkMatrix()
Dhistogram_op.cc58 ((values.cwiseMax(value_range(0)) - values.constant(value_range(0))) in Compute()
Dscatter_functor.h119 p = p.cwiseMax(u);
123 p = p.cwiseMax(u);
182 p.device(d) = p.cwiseMax(u);
Dquantized_pooling_ops.cc90 .cwiseMax(lowest) in Compute()
Dcwise_op_clip_gpu.cu.cc111 out_flat.device(d) = in0_flat.cwiseMin(in2_flat).cwiseMax(in1_flat); in operator ()()
Dadjust_contrast_op.h85 output.device(d) = adjusted.cwiseMin(max_bcast).cwiseMax(min_bcast); in operator()
Dquantize_and_dequantize_op.h56 out.device(d) = (input.cwiseMin(max_range).cwiseMax(min_range) * scale) in ClampScaleAndRound()
Dcwise_op_clip.cc147 out_flat.device(d) = in0_flat.cwiseMin(in2_flat).cwiseMax(in1_flat); in operator ()()
Dtraining_ops_gpu.cu.cc190 vhat.device(d) = vhat.cwiseMax(v); in operator ()()
219 (beta2.reshape(single).broadcast(bcast) * v).cwiseMax(grad.abs()); in operator ()()
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h204 m_max = m_max.cwiseMax(p_n); in extend()
213 m_max = m_max.cwiseMax(b.m_max); in extend()
222 m_min = m_min.cwiseMax(b.m_min); in clamp()
231 {return AlignedBox(m_min.cwiseMax(b.m_min), m_max.cwiseMin(b.m_max)); } in intersection()
237 { return AlignedBox(m_min.cwiseMin(b.m_min), m_max.cwiseMax(b.m_max)); } in merged()
/external/eigen/test/
Darray_for_matrix.cpp119 VERIFY_IS_APPROX( (m1.array()>m2.array()).select(m1,m2), m1.cwiseMax(m2) ); in comparisons()
190 …VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax(MatrixType::Constant(rows,col… in cwise_min_max()
191 VERIFY_IS_APPROX(m1, m1.cwiseMax(MatrixType::Constant(rows,cols, minM1))); in cwise_min_max()
199 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, maxM1), m1.cwiseMax( maxM1)); in cwise_min_max()
200 VERIFY_IS_APPROX(m1, m1.cwiseMax(minM1)); in cwise_min_max()
201 VERIFY_IS_APPROX(-m1, (-m1).cwiseMax(-maxM1)); in cwise_min_max()
Dblock.cpp17 VERIFY_IS_APPROX(m1.row(r1).cwiseMax(s1), m1.cwiseMax(s1).row(r1)); in block_real_only()
21 …VERIFY_IS_APPROX(m1.block(r1,c1,r2-r1+1,c2-c1+1).cwiseMax(s1), m1.cwiseMax(s1).block(r1,c1,r2-r1+1… in block_real_only()
/external/eigen/doc/snippets/
DMatrixBase_cwiseMax.cpp2 cout << v.cwiseMax(w) << endl;
/external/eigen/unsupported/test/
Dcxx11_tensor_expr.cpp135 mat7 = mat1.cwiseMax(mat5 * 2.0f).exp(); in test_3d()
180 mat3 = mat1.cwiseMax(7.3f).exp(); in test_constants()
/external/eigen/bench/
DBenchTimer.h88 m_worsts = m_worsts.cwiseMax(m_times); in stop()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorCostModel.h106 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost cwiseMax( in cwiseMax() function
/external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
DLMonestep.h88 m_diag = m_diag.cwiseMax(m_wa2); in minimizeOneStep()
/external/eigen/unsupported/Eigen/src/NonLinearOptimization/
DHybridNonLinearSolver.h233 diag = diag.cwiseMax(wa2); in solveOneStep()
476 diag = diag.cwiseMax(wa2); in solveNumericalDiffOneStep()
/external/eigen/doc/
DCustomizingEigen_Plugins.dox51 void makeCeil(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMax(other.derived…

12