Home
last modified time | relevance | path

Searched refs:cwiseMin (Results 1 – 25 of 33) sorted by relevance

12

/external/eigen/Eigen/src/plugins/
DMatrixCwiseBinaryOps.h78 cwiseMin(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const in cwiseMin() function
89 cwiseMin(const Scalar &other) const in cwiseMin() function
91 return cwiseMin(Derived::Constant(rows(), cols(), other)); in cwiseMin()
/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()
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()
Dhistogram_op.cc62 .cwiseMin(nbins - 1); in Compute()
Dquantized_activation_ops.cc85 .cwiseMin(max_as_quantized) in Compute()
Dscatter_functor.h107 p = p.cwiseMin(u);
112 p = p.cwiseMin(u);
174 p.device(d) = p.cwiseMin(u);
Dquantized_pooling_ops.cc91 .cwiseMin(highest) 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()
Drelu_op_functor.h69 features.cwiseMax(static_cast<T>(0)).cwiseMin(static_cast<T>(6)); in operator()
Dclustering_ops.cc168 min_distances = min_distances.cwiseMin(GetHalfSquaredDistancesToY( in Compute()
181 min_distances.cwiseMin(GetHalfSquaredDistancesToY( in Compute()
Dcwise_op_clip.cc147 out_flat.device(d) = in0_flat.cwiseMin(in2_flat).cwiseMax(in1_flat); in operator ()()
Deigen_attention.h216 .cwiseMin( in eval()
Dquantization_utils.h153 .cwiseMin(f2q.upper_bound_float()) \
720 .cwiseMin(255LL)
/external/eigen/Eigen/src/Geometry/
DAlignedBox.h203 m_min = m_min.cwiseMin(p_n); in extend()
212 m_min = m_min.cwiseMin(b.m_min); in extend()
223 m_max = m_max.cwiseMin(b.m_max); 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.cpp118 VERIFY_IS_APPROX( (m1.array()<m2.array()).select(m1,m2), m1.cwiseMin(m2) ); in comparisons()
187 …VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, minM1), m1.cwiseMin(MatrixType::Constant(rows,col… in cwise_min_max()
188 VERIFY_IS_APPROX(m1, m1.cwiseMin(MatrixType::Constant(rows,cols, maxM1))); in cwise_min_max()
194 VERIFY_IS_APPROX(MatrixType::Constant(rows,cols, minM1), m1.cwiseMin( minM1)); in cwise_min_max()
195 VERIFY_IS_APPROX(m1, m1.cwiseMin(maxM1)); in cwise_min_max()
196 VERIFY_IS_APPROX(-m1, (-m1).cwiseMin(-minM1)); in cwise_min_max()
Dblock.cpp18 VERIFY_IS_APPROX(m1.col(c1).cwiseMin(s1), m1.cwiseMin(s1).col(c1)); in block_real_only()
20 …VERIFY_IS_APPROX(m1.block(r1,c1,r2-r1+1,c2-c1+1).cwiseMin(s1), m1.cwiseMin(s1).block(r1,c1,r2-r1+1… in block_real_only()
/external/eigen/doc/snippets/
DMatrixBase_cwiseMin.cpp2 cout << v.cwiseMin(w) << endl;
/external/eigen/bench/
DBenchTimer.h87 m_bests = m_bests.cwiseMin(m_times); in stop()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorCostModel.h97 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorOpCost cwiseMin( in cwiseMin() function
DTensorBase.h298 cwiseMin(Scalar threshold) const { in cwiseMin() function
299 return cwiseMin(constant(threshold)); in cwiseMin()
366 cwiseMin(const OtherDerived& other) const { in cwiseMin() function
/external/eigen/doc/
DCustomizingEigen_Plugins.dox49 void makeFloor(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMin(other.derive…
DSparseQuickReference.dox171 sm1.cwiseMin(sm2);

12