/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/ |
D | argminmax_tests.cc | 26 OpParameter *CreateParameter(schema::PrimitiveType type, int axis, int topk, bool out_value, bool k… in CreateParameter() argument 32 param->out_value_ = out_value; in CreateParameter() 42 bool out_value = false; in TEST_F() local 48 auto *param = CreateParameter(type, axis, topk, out_value); in TEST_F() 57 bool out_value = true; in TEST_F() local 63 auto *param = CreateParameter(type, axis, topk, out_value); in TEST_F() 72 bool out_value = false; in TEST_F() local 79 auto *param = CreateParameter(type, axis, topk, out_value); in TEST_F() 88 bool out_value = true; in TEST_F() local 96 auto *param = CreateParameter(type, axis, topk, out_value); in TEST_F() [all …]
|
/third_party/gn/src/base/ |
D | values.cc | 425 bool Value::GetAsBoolean(bool* out_value) const { in GetAsBoolean() 426 if (out_value && is_bool()) { in GetAsBoolean() 427 *out_value = bool_value_; in GetAsBoolean() 433 bool Value::GetAsInteger(int* out_value) const { in GetAsInteger() 434 if (out_value && is_int()) { in GetAsInteger() 435 *out_value = int_value_; in GetAsInteger() 441 bool Value::GetAsString(std::string* out_value) const { in GetAsString() 442 if (out_value && is_string()) { in GetAsString() 443 *out_value = string_value_; in GetAsString() 449 bool Value::GetAsString(std::u16string* out_value) const { in GetAsString() [all …]
|
D | values.h | 303 bool GetAsBoolean(bool* out_value) const; 305 bool GetAsInteger(int* out_value) const; 307 bool GetAsString(std::string* out_value) const; 308 bool GetAsString(std::u16string* out_value) const; 309 bool GetAsString(const Value** out_value) const; 310 bool GetAsString(std::string_view* out_value) const; 313 bool GetAsList(ListValue** out_value); 314 bool GetAsList(const ListValue** out_value) const; 316 bool GetAsDictionary(DictionaryValue** out_value); 317 bool GetAsDictionary(const DictionaryValue** out_value) const; [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | resize_int8.c | 57 int64_t out_value = out_left_bottom + out_left_top + out_right_bottom + out_right_top; in ResizeBilinearInt8() local 58 out_b_ptr[0] = (int8_t)((out_value + (1 << 19)) / (1 << 20)); in ResizeBilinearInt8() 129 float32x4_t out_value = vaddq_f32(out_value1, out_value2); in ResizeBilinearWithFloatScaleInt8() local 130 out_b_ptr[0] = (int8_t)(out_value[0]); in ResizeBilinearWithFloatScaleInt8() 131 out_b_ptr[1] = (int8_t)(out_value[1]); in ResizeBilinearWithFloatScaleInt8() 132 out_b_ptr[2] = (int8_t)(out_value[2]); in ResizeBilinearWithFloatScaleInt8() 133 out_b_ptr[3] = (int8_t)(out_value[3]); in ResizeBilinearWithFloatScaleInt8() 146 float out_value = out_left_bottom + out_left_top + out_right_bottom + out_right_top; in ResizeBilinearWithFloatScaleInt8() local 147 out_b_ptr[0] = (int8_t)(out_value); in ResizeBilinearWithFloatScaleInt8() 220 int32_t out_value = MultiplyByQuantizedMultiplier( in ResizeNearestNeighborInt8() local [all …]
|
D | arg_min_max_int8.c | 37 bool out_value = param->out_value_; in DoArgMinMaxQuant() local 64 float real_out = out_value ? value : index; in DoArgMinMaxQuant() 94 bool out_value = param->out_value_; in Int8ArgMinMaxDim0() local 112 …float real_out = out_value ? param->arg_elements_[j].data_.f_data_ : param->arg_elements_[j].index… in Int8ArgMinMaxDim0() 120 bool out_value = param->out_value_; in Int8ArgMinMaxDim1() local 142 …float real_out = out_value ? param->arg_elements_[k].data_.f_data_ : param->arg_elements_[k].index… in Int8ArgMinMaxDim1() 151 bool out_value = param->out_value_; in Int8ArgMinMaxDim2() local 176 …float real_out = out_value ? param->arg_elements_[l].data_.f_data_ : param->arg_elements_[l].index… in Int8ArgMinMaxDim2() 186 bool out_value = param->out_value_; in Int8ArgMinMaxDim3() local 214 …float real_out = out_value ? param->arg_elements_[l].data_.f_data_ : param->arg_elements_[l].index… in Int8ArgMinMaxDim3()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | cayman_msaa.c | 83 unsigned sample_index, float *out_value) in cayman_get_sample_position() argument 92 out_value[0] = out_value[1] = 0.5; in cayman_get_sample_position() 97 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 99 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 104 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 106 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 112 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 114 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 120 out_value[0] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position() 122 out_value[1] = (float)(val.idx + 8) / 16.0f; in cayman_get_sample_position()
|
/third_party/cef/libcef/common/ |
D | values_impl.cc | 960 absl::optional<base::Value> out_value = in RemoveInternal() local 962 if (!out_value.has_value()) { in RemoveInternal() 970 if (out_value->is_list() || out_value->is_dict()) { in RemoveInternal() 1151 const base::Value* out_value = nullptr; in GetType() local 1152 if (const_value().Get(index, &out_value)) { in GetType() 1153 switch (out_value->type()) { in GetType() 1179 const base::Value* out_value = nullptr; in GetValue() local 1180 if (const_value().Get(index, &out_value)) { in GetValue() 1182 const_cast<base::Value*>(out_value), in GetValue() 1193 const base::Value* out_value = nullptr; in GetBool() local [all …]
|
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-hlsl-no-opt/asm/frag/ |
D | scalar-select.spv14.asm.frag | 18 void spvSelectComposite(out _15 out_value, bool cond, _15 true_val, _15 false_val) 22 out_value = true_val; 26 out_value = false_val; 30 void spvSelectComposite(out float out_value[2], bool cond, float true_val[2], float false_val[2]) 34 out_value = true_val; 38 out_value = false_val;
|
/third_party/mesa3d/src/vulkan/overlay-layer/ |
D | overlay_params.c | 116 parse_string(const char *s, char *out_param, char *out_value) in parse_string() argument 128 for (; !is_delimiter(*s); s++, out_value++, i++) in parse_string() 129 *out_value = *s; in parse_string() 131 *(out_value++) = '1'; in parse_string() 132 *out_value = 0; in parse_string()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | winograd_utils.c | 447 float out_value = m[j + m_k_offset] + bias_data[i]; in OutputTransform4x2ReluUnit() 448 out_value = out_value > 0 ? out_value : 0; in OutputTransform4x2ReluUnit() 449 dst_data[i + dst_k_offset + j * out_c] = out_value; in OutputTransform4x2ReluUnit() 517 float out_value = m[j + m_k_offset] + bias_data[i]; in OutputTransform4x2Relu6Unit() 518 out_value = out_value > 0 ? out_value : 0; in OutputTransform4x2Relu6Unit() 519 out_value = out_value < 6 ? out_value : 6; in OutputTransform4x2Relu6Unit() 520 dst_data[i + dst_k_offset + j * out_c] = out_value; in OutputTransform4x2Relu6Unit() 660 float out_value = m[j + m_k_offset] + bias_data[i]; in OutputTransform4x3ReluUnit() 661 out_value = out_value > 0 ? out_value : 0; in OutputTransform4x3ReluUnit() 662 dst_data[i + dst_k_offset + j * out_c] = out_value; in OutputTransform4x3ReluUnit() [all …]
|
D | arg_min_max_fp32.c | 48 bool out_value = param->out_value_; in ArgMaxTopK1() local 64 if (out_value) { in ArgMaxTopK1() 78 bool out_value = param->out_value_; in ArgMinTopK1() local 94 if (out_value) { in ArgMinTopK1()
|
/third_party/boost/boost/mpi/collectives/ |
D | scan.hpp | 142 scan(const communicator& comm, const T& in_value, T& out_value, Op op) in scan() argument 144 detail::scan_impl(comm, &in_value, 1, &out_value, op, in scan() 160 T out_value; in scan() local 161 detail::scan_impl(comm, &in_value, 1, &out_value, op, in scan() 163 return out_value; in scan()
|
D | scatter.hpp | 157 scatter(const communicator& comm, const T* in_values, T& out_value, int root) in scatter() argument 159 detail::scatter_impl(comm, in_values, &out_value, 1, root, is_mpi_datatype<T>()); in scatter() 164 scatter(const communicator& comm, const std::vector<T>& in_values, T& out_value, in scatter() argument 168 ::boost::mpi::scatter<T>(comm, c_data(in_values), out_value, root); in scatter() 172 void scatter(const communicator& comm, T& out_value, int root) in scatter() argument 175 detail::scatter_impl(comm, &out_value, 1, root, is_mpi_datatype<T>()); in scatter()
|
D | all_reduce.hpp | 113 all_reduce(const communicator& comm, const T& in_value, T& out_value, Op op) in all_reduce() argument 115 detail::all_reduce_impl(comm, &in_value, 1, &out_value, op, in all_reduce()
|
/third_party/boost/boost/mpi/ |
D | collectives.hpp | 128 all_reduce(const communicator& comm, const T* value, int n, T* out_value, 135 all_reduce(const communicator& comm, const T& value, T& out_value, Op op); 435 scatter(const communicator& comm, const std::vector<T>& in_values, T& out_value, 443 scatter(const communicator& comm, const T* in_values, T& out_value, int root); 449 void scatter(const communicator& comm, T& out_value, int root); 591 reduce(const communicator& comm, const T& in_value, T& out_value, Op op, 665 scan(const communicator& comm, const T& in_value, T& out_value, Op op);
|
/third_party/gn/src/base/win/ |
D | registry.cc | 242 LONG RegKey::ReadValueDW(const char16_t* name, DWORD* out_value) const { in ReadValueDW() 243 DCHECK(out_value); in ReadValueDW() 250 *out_value = local_value; in ReadValueDW() 258 LONG RegKey::ReadInt64(const char16_t* name, int64_t* out_value) const { in ReadInt64() 259 DCHECK(out_value); in ReadInt64() 267 *out_value = local_value; in ReadInt64() 275 LONG RegKey::ReadValue(const char16_t* name, std::u16string* out_value) const { in ReadValue() 276 DCHECK(out_value); in ReadValue() 284 *out_value = raw_value; in ReadValue() 295 *out_value = expanded; in ReadValue()
|
D | registry.h | 88 LONG ReadValueDW(const char16_t* name, DWORD* out_value) const; 92 LONG ReadInt64(const char16_t* name, int64_t* out_value) const; 96 LONG ReadValue(const char16_t* name, std::u16string* out_value) const;
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | dfunctor.h | 252 CNodePtr out_value = nullptr; in BpropToK() local 255 out_value = outer->NewCNode(transf_args); in BpropToK() 257 out_value->CloneCNodeInfo(cnode); in BpropToK() 260 out_value = outer->NewCNode(transf_args); in BpropToK() 262 (void)mng->Replace(out_param, out_value); in BpropToK() 270 …outer->set_output(outer->NewCNode({NewValueNode(prim::kPrimMakeTuple), out_value, NewValueNode(clo… in BpropToK()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_state_msaa.c | 123 unsigned sample_index, float *out_value) in si_get_sample_position() argument 146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position() 147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position()
|
/third_party/boost/libs/mpi/src/python/ |
D | collectives.cpp | 85 object out_value; in reduce() local 86 boost::mpi::reduce(comm, value, out_value, op, root); in reduce() 87 return out_value; in reduce()
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/ |
D | sigmoid_int8_coder.cc | 37 auto out_value = static_cast<int8_t>(std::max(std::min(quantized, max_value), min_value)); in CalculateTableList() local 39 table[index] = out_value; in CalculateTableList()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/ |
D | storage_manager.cc | 82 value_type out_value; in Write() local 121 out_value = std::make_pair(cont_index, std::make_pair(offset, sz)); in Write() 122 RETURN_IF_NOT_OK(index_.insert(out_value, &out_key)); in Write()
|
/third_party/glib/gio/ |
D | gdbus-daemon-generated.h | 268 guint *out_value, 276 guint *out_value, 289 guint *out_value, 296 guint *out_value, 310 guint *out_value, 318 guint *out_value,
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | sigmoid_int8.cc | 42 int8_t out_value = static_cast<int8_t>(std::max(std::min(quantized, max_value), min_value)); in CalculateTableList() local 44 table[index] = out_value; in CalculateTableList()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | arg_min_max_fp16.c | 47 bool out_value = param->out_value_; in ArgMaxTopK1Fp16() local 63 if (out_value) { in ArgMaxTopK1Fp16() 77 bool out_value = param->out_value_; in ArgMinTopK1Fp16() local 93 if (out_value) { in ArgMinTopK1Fp16()
|