/third_party/gn/src/gn/ |
D | c_tool.cc | 62 if (name_ != kCToolSolink && name_ != kCToolSolinkModule && in ValidateRuntimeOutputs() 63 name_ != kCToolLink) { in ValidateRuntimeOutputs() 90 if (name_ != kCToolSolink && name_ != kCToolSolinkModule) { in ValidateLinkAndDependOutput() 209 if (name_ == kCToolSwift) { in InitTool() 238 if (name_ == kCToolCc || name_ == kCToolCxx || name_ == kCToolCxxModule || in ValidateSubstitution() 239 name_ == kCToolObjC || name_ == kCToolObjCxx || name_ == kCToolRc || in ValidateSubstitution() 240 name_ == kCToolAsm) in ValidateSubstitution() 242 if (name_ == kCToolSwift) in ValidateSubstitution() 244 else if (name_ == kCToolAlink) in ValidateSubstitution() 246 else if (name_ == kCToolSolink || name_ == kCToolSolinkModule || in ValidateSubstitution() [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/ |
D | maxpool_info.cc | 35 … MS_LOG(ERROR) << name_ << ": The size of kernel_size must be 4, but got " << kernel_size_.size(); in GetAttrs() 40 …MS_LOG(ERROR) << name_ << ": The first two elements of kernel_size must be 1, but got (" << kernel… in GetAttrs() 48 MS_LOG(ERROR) << name_ << ": The pad_mode value is invalid: " << pad_mode_; in GetAttrs() 55 MS_LOG(ERROR) << name_ << ": The size of stride must be 4, but got " << stride_.size(); in GetAttrs() 60 …MS_LOG(ERROR) << name_ << ": The first two elements of stride must be 1, but got (" << stride_[0] … in GetAttrs() 68 MS_LOG(ERROR) << name_ << ": The format only support 'NCHW', but got " << format_; in GetAttrs() 72 …MS_LOG(INFO) << name_ << ": The kernel size is " << kernel_size_ << ", pad mode is " << pad_mode_ … in GetAttrs() 80 MS_LOG(ERROR) << name_ in CheckHWStrategy() 87 MS_LOG(ERROR) << name_ in CheckHWStrategy() 95 … MS_LOG(ERROR) << name_ << ": It does not support to split H dimension when kernel_size > stride"; in CheckHWStrategy() [all …]
|
D | activation_info.cc | 39 MS_LOG(ERROR) << name_ << " : The size of attrs small than 1."; in GetAttrs() 44 …MS_LOG(ERROR) << name_ << " : Inputs shape size(" << inputs_shape_.size() << ") or outputs shape s… in GetAttrs() 55 MS_LOG(ERROR) << name_ << " : Activation type is wrong."; in GetAttrs() 59 MS_LOG(ERROR) << name_ << " : The value of activation_type is not string."; in GetAttrs() 69 …MS_LOG(ERROR) << name_ << " : Inputs shape size(" << inputs_shape_.size() << ") or outputs shape s… in GetAttrs() 79 …MS_LOG(EXCEPTION) << name_ << " : Inputs shape size(" << inputs_shape_.size() << ") or outputs sha… in GenerateOpStrategies() 87 MS_LOG(EXCEPTION) << name_ << " : Generate strategies for independent inputs() failed."; in GenerateOpStrategies() 99 MS_LOG(EXCEPTION) << name_ << " : Generate strategies for independent inputs() failed."; in GenerateOpStrategies() 106 MS_LOG(ERROR) << name_ << " : Invalid strategy."; in CheckStrategy() 123 …MS_LOG(ERROR) << name_ << " : The strategy corresponding to axis dimension(" << axis_strategy << "… in CheckStrategy() [all …]
|
D | gatherd_info.cc | 33 MS_LOG(ERROR) << name_ << ": Invalid input_value's size " << input_value_.size(); in GetAttrs() 38 MS_LOG(ERROR) << name_ << ": The value of dim is not int"; in GetAttrs() 45 …MS_LOG(ERROR) << name_ << ": The dim(" << dim << ") is out of range[" << (-input_dim) << ", " << (… in GetAttrs() 55 MS_LOG(INFO) << name_ << ": The dim is " << dim_; in GetAttrs() 62 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 68 MS_LOG(ERROR) << name_ << ": The size of strategy must be 2, but got " << stra.size(); in CheckStrategy() 75 MS_LOG(ERROR) << name_ << ": The dimension of dim can not be split"; in CheckStrategy() 80 MS_LOG(ERROR) << name_ << ": The dimension of dim can not be split"; in CheckStrategy() 91 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in InferDevMatrixShape() 114 MS_LOG(ERROR) << name_ << ": Invalid args"; in InferTensorInfo() [all …]
|
D | conv2d_info.cc | 52 MS_LOG(ERROR) << name_ << ": The format must be 'NCHW', but got " << format_; in GetAttrsBase() 59 MS_LOG(ERROR) << name_ << ": The attr of out_channel is invalid"; in GetAttrsBase() 66 MS_LOG(ERROR) << name_ << ": Can not find the attribution of " << KERNEL_SIZE; in GetAttrsBase() 77 …MS_LOG(ERROR) << name_ << ": The size of kernel_size'tuple must be 2, but got " << kernel_size_.si… in GetAttrsBase() 81 MS_LOG(ERROR) << name_ << ": The kernel_size must be int or tuple"; in GetAttrsBase() 88 MS_LOG(ERROR) << name_ << ": The mode must be 1, but got " << mode_; in GetAttrsBase() 95 … MS_LOG(ERROR) << name_ << ": The pad_mode must be in the range of [0, 2], but got " << pad_mode_; in GetAttrsBase() 102 MS_LOG(ERROR) << name_ << ": The size of pad_list must be 4, but got " << pad_list_.size(); in GetAttrsBase() 109 MS_LOG(ERROR) << name_ << ": The size of stride must be 4, but got " << stride_.size(); in GetAttrsBase() 114 …MS_LOG(ERROR) << name_ << ": The first two elements of stride must be 1, but got (" << stride_[0] … in GetAttrsBase() [all …]
|
D | batchnorm_info.cc | 41 MS_LOG(ERROR) << name_ << ": The data format must be 'NCHW', but got " << format_; in GetAttrs() 46 MS_LOG(ERROR) << name_ << ": The inputs shape is empty"; in GetAttrs() 55 …MS_LOG(ERROR) << name_ << ": The size of input[0]'shape must be 2 or 4, but got " << inputs_shape_… in GetAttrs() 59 …MS_LOG(INFO) << name_ << ": The is_traing is " << is_training_ << ", epsilon is " << epsilon_ << "… in GetAttrs() 68 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 74 MS_LOG(ERROR) << name_ << ": The size of strategy must be 5, but got " << stra.size(); in CheckStrategy() 79 … MS_LOG(ERROR) << name_ << ": The size of strategy[0] must be 4 or 2, but got " << stra[0].size(); in CheckStrategy() 85 MS_LOG(ERROR) << name_ << ": The strategy can not be empty, the index is " << i; in CheckStrategy() 89 …MS_LOG(ERROR) << name_ << ": Invalid strategy, the index is " << i << ", it must be equal to " << … in CheckStrategy() 102 MS_LOG(ERROR) << name_ << ": The strategy can not be empty"; in InferDevMatrixShape() [all …]
|
D | topk_info.cc | 34 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 40 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in CheckStrategy() 45 MS_LOG(ERROR) << name_ << ": Now we can not support to split last dimension"; in CheckStrategy() 56 MS_LOG(ERROR) << name_ << "The strategy is empty"; in InferDevMatrixShape() 67 MS_LOG(ERROR) << name_ << "The inputs shape is empty"; in InferTensorMap() 87 MS_LOG(ERROR) << name_ << ": The outputs tensor map is empty"; in InferAsLossDivisor() 91 MS_LOG(INFO) << name_ << " has two outputs, use output[0] to infer"; in InferAsLossDivisor() 94 …MS_LOG(INFO) << name_ << ": The output is a scalar, use the dev size" << as_loss_divisor_ << " as … in InferAsLossDivisor() 102 …MS_LOG(INFO) << name_ << ": the dev matrix shape, the output tensor map, and loss divisor is " << … in InferAsLossDivisor() 110 MS_LOG(INFO) << name_ << ": The inputs size is empty"; in InferMirrorOps() [all …]
|
D | layer_norm_info.cc | 35 MS_LOG(ERROR) << name_ << ": Can not find the attr of begin norm axis"; in GetAttrs() 39 MS_LOG(ERROR) << name_ << ": The axis type is not int64_t"; in GetAttrs() 46 …MS_LOG(ERROR) << name_ << ": The axis(" << axis << ") is out of range[" << (-dim) << ", " << (dim … in GetAttrs() 61 MS_LOG(ERROR) << name_ << ": Invalid strategy size " << stra.size(); in CheckStrategy() 66 MS_LOG(ERROR) << name_ << ": Invalid strategy value"; in CheckStrategy() 74 MS_LOG(ERROR) << name_ << ": Invalid begin norm axis " << begin_norm_axis_; in CheckStrategy() 80 MS_LOG(ERROR) << name_ << ": Invalid input strategy " << ShapeToString(input_strategy); in CheckStrategy() 87 MS_LOG(ERROR) << name_ << " : The strategy size of gamma or beta is lager than input strategy"; in CheckStrategy() 94 MS_LOG(ERROR) << name_ << ": Invalid gamma strategy " << ShapeToString(gamma_strategy); in CheckStrategy() 102 MS_LOG(ERROR) << name_ << ": Invalid beta strategy " << ShapeToString(beta_strategy); in CheckStrategy() [all …]
|
D | split_info.cc | 41 MS_LOG(ERROR) << name_ << ": The value of axis is not int"; in GetAttrs() 45 MS_LOG(ERROR) << name_ << ": Can not find the axis attr"; in GetAttrs() 50 MS_LOG(ERROR) << name_ << ": The inputs shape is empty"; in GetAttrs() 65 MS_LOG(ERROR) << name_ << ": The value of output_num is not int"; in GetAttrs() 69 MS_LOG(ERROR) << name_ << ": Can not find the output_num attr"; in GetAttrs() 80 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 86 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in CheckStrategy() 91 MS_LOG(ERROR) << name_ << ": The axis is out of range, the axis is " << axis_; in CheckStrategy() 96 MS_LOG(ERROR) << name_ << ": The axis can not be split"; in CheckStrategy() 107 MS_LOG(ERROR) << name_ << "The strategy is empty"; in InferDevMatrixShape() [all …]
|
D | concat_info.cc | 39 MS_LOG(ERROR) << name_ << ": The value of axis is not int64_t"; in GetAttrs() 43 MS_LOG(ERROR) << name_ << ": Can not find the axis attr"; in GetAttrs() 48 MS_LOG(ERROR) << name_ << ": The inputs shape is empty"; in GetAttrs() 64 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 70 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in CheckStrategy() 75 MS_LOG(ERROR) << name_ << ": The size of strategy must be equal to the size of inputs shape"; in CheckStrategy() 83 …MS_LOG(ERROR) << name_ << ": The size of strategy element must be equal to the size of input shape… in CheckStrategy() 88 MS_LOG(ERROR) << name_ << ": The axis is out of range, the axis is " << axis_; in CheckStrategy() 93 MS_LOG(ERROR) << name_ << ": The axis can not be split"; in CheckStrategy() 99 MS_LOG(ERROR) << name_ << ": The strategy of each input tensor must be equal"; in CheckStrategy() [all …]
|
D | scatter_update_info.cc | 43 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 49 MS_LOG(ERROR) << name_ << ": The size of strategy must be 3"; in CheckStrategy() 54 MS_LOG(ERROR) << name_ << ": The strategy[0] is empty"; in CheckStrategy() 59 MS_LOG(ERROR) << name_ << ": The first dimension of input can not be split"; in CheckStrategy() 64 MS_LOG(ERROR) << name_ << ": The indices can not be split"; in CheckStrategy() 69 MS_LOG(ERROR) << name_ << ": The strategy[2] is empty"; in CheckStrategy() 75 …MS_LOG(ERROR) << name_ << ": The first " << stra[1].size() << " dimensions of updates can not be s… in CheckStrategy() 80 …MS_LOG(ERROR) << name_ << ": updates.strategy must be equal to indices.strategy + input.strategy[1… in CheckStrategy() 86 …MS_LOG(ERROR) << name_ << ": updates.strategy must be equal to indices.strategy + input.strategy[1… in CheckStrategy() 98 MS_LOG(ERROR) << name_ << "The strategy is empty"; in InferDevMatrixShape() [all …]
|
D | gather_v2_p_info.cc | 41 …MS_LOG(ERROR) << name_ << ": Manual split without offset strategy's format is wrong! Need ValueSeq… in GetManualSplitWithoutOffsetAttr() 45 …MS_LOG(INFO) << name_ << ": manual split with offset is " << manual_split_without_offset_iter->sec… in GetManualSplitWithoutOffsetAttr() 51 MS_LOG(ERROR) << name_ << ": The element of manual split must be int64_t"; in GetManualSplitWithoutOffsetAttr() 56 …MS_LOG(ERROR) << name_ << ": The value of manual split must be positive, but got " << param_split_… in GetManualSplitWithoutOffsetAttr() 63 MS_LOG(ERROR) << name_ << ": Failed to extract param split's split info"; in GetManualSplitWithoutOffsetAttr() 77 …MS_LOG(ERROR) << name_ << ": Manual split with offset strategy's format is wrong! Need ValueSequeu… in GetManualSplitAttr() 81 MS_LOG(INFO) << name_ << ": manual split with offset strategy " << var->ToString(); in GetManualSplitAttr() 84 …MS_LOG(ERROR) << name_ << ": Manual split with offset strategy's format is wrong! Need ValueSequeu… in GetManualSplitAttr() 89 MS_LOG(ERROR) << name_ << ": Size of manual split with offset's element must be 2"; in GetManualSplitAttr() 95 MS_LOG(ERROR) << name_ in GetManualSplitAttr() [all …]
|
D | tile_info.cc | 34 MS_LOG(ERROR) << name_ << ": The size of input value is smaller than 2."; in GetAttrs() 38 MS_LOG(ERROR) << name_ << ": The multiples is null."; in GetAttrs() 45 MS_LOG(ERROR) << name_ << ": Input_value_[1] must be ValueTuplePtr."; in GetAttrs() 50 MS_LOG(ERROR) << name_ << ": Elements size must equal to outputs shape[0] size."; in GetAttrs() 60 MS_LOG(ERROR) << name_ << ": The value of axis must be int32."; in GetAttrs() 79 …MS_LOG(INFO) << name_ << ": The input shape is " << ShapeToString(inputs_shape_[0]) << ", the mult… in CheckStrategy() 88 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in InferDevMatrixShape() 92 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in InferDevMatrixShape() 112 MS_LOG(ERROR) << name_ << ": The inputs or outputs' shape is empty"; in InferTensorMap() 142 MS_LOG(ERROR) << name_ << ": Create group for input failed."; in InferMirrorOps() [all …]
|
D | gathernd_info.cc | 37 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 43 MS_LOG(ERROR) << name_ << ": The size of strategies must be 2"; in CheckStrategy() 49 MS_LOG(ERROR) << name_ << ": The input can not be split"; in CheckStrategy() 54 MS_LOG(ERROR) << name_ << ": The strategy of indices can not be empty"; in CheckStrategy() 59 MS_LOG(ERROR) << name_ << ": The last dimension of indices can not be split"; in CheckStrategy() 71 MS_LOG(ERROR) << name_ << "The size of strategies must be 2"; in InferDevMatrixShape() 85 MS_LOG(ERROR) << name_ << "The size of input shapes must be 2"; in InferTensorMap() 90 MS_LOG(ERROR) << name_ << "invalid shapes"; in InferTensorMap() 123 MS_LOG(EXCEPTION) << name_ << ": The inputs shape is empty"; in GenerateOpStrategies() 134 MS_LOG(EXCEPTION) << name_ << ": Generate strategies failed"; in GenerateOpStrategies() [all …]
|
D | resizebilinear_info.cc | 34 MS_LOG(ERROR) << name_ << ": The size of input size must be 2, but got " << size_.size(); in GetAttrs() 39 …MS_LOG(ERROR) << name_ << ": The second two elements of size must be the same, but got (" << size_… in GetAttrs() 46 …MS_LOG(INFO) << name_ << ": The input size is " << size_ << ", align_corners is " << align_corners… in GetAttrs() 54 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 60 MS_LOG(ERROR) << name_ << ": The size of strategy must be 1, but got " << stra.size(); in CheckStrategy() 66 …MS_LOG(ERROR) << name_ << ": The size of input strategy must be 4, but got" << input_strategy.size… in CheckStrategy() 71 MS_LOG(ERROR) << name_ << ": Do not support split from H or W"; in CheckStrategy() 84 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in InferDevMatrixShape() 115 MS_LOG(EXCEPTION) << name_ << " : Generate strategies for independent inputs() failed."; in GenerateOpStrategies() 122 MS_LOG(ERROR) << name_ << ": Init failed."; in Init() [all …]
|
D | gather_v2_info.cc | 35 MS_LOG(ERROR) << name_ << ": inputs shape size must be 2, but is " << inputs_shape_.size(); in GetAttrs() 39 MS_LOG(ERROR) << name_ << ": outputs shape size must be 1, but is " << outputs_shape_.size(); in GetAttrs() 43 MS_LOG(ERROR) << name_ << ": input value size must be 3, but is " << input_value_.size(); in GetAttrs() 50 MS_LOG(ERROR) << name_ << ": the third input value is nullptr, is not a ValueNode!"; in GetAttrs() 55 MS_LOG(ERROR) << name_ << ": input can not be a scalar!"; in GetAttrs() 75 MS_LOG(ERROR) << name_ << ": inputs shape size must be " << GATHER_V2_INPUTS_SIZE << ", but is " in CheckStrategy() 80 … MS_LOG(ERROR) << name_ << ": outputs shape size must be " << GATHER_V2_OUTPUTS_SIZE << ", but is " in CheckStrategy() 86 MS_LOG(ERROR) << name_ << ": Invalid strategy."; in CheckStrategy() 91 MS_LOG(ERROR) << name_ in CheckStrategy() 98 MS_LOG(ERROR) << name_ in CheckStrategy() [all …]
|
D | strided_slice_info.cc | 41 MS_LOG(ERROR) << name_ << ": The value of " << mask_name << " is not int64_t"; in GetMask() 72 MS_LOG(ERROR) << name_ << ": The size of attrs small than " << STRIDED_SLICE_ATTRS_SIZE; in GetAttrs() 85 …MS_LOG(ERROR) << name_ << ": The size of input value must be " << STRIDED_SLICE_INPUTS_SIZE << ", … in GetAttrs() 102 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 108 MS_LOG(ERROR) << name_ << ": The strategy is empty"; in CheckStrategy() 115 MS_LOG(ERROR) << name_ << ": When there is a mask, the input is not supported to be split"; in CheckStrategy() 120 … MS_LOG(ERROR) << name_ << ": The size of strategy must be larger or equal to the size of strides"; in CheckStrategy() 125 …MS_LOG(ERROR) << name_ << ": When a certain dimension is split, now does not support that the stri… in CheckStrategy() 131 …MS_LOG(ERROR) << name_ << ": The size of begin " << begin_.size() << ", end " << end_.size() << " … in CheckStrategy() 139 …MS_LOG(ERROR) << name_ << "When a dimension is not fully fetched, the dimension can not be split n… in CheckStrategy() [all …]
|
D | pack_info.cc | 39 MS_LOG(ERROR) << name_ << ": The value of axis is not int"; in GetAttrs() 43 MS_LOG(ERROR) << name_ << ": Can not find the axis attr"; in GetAttrs() 48 MS_LOG(ERROR) << name_ << ": The inputs shape is empty"; in GetAttrs() 63 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 71 MS_LOG(ERROR) << name_ << ": The axis is out of range, the axis is " << axis_; in CheckStrategy() 77 MS_LOG(ERROR) << name_ << ": The strategy of each input tensor must be equal"; in CheckStrategy() 90 MS_LOG(ERROR) << name_ << "The strategy is empty"; in InferDevMatrixShape() 103 MS_LOG(ERROR) << name_ << "The inputs shape is empty"; in InferTensorMap() 132 MS_LOG(EXCEPTION) << name_ << ": The inputs shape is empty"; in GenerateOpStrategies() 145 MS_LOG(EXCEPTION) << name_ << ": Generate strategies failed"; in GenerateOpStrategies() [all …]
|
D | select_info.cc | 34 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 39 MS_LOG(ERROR) << name_ << ": The size of inputs shape must be 3"; in CheckStrategy() 44 … MS_LOG(ERROR) << name_ << ": Now we only support the case that all three input shapes are equal"; in CheckStrategy() 50 MS_LOG(ERROR) << name_ << ": The size of strategy must be 3"; in CheckStrategy() 55 MS_LOG(ERROR) << name_ << ": Now we only support the case that all three strategies are equal"; in CheckStrategy() 66 MS_LOG(ERROR) << name_ << "The strategy is empty"; in InferDevMatrixShape() 77 MS_LOG(ERROR) << name_ << "The inputs shape is empty"; in InferTensorMap() 110 MS_LOG(EXCEPTION) << name_ << ": Generate strategies failed"; in GenerateOpStrategies() 116 MS_LOG(EXCEPTION) << name_ << ": The strategy is null or empty"; in GenerateOpStrategies() 131 MS_LOG(ERROR) << name_ << ": Init failed."; in Init() [all …]
|
D | tensordot_info.cc | 48 MS_LOG(INFO) << name_ << ": The axes tuple is " << AxesToString(axes_tuple_); in ShowAxes() 50 …MS_LOG(INFO) << name_ << ": The axes tuple tuple is " << AxesToString(axes_tuple_tuple_[0]) << " a… in ShowAxes() 58 MS_LOG(ERROR) << name_ << ": Can not find the axes attr"; in GetAttrs() 67 MS_LOG(ERROR) << name_ << ": The value of axes int (" << axes_int_ << ") is out of range"; in GetAttrs() 74 … MS_LOG(ERROR) << name_ << ": The length of axes tuple must be 2, bug got " << var_tuple.size(); in GetAttrs() 89 MS_LOG(DEBUG) << name_ << ": The element of axes is " << ele; in GetAttrs() 99 MS_LOG(ERROR) << name_ << ": Now do not support axes type is TUPLE_TYPE"; in GetAttrs() 105 MS_LOG(ERROR) << name_ << ": The axes is not int or tuple or list"; in GetAttrs() 116 MS_LOG(ERROR) << name_ << ": Invalid strategy"; in CheckStrategy() 122 MS_LOG(ERROR) << name_ << ": Invalid strategy size " << stra.size(); in CheckStrategy() [all …]
|
/third_party/benchmark/src/ |
D | benchmark_api_internal.cc | 30 name_.function_name = benchmark_.name_; in BenchmarkInstance() 34 if (!name_.args.empty()) { in BenchmarkInstance() 35 name_.args += '/'; in BenchmarkInstance() 41 name_.args += StrFormat("%s:", arg_name.c_str()); in BenchmarkInstance() 45 name_.args += StrFormat("%" PRId64, arg); in BenchmarkInstance() 50 name_.min_time = StrFormat("min_time:%0.3f", benchmark_.min_time_); in BenchmarkInstance() 54 name_.iterations = StrFormat( in BenchmarkInstance() 59 name_.repetitions = StrFormat("repeats:%d", benchmark_.repetitions_); in BenchmarkInstance() 63 name_.time_type = "process_time"; in BenchmarkInstance() 67 if (!name_.time_type.empty()) { in BenchmarkInstance() [all …]
|
/third_party/boost/boost/spirit/home/support/detail/lexer/ |
D | rules.hpp | 168 std::size_t state (const CharT *name_) const in state() 172 _statemap.find (name_); in state() 203 std::size_t add_state (const CharT *name_) in add_state() argument 205 validate (name_); in add_state() 207 if (_statemap.insert (string_size_t_pair (name_, in add_state() 215 if (string (name_) != initial ()) in add_state() 217 _lexer_state_names.push_back (name_); in add_state() 225 void add_macro (const CharT *name_, const CharT *regex_) in add_macro() argument 227 add_macro (name_, string (regex_)); in add_macro() 230 void add_macro (const CharT *name_, const CharT *regex_start_, in add_macro() argument [all …]
|
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/ |
D | arithmetic_npu.cc | 25 MS_LOG(WARNING) << name_ << " for the two inputs, the dimension size must be same." in IsSupport() 31 MS_LOG(WARNING) << name_ << " not support input 1d"; in IsSupport() 35 MS_LOG(WARNING) << name_ << " not support input 2d"; in IsSupport() 55 op_ = CreateOperator<hiai::op::Mul>(name_); in Init() 59 op_ = CreateOperator<hiai::op::Add>(name_); in Init() 63 op_ = CreateOperator<hiai::op::Sub>(name_); in Init() 67 op_ = CreateOperator<hiai::op::RealDiv>(name_); in Init() 71 op_ = CreateOperator<hiai::op::FloorMod>(name_); in Init() 74 op_ = CreateOperator<hiai::op::FloorDiv>(name_); in Init() 77 op_ = CreateOperator<hiai::op::LogicalAnd>(name_); in Init() [all …]
|
/third_party/boost/libs/parameter/test/ |
D | mpl.cpp | 104 , Name const& name_ in f() argument 111 test::f_parameters()(t, name_, value_, index_) in f() 123 , Name const& name_ in f() argument 128 test::f_impl<Expected>(test::f_parameters()(t, name_, value_)); in f() 134 , Name const& name_ in f() 138 test::f_impl<Expected>(test::f_parameters()(t, name_)); in f() 144 typedef test::tag::name name_; in run() typedef 150 boost::mp11::mp_list<tester_,name_,value_,index_> in run() 153 boost::mp11::mp_list<tester_,name_,index_> in run() 156 boost::mp11::mp_list<tester_,name_,index_> in run() [all …]
|
/third_party/mindspore/mindspore/ccsrc/fl/server/ |
D | round.cc | 30 : name_(name), in Round() 43 communicator_->RegisterMsgCallBack(name_, [&](std::shared_ptr<ps::core::MessageHandler> message) { in Initialize() 50 …std::string reason = "Round " + name_ + " finished! This iteration is valid. Proceed to next itera… in Initialize() 66 …std::string reason = "Round " + name_ + " timeout! This iteration is invalid. Proceed to next iter… in Initialize() 73 MS_LOG(INFO) << "Round " << name_ << " kernel stops its timer."; in Initialize() 82 DistributedCountService::GetInstance().RegisterCounter(name_, threshold_count_, in Initialize() 90 …MS_LOG(INFO) << "Round " << name_ << " uses up-to-date server number " << server_num << " as its t… in ReInitForScaling() 96 DistributedCountService::GetInstance().RegisterCounter(name_, threshold_count_, in ReInitForScaling() 109 if (!DistributedCountService::GetInstance().ReInitCounter(name_, threshold_count_)) { in ReInitForUpdatingHyperParams() 110 MS_LOG(ERROR) << "Reinitializing count for " << name_ << " failed."; in ReInitForUpdatingHyperParams() [all …]
|