Home
last modified time | relevance | path

Searched refs:cwiseMin (Results 1 – 25 of 36) 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/image/
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()
Dadjust_contrast_op.h85 output.device(d) = adjusted.cwiseMin(max_bcast).cwiseMax(min_bcast); in operator()
/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/tensorflow/tensorflow/core/kernels/
Dquantize_op.cc248 ((input.cwiseMin(max_range).cwiseMax(min_range) - min_range) * in QuantizeSlice()
257 ((input.cwiseMin(max_range).cwiseMax(min_range) - min_range) * in QuantizeSlice()
280 (input.cwiseMin(max_range).cwiseMax(min_range) * scale_factor) in QuantizeSlice()
286 (input.cwiseMin(max_range).cwiseMax(min_range) * scale_factor) in QuantizeSlice()
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.cc65 .cwiseMin(nbins_minus_1) in Compute()
Dquantized_activation_ops.cc85 .cwiseMin(max_as_quantized) in Compute()
Dquantized_pooling_ops.cc96 .cwiseMin(highest) in Compute()
Dcwise_op_clip_gpu.cu.cc119 out_flat.device(d) = in0_flat.cwiseMin(in2_flat).cwiseMax(in1_flat); in operator ()()
Dfused_eigen_output_kernels.h96 .cwiseMin(std::declval<typename XprType::Scalar>())) {
98 .cwiseMin(static_cast<typename XprType::Scalar>(6));
Drelu_op_functor.h71 .template cwiseMin<Eigen::PropagateNaN>(static_cast<T>(6)); in operator()
Dcwise_op_clip.cc147 out_flat.device(d) = in0_flat.cwiseMin(in2_flat).cwiseMax(in1_flat); in operator ()()
Dscatter_functor.h105 p = p.cwiseMin(u);
110 p = p.cwiseMin(u);
Dclustering_ops.cc168 min_distances = min_distances.cwiseMin(GetHalfSquaredDistancesToY( in Compute()
181 min_distances.cwiseMin(GetHalfSquaredDistancesToY( in Compute()
Dscatter_nd_op_cpu_impl.h88 output.device(device) = output.cwiseMin(update); in Execute()
Deigen_attention.h240 .cwiseMin( in eval()
/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/tensorflow/tensorflow/lite/kernels/
Dcpu_backend_gemm_eigen.cc73 eigen_dst = eigen_dst.cwiseMin(params.clamp_max).cwiseMax(params.clamp_min); in Run()
/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
/external/eigen/doc/
DCustomizingEigen_Plugins.dox49 void makeFloor(const MatrixBase<OtherDerived>& other) { derived() = derived().cwiseMin(other.derive…
/external/ruy/ruy/
Dtest.h972 .cwiseMin(mul_params.clamp_max())
981 .cwiseMin(mul_params.clamp_max())
1086 .cwiseMin(mul_params.clamp_max())
1096 .cwiseMin(mul_params.clamp_max())
1252 .cwiseMin(mul_params.clamp_max())
1259 eigen_dst.noalias() = eigen_dst.cwiseMin(mul_params.clamp_max())

12