Home
last modified time | relevance | path

Searched refs:cwiseMax (Results 1 – 25 of 36) 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()
209 (input.flat<float>().cwiseMin(max_range).cwiseMax(min_range) * in Compute()
216 (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()
Dquantize_and_dequantize_op.h72 ((input.cwiseMin(max_range).cwiseMax(min_range) - min_range) * in Compute()
94 ((input.cwiseMin(max_range).cwiseMax(min_range)) * scale + T(0.5)) in Compute()
Dquantized_activation_ops.cc48 input.flat<T>().cwiseMax(min_as_quantized).template cast<T>(); in Compute()
84 .cwiseMax(min_as_quantized) in Compute()
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()
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.h102 .cwiseMax(weights.constant(0.0))); in EigenShrinkVector()
110 .cwiseMax(weights.constant(0.0))); in EigenShrinkMatrix()
Dhistogram_op.cc58 ((values.cwiseMax(value_range(0)) - values.constant(value_range(0))) in Compute()
Dquantized_pooling_ops.cc90 .cwiseMax(lowest) in Compute()
Dadjust_contrast_op.h85 output.device(d) = adjusted.cwiseMin(max_bcast).cwiseMax(min_bcast); in operator()
Dpooling_ops_common.h241 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset)); in SpatialMaxPool()
488 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset));
Deigen_attention.h202 .cwiseMax( in eval()
Dfractional_max_pool_op.cc176 out_mat.col(out_offset).cwiseMax(in_mat.col(in_offset)); in Compute()
/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()
DLevenbergMarquardt.h270 diag = diag.cwiseMax(wa2); in minimizeOneStep()
520 diag = diag.cwiseMax(wa2); in minimizeOptimumStorageOneStep()
/external/eigen/doc/
DCustomizingEigen_Plugins.dox51 void makeCeil(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMax(other.derived…

12