Home
last modified time | relevance | path

Searched refs:policy_ (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/ir/vision/
Drandom_select_subpolicy_ir.cc34 : TensorOperation(true), policy_(policy) {} in RandomSelectSubpolicyOperation()
41 if (policy_.empty()) { in ValidateParams()
46 for (int32_t i = 0; i < policy_.size(); i++) { in ValidateParams()
47 if (policy_[i].empty()) { in ValidateParams()
52 for (int32_t j = 0; j < policy_[i].size(); j++) { in ValidateParams()
53 if (policy_[i][j].first == nullptr) { in ValidateParams()
59 RETURN_IF_NOT_OK(policy_[i][j].first->ValidateParams()); in ValidateParams()
61 if (policy_[i][j].second < 0.0 || policy_[i][j].second > 1.0) { in ValidateParams()
64 … " must be between 0.0 and 1.0, got: " + std::to_string(policy_[i][j].second); in ValidateParams()
75 for (int32_t i = 0; i < policy_.size(); i++) { in Build()
[all …]
Drandom_select_subpolicy_ir.h56 std::vector<std::vector<std::pair<std::shared_ptr<TensorOperation>, double>>> policy_;
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drandom_select_subpolicy_op.cc28 CHECK_FAIL_RETURN_UNEXPECTED(rand_num < policy_.size(), in Compute()
32 for (auto &sub : policy_[rand_num]) { in Compute()
43 uint32_t num_in = policy_.front().front().first->NumInput(); in NumInput()
44 for (auto &sub : policy_) { in NumInput()
56 uint32_t num_out = policy_.front().front().first->NumOutput(); in NumOutput()
57 for (auto &sub : policy_) { in NumOutput()
75 RETURN_IF_NOT_OK(policy_.front().front().first->OutputType(inputs, outputs)); in OutputType()
76 for (auto &sub : policy_) { in OutputType()
90 : gen_(GetSeed()), policy_(policy), rand_int_(0, policy.size() - 1), rand_double_(0, 1) { in RandomSelectSubpolicyOp()
91 if (policy_.empty()) { in RandomSelectSubpolicyOp()
Drandom_select_subpolicy_op.h71 std::vector<Subpolicy> policy_;
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/
Dsubchannel_list.h190 LoadBalancingPolicy* policy() const { return policy_; } in policy()
218 LoadBalancingPolicy* policy_; variable
360 policy_(policy), in SubchannelList()
378 tracer_->name(), policy_, address.ToString().c_str()); in SubchannelList()
386 tracer_->name(), policy_, this, subchannels_.size(), in SubchannelList()
397 policy_, this); in ~SubchannelList()
405 tracer_->name(), policy_, this); in ShutdownLocked()
/third_party/boost/boost/fiber/
Dcontext.hpp194 launch policy_; member in boost::fibers::context
200 policy_{ policy } {
322 return policy_; in get_policy()
/third_party/jsoncpp/src/lib_json/
Djson_value.cpp235 storage_.policy_ = allocate & 0x3; in CZString()
241 (other.storage_.policy_ != noDuplication && other.cstr_ != JSONCPP_NULL in CZString()
244 storage_.policy_ = in CZString()
247 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == in CZString()
251 : static_cast<DuplicationPolicy>(other.storage_.policy_)) & in CZString()
262 if (cstr_ && storage_.policy_ == duplicate) { in ~CZString()
326 return storage_.policy_ == noDuplication; in isStaticString()
/third_party/boost/boost/thread/
Dfuture.hpp165 launch policy_; member
184 policy_(launch::none), in shared_state_base()
195 policy_(launch::none), in shared_state_base()
250 policy_ = launch::deferred; in set_deferred()
255 policy_ = launch::async; in set_async()
261 policy_ = launch::executor; in set_executor()
507 return policy_; in launch_policy()
5009 launch policy_ = this->launch_policy(lock); local
5010 if (underlying_cast<int>(policy_) & int(launch::async)) {
5014 } else if (underlying_cast<int>(policy_) & int(launch::deferred)) {
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Dvision.cc711 std::vector<std::vector<std::pair<std::shared_ptr<TensorOperation>, double>>> policy_; member
726 data_->policy_.emplace_back(subpolicy); in RandomSelectSubpolicy()
742 data_->policy_.emplace_back(subpolicy); in RandomSelectSubpolicy()
758 data_->policy_.emplace_back(subpolicy); in RandomSelectSubpolicy()
763 return std::make_shared<RandomSelectSubpolicyOperation>(data_->policy_); in Parse()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/third_party/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp2637 storage_.policy_ = allocate & 0x3; in CZString()
2642 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2645 storage_.policy_ = (other.cstr_ in CZString()
2646 ? (static_cast<DuplicationPolicy>(other.storage_.policy_) == noDuplication in CZString()
2648 : static_cast<DuplicationPolicy>(other.storage_.policy_)); in CZString()
2660 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2703 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
Djson.h617 unsigned policy_: 2; member
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/
Djsoncpp.cpp2619 storage_.policy_ = allocate; in CZString()
2624 : cstr_(other.storage_.policy_ != noDuplication && other.cstr_ != 0 in CZString()
2628 storage_.policy_ = (other.cstr_ in CZString()
2629 ? (other.storage_.policy_ == noDuplication in CZString()
2631 : other.storage_.policy_); in CZString()
2636 if (cstr_ && storage_.policy_ == duplicate) in ~CZString()
2679 bool Value::CZString::isStaticString() const { return storage_.policy_ == noDuplication; } in isStaticString()
/third_party/jsoncpp/include/json/
Dvalue.h295 unsigned policy_ : 2; member
/third_party/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member
/third_party/skia/third_party/externals/spirv-headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Headers/tools/buildHeaders/jsoncpp/dist/json/
Djson.h571 unsigned policy_: 2; member
/third_party/mesa3d/src/amd/compiler/
Daco_register_allocation.cpp83 ra_ctx(Program* program_, ra_test_policy policy_) in ra_ctx()
85 renames(program->blocks.size()), policy(policy_) in ra_ctx()