Home
last modified time | relevance | path

Searched refs:rhs_ (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/
Dutils.h52 : tuple_matcher_(tuple_matcher), rhs_(rhs) {} in TensorEqMatcher()
61 return testing::Matcher<T>(new Impl(tuple_matcher_, rhs_));
71 rhs_(rhs) {} in Impl()
80 absl::optional<std::string> result = ShapeToString(rhs_.dims); in DescribeTo()
96 if (lhs.type != kTfLiteFloat32 || rhs_.type != kTfLiteFloat32) { in MatchAndExplain()
104 if (lhs.dims->size != rhs_.dims->size) { in MatchAndExplain()
106 << rhs_.dims->size; in MatchAndExplain()
114 dims_are_equal &= lhs.dims->data[i] == rhs_.dims->data[i]; in MatchAndExplain()
118 absl::optional<std::string> result = ShapeToString(rhs_.dims); in MatchAndExplain()
132 absl::Span<float> rhs_span(rhs_.data.f, rhs_.bytes / sizeof(float)); in MatchAndExplain()
[all …]
/external/libaom/libaom/third_party/googletest/src/googletest/include/gtest/
Dgtest-matchers.h540 explicit ComparisonBase(const Rhs &rhs) : rhs_(rhs) {} in ComparisonBase()
543 return Matcher<Lhs>(new Impl<const Lhs &>(rhs_));
559 explicit Impl(const Rhs &rhs) : rhs_(rhs) {} in Impl()
562 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
566 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
570 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
574 Rhs rhs_;
576 Rhs rhs_; variable
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/include/gtest/
Dgtest-matchers.h529 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
532 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
544 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
547 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
551 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
555 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
559 Rhs rhs_;
561 Rhs rhs_; variable
/external/mesa3d/src/gtest/include/gtest/
Dgtest-matchers.h531 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {} in ComparisonBase()
534 return Matcher<Lhs>(new Impl<const Lhs&>(rhs_));
546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} in Impl()
549 return Op()(lhs, Unwrap(rhs_)); in MatchAndExplain()
553 UniversalPrint(Unwrap(rhs_), os); in DescribeTo()
557 UniversalPrint(Unwrap(rhs_), os); in DescribeNegationTo()
561 Rhs rhs_;
563 Rhs rhs_; variable
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dtiled_dot_emitter.cc238 rhs_(rhs), in ColumnMajorMatrixVectorProductEmitter()
266 llvm::Value* base_pointer = vsl_.ComputeOffsetPointer(rhs_, offset); in LoadRhsTile()
284 llvm::Value* rhs_; member in xla::cpu::__anon47412fb60111::ColumnMajorMatrixVectorProductEmitter
362 llvm::Value* rhs_element = vsl_.LoadScalar(rhs_, col); in EmitInnerLoopEpilogue()
463 rhs_(rhs), in RowMajorMatrixVectorProductEmitter()
495 llvm::Value* rhs_; member in xla::cpu::__anon47412fb60111::RowMajorMatrixVectorProductEmitter
571 llvm::Value* rhs_value = vsl_.LoadVector(rhs_, col); in EmitInnerLoopTiled()
597 vsl_.LoadScalar(rhs_, scalar_col)); in EmitInnerLoopEpilogue()
700 rhs_(rhs), in TiledSmallGemmEmitter()
754 llvm::Value* rhs_; member in xla::cpu::__anon47412fb60111::TiledSmallGemmEmitter
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dlinalg_ops_test.py517 rhs_ = np.array([[1, 1]], dtype=self.dtype).T
519 rhs_, shape=rhs_.shape if self.use_static_shape else None)
526 expected_ = np.linalg.solve(x_, rhs_)
540 rhs_ = np.array([[1, 1]], dtype=self.dtype).T
542 rhs_, shape=rhs_.shape if self.use_static_shape else None)
549 expected_ = np.linalg.solve(x_, rhs_[np.newaxis])
/external/clang/test/SemaCXX/
Dwindows-arm-valist.cpp6 template <typename lhs_, typename rhs_>
/external/llvm-project/clang/test/SemaCXX/
Dwindows-arm-valist.cpp6 template <typename lhs_, typename rhs_>
/external/bcc/src/cc/frontends/b/
Dtype_check.cc141 TRY2(n->rhs_->accept(this)); in visit_assign_expr_node()
142 if (n->rhs_->typeof_ != ExprNode::STRUCT) in visit_assign_expr_node()
149 TRY2(n->rhs_->accept(this)); in visit_assign_expr_node()
150 if (n->rhs_->typeof_ != ExprNode::INTEGER) in visit_assign_expr_node()
195 TRY2(n->rhs_->accept(this)); in visit_binop_expr_node()
196 if (n->rhs_->typeof_ != ExprNode::INTEGER) in visit_binop_expr_node()
209 n->bit_width_ = std::max(n->lhs_->bit_width_, n->rhs_->bit_width_); in visit_binop_expr_node()
Dnode.h241 ExprNode::Ptr rhs_; variable
243 : lhs_(move(id)), rhs_(move(rhs)) { in AssignExprNode()
248 : lhs_(move(lhs)), rhs_(move(rhs)) { in AssignExprNode()
298 ExprNode::Ptr rhs_; variable
300 : lhs_(move(lhs)), op_(op), rhs_(move(rhs)) in BinopExprNode()
Dprinter.cc101 TRY2(n->rhs_->accept(this)); in visit_assign_expr_node()
124 TRY2(n->rhs_->accept(this)); in visit_binop_expr_node()
Dcodegen_llvm.cc321 TRY2(n->rhs_->accept(this)); in visit_assign_expr_node()
333 TRY2(n->rhs_->accept(this)); in visit_assign_expr_node()
340 if (!n->rhs_->is_ref()) in visit_assign_expr_node()
450 TRY2(n->rhs_->accept(this)); in emit_short_circuit_and()
451 expr_ = B.CreateICmpNE(pop_expr(), B.getIntN(n->rhs_->bit_width_, 0)); in emit_short_circuit_and()
477 TRY2(n->rhs_->accept(this)); in emit_short_circuit_or()
478 expr_ = B.CreateICmpNE(pop_expr(), B.getIntN(n->rhs_->bit_width_, 0)); in emit_short_circuit_or()
500 TRY2(n->rhs_->accept(this)); in visit_binop_expr_node()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner_util.h184 rhs_(absl::make_unique<OffsetCalculation>(rhs)) {} in OffsetCalculation()
189 rhs_(absl::make_unique<OffsetCalculation>(rhs)) {} in OffsetCalculation()
210 std::unique_ptr<OffsetCalculation> rhs_; variable
Dspmd_partitioner_util.cc726 rhs_ = absl::make_unique<OffsetCalculation>(*other.rhs_); in operator =()
735 if (opcode_ == HloOpcode::kSubtract && *lhs_ == *rhs_) { in IsConstant()
738 return lhs_->IsConstant() && rhs_->IsConstant(); in IsConstant()
756 return *lhs_ == *other.lhs_ && *rhs_ == *other.rhs_; in operator ==()
764 return lhs_->Calculate(shard_ordinal) - rhs_->Calculate(shard_ordinal); in Calculate()
766 return lhs_->Calculate(shard_ordinal) * rhs_->Calculate(shard_ordinal); in Calculate()
778 auto rhs = rhs_->Calculate(shard_ordinal, b); in Calculate()
/external/googletest/googletest/include/gtest/
Dgtest-matchers.h710 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
716 return Op()(lhs, Unwrap(rhs_));
720 UniversalPrint(Unwrap(rhs_), os);
724 UniversalPrint(Unwrap(rhs_), os);
737 Rhs rhs_;
/external/llvm-project/llvm/utils/unittest/googlemock/include/gmock/
Dgmock-matchers.h897 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
900 return MakeMatcher(new Impl<Lhs>(rhs_));
907 explicit Impl(const Rhs& rhs) : rhs_(rhs) {}
910 return Op()(lhs, rhs_);
914 UniversalPrint(rhs_, os);
918 UniversalPrint(rhs_, os);
921 Rhs rhs_;
924 Rhs rhs_;
2707 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {
2716 return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
[all …]
/external/fmtlib/test/gmock/
Dgmock.h5537 explicit name##Matcher(const Rhs& rhs) : rhs_(rhs) {} \
5540 return MakeMatcher(new Impl<Lhs>(rhs_)); \
5546 explicit Impl(const Rhs& rhs) : rhs_(rhs) {} \
5549 return lhs op rhs_; \
5553 UniversalPrint(rhs_, os); \
5557 UniversalPrint(rhs_, os); \
5560 Rhs rhs_; \
5563 Rhs rhs_; \
6478 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
6485 rhs_(rhs), nan_eq_nan_(nan_eq_nan), max_abs_error_(max_abs_error) {
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionThreadPool.h310 rhs_(rhs),
401 RhsMapper& rhs_;
501 rhs_.getSubMapper(k * bk_, n1 * bn_), bk(k), bn(n1));
/external/googletest/googlemock/include/gmock/
Dgmock-matchers.h2523 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {}
2532 new Impl<const LhsContainer&>(tuple_matcher_, rhs_));
2552 rhs_(rhs) {}
2555 *os << "contains " << rhs_.size()
2557 UniversalPrinter<RhsStlContainer>::Print(rhs_, os);
2562 *os << "doesn't contain exactly " << rhs_.size()
2565 UniversalPrint(rhs_, os);
2574 if (actual_size != rhs_.size()) {
2580 typename RhsStlContainer::const_iterator right = rhs_.begin();
2612 const RhsStlContainer rhs_;
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/gmock/
Dgmock.h5714 explicit ComparisonBase(const Rhs& rhs) : rhs_(rhs) {}
5717 return MakeMatcher(new Impl<Lhs>(rhs_));
5724 explicit Impl(const Rhs& rhs) : rhs_(rhs) {}
5727 return Op()(lhs, rhs_);
5731 UniversalPrint(rhs_, os);
5735 UniversalPrint(rhs_, os);
5738 Rhs rhs_;
5741 Rhs rhs_;
7521 : tuple_matcher_(tuple_matcher), rhs_(RhsView::Copy(rhs)) {
7530 return MakeMatcher(new Impl<LhsContainer>(tuple_matcher_, rhs_));
[all …]
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc119 explicit GreaterThanMatcher(int rhs) : rhs_(rhs) {} in GreaterThanMatcher()
121 void DescribeTo(ostream* os) const override { *os << "is > " << rhs_; } in DescribeTo()
124 const int diff = lhs - rhs_; in MatchAndExplain()
126 *listener << "which is " << diff << " more than " << rhs_; in MatchAndExplain()
128 *listener << "which is the same as " << rhs_; in MatchAndExplain()
130 *listener << "which is " << -diff << " less than " << rhs_; in MatchAndExplain()
133 return lhs > rhs_; in MatchAndExplain()
137 int rhs_; member in testing::gmock_matchers_test::__anon01910f110111::GreaterThanMatcher