Home
last modified time | relevance | path

Searched refs:weight_ (Results 1 – 25 of 29) sorted by relevance

12

/third_party/boost/boost/histogram/detail/
Dargument_traits.hpp62 static constexpr std::size_t weight_ = mp11::mp_find_if<list_, is_weight>::value; member
65 static constexpr int wpos_ = (weight_ < size_ ? static_cast<int>(weight_) : -1);
68 argument_traits_holder<(size_ - (weight_ < size_) - (sample_ < size_)),
69 (weight_ < size_ && sample_ < size_ &&
70 (weight_ + sample_ < 2)
72 : ((weight_ == 0 || sample_ == 0) ? 1 : 0)),
/third_party/grpc/src/core/ext/filters/client_channel/
Dserver_address.h120 explicit ServerAddressWeightAttribute(uint32_t weight) : weight_(weight) {} in ServerAddressWeightAttribute()
122 uint32_t weight() const { return weight_; } in weight()
125 return absl::make_unique<ServerAddressWeightAttribute>(weight_); in Copy()
131 return GPR_ICMP(weight_, other_locality_attr->weight_); in Cmp()
135 return absl::StrFormat("%d", weight_); in ToString()
139 uint32_t weight_;
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/trt_pass/
Dlayer_input.h29 LayerInput() : type_(InputType::kUnknown), weight_(), tensor_(nullptr) {} in LayerInput()
31 : type_(InputType::kWeight), weight_(w), tensor_(nullptr), shape_(s) {} in LayerInput()
33 : type_(InputType::kTensor), weight_(), tensor_(t), shape_(s) {} in LayerInput()
43 return &weight_; in weight()
60 nvinfer1::Weights weight_; variable
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Dconvolution_base_npu.cc27 if (weight_ != nullptr) { in ~ConvolutionBaseNPUOp()
28 delete weight_; in ~ConvolutionBaseNPUOp()
29 weight_ = nullptr; in ~ConvolutionBaseNPUOp()
49 weight_ = new (std::nothrow) hiai::op::Const(name_ + "_w"); in InitWeightConst()
50 if (weight_ == nullptr) { in InitWeightConst()
101 weight_->set_attr_value(weight_tensor); in InitWeightConst()
Dfullconnection_npu.cc70 weight_ = new (std::nothrow) hiai::op::Const(name_ + "_w"); in SetNPUInputs()
71 if (weight_ == nullptr) { in SetNPUInputs()
76 weight_->set_attr_value(weight_tensor); in SetNPUInputs()
77 fc_->set_input_x2(*weight_).set_attr_transpose_x2(true); in SetNPUInputs()
Ddeconvolution_npu.cc111 CHECK_NULL_RETURN(weight_); in SetNPUInputs()
112 deconv_->set_input_filter(*weight_); in SetNPUInputs()
Dconvolution_base_npu.h43 hiai::op::Const *weight_ = nullptr; variable
Dconvolution_npu.cc102 conv_->set_input_filter(*weight_); in SetNPUInputs()
124 conv_->set_input_filter(*weight_); in SetNPUInputs()
Dconvolution_depthwise_npu.cc82 conv_dw_->set_input_filter(*weight_); in SetNPUInputs()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dnode.h44 Node(NodeIdType id, NodeType type, WeightType weight) : id_(id), type_(type), weight_(weight) {} in Node()
55 WeightType weight() const { return weight_; } in weight()
104 WeightType weight_; variable
Dedge.h42 : id_(id), type_(type), weight_(weight), src_node_(src_node), dst_node_(dst_node) {} in Edge()
53 WeightType weight() const { return weight_; } in weight()
84 WeightType weight_; variable
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dprelu_fusion.h29 weight_ = std::make_shared<Var>();
37 VarPtr weight_; variable
Dprelu_fusion.cc30 VectorRef mul_pattern({prim::kPrimMul, VectorRef({prim::kPrimNeg, weight_}), x_pattern}); in DefinePattern()
41 BaseRef &weight_gnode = (*equiv)[weight_]; in Process()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/string/
Dlsh_projection.cc58weight_ = in_tensors_.size() == 2 ? nullptr : reinterpret_cast<float *>(in_tensors_.at(2)->Mutable… in Run()
59 CHECK_NULL_RETURN(weight_); in Run()
118 LshProjectionSparse(hash_seed_, feature_, weight_, output_, param_, start, end, hash_buff); in DoExecute()
121 LshProjectionDense(hash_seed_, feature_, weight_, output_, param_, start, end, hash_buff); in DoExecute()
Dlsh_projection.h51 float *weight_ = nullptr; variable
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Ddeconvolution_winograd_fp32.cc78 if (unit.weight_ != nullptr) { in FreeDeconvParam()
79 free(unit.weight_); in FreeDeconvParam()
80 unit.weight_ = nullptr; in FreeDeconvParam()
266 unit.weight_ = malloc(unit.winograd_.kh_ * unit.winograd_.kw_ * deconv_param_->oc_up4_ * in InitComputeParam()
268 if (unit.weight_ == nullptr) { in InitComputeParam()
274 …unit.weight_ = malloc(h_size * w_size * deconv_param_->ic_up4_ * deconv_param_->oc_up4_ * sizeof(f… in InitComputeParam()
275 if (unit.weight_ == nullptr) { in InitComputeParam()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/
Ddeconvolution_winograd_fp16.cc85 if (unit.weight_ != nullptr) { in FreeDeconvParam()
86 free(unit.weight_); in FreeDeconvParam()
87 unit.weight_ = nullptr; in FreeDeconvParam()
309 unit.weight_ = malloc(unit.winograd_.kh_ * unit.winograd_.kw_ * deconv_param_->oc_up4_ * in InitComputeParam()
311 if (unit.weight_ == nullptr) { in InitComputeParam()
316 …unit.weight_ = malloc(h_size * w_size * deconv_param_->ic_up4_ * deconv_param_->oc_up4_ * sizeof(f… in InitComputeParam()
317 if (unit.weight_ == nullptr) { in InitComputeParam()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/weighted_target/
Dweighted_target.cc131 uint32_t weight() const { return weight_; } in weight()
176 uint32_t weight_; member in grpc_core::__anonc87064770111::WeightedTargetLb::WeightedChild
481 weight_ = config.weight; in UpdateLocked()
551 if (weight_ == 0) return; in DeactivateLocked()
558 weight_ = 0; in DeactivateLocked()
579 !shutdown_ && weight_ == 0) { in OnDelayedRemovalTimerLocked()
/third_party/boost/boost/graph/
Dsuccessive_shortest_path_nonnegative_weights.hpp47 : g_(g), weight_(w), distance_(d), rev_(r) in MapReducedWeight()
54 + get(weight_, v); in operator []()
59 Weight weight_; member in boost::detail::MapReducedWeight
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dconv_parameter.h106 void *weight_; member
Dmatmul_parameter.h69 QuantArg weight_; member
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddeconv_winograd_fp32.c143 float *dst_weight = (float *)unit->weight_; in PackDeConvWgDataFp32()
571 …DeConvWgCalWgFp32(tile_in, tile_out, (float *)unit->weight_, tmp_buf, unit->winograd_.AT_, wg_mid_… in DeconvWg()
577 …DeConvWgCalCommFp32(tile_in, tile_out, (float *)unit->weight_, tmp_buf, unit->h_start_, unit->w_st… in DeconvWg()
/third_party/ffmpeg/libavcodec/arm/
Dh264dsp_neon.S545 weight_\w vhadd.s16
547 weight_\w vhsub.s16
552 weight_\w vadd.s16
554 weight_\w vsub.s16
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Ddeconv_winograd_fp16.c324 float16_t *dst_weight = (float16_t *)unit->weight_; in PackDeConvWgDataFp16()
393 …DeConvWgCalWgFp16(tile_in, tile_out, (float16_t *)unit->weight_, tmp_buf, unit->winograd_.AT_, mid… in DeconvWgFp16()
399 …DeConvWgCalCommFp16(tile_in, tile_out, (float16_t *)unit->weight_, tmp_buf, unit->h_start_, unit->… in DeconvWgFp16()
/third_party/ffmpeg/libavcodec/aarch64/
Dh264dsp_neon.S814 weight_\w shadd
816 weight_\w shsub
821 weight_\w add
823 weight_\w sub

12