Home
last modified time | relevance | path

Searched refs:constant_value (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/tint/src/sem/
Dvariable.cc35 Constant constant_value) in Variable() argument
40 constant_value_(constant_value) {} in Variable()
49 Constant constant_value) in LocalVariable() argument
50 : Base(declaration, type, storage_class, access, std::move(constant_value)), in LocalVariable()
59 Constant constant_value, in GlobalVariable() argument
61 : Base(declaration, type, storage_class, access, std::move(constant_value)), in GlobalVariable()
Dvariable.h55 Constant constant_value);
116 Constant constant_value);
150 Constant constant_value,
/third_party/mindspore/mindspore/core/ops/fusion/
Dpad_fusion.cc26 void PadFusion::Init(const PaddingMode &padding_mode, const float constant_value) { in Init() argument
28 this->set_constant_value(constant_value); in Init()
36 void PadFusion::set_constant_value(const float constant_value) { in set_constant_value() argument
37 (void)this->AddAttr(kConstantValue, MakeValue(constant_value)); in set_constant_value()
Dpad_fusion.h41 void Init(const PaddingMode &padding_mode, const float constant_value);
51 void set_constant_value(const float constant_value);
/third_party/jerryscript/targets/mbedos5/jerryscript-mbed/jerryscript-mbed-launcher/source/
Dsetup.cpp39 jerry_value_t constant_value = jerry_create_number(jsmbed_js_magic_string_values[idx]); in jsmbed_js_load_magic_strings() local
42 jerry_release_value(jerry_set_property(global, magic_string, constant_value)); in jsmbed_js_load_magic_strings()
44 jerry_release_value(constant_value); in jsmbed_js_load_magic_strings()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dpad.cl21 int2 io_slices, int4 pad_before, float constant_value) {
39 WRITE_IMAGE(output, (int2)(ow * CO_SLICES + co_slice, on_oh), (FLT4)(constant_value));
64 FLT out[4] = {constant_value, constant_value, constant_value, constant_value};
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dpad_tests.cc25 OpParameter *CreateParameter(float constant_value) { in CreateParameter() argument
28 param->constant_value_ = constant_value; in CreateParameter()
224 auto constant_value = std::get<6>(case_); in TEST_F() local
227 auto *param = CreateParameter(constant_value); in TEST_F()
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/
Dtflite_pad_parser.cc65 std::vector<float> constant_value; in Parse() local
67 &constant_value); in Parse()
68 if (ret != RET_OK || constant_value.size() != kTFlitePaddingIndex) { in Parse()
72 prim->set_constant_value(constant_value.at(0)); in Parse()
/third_party/skia/modules/skottie/src/animator/
DKeyframeAnimator.cpp140 bool constant_value = true; in parseKeyframes() local
176 constant_value = constant_value && (v.equals(fKFs.front().v, keyframe_type)); in parseKeyframes()
182 if (constant_value) { in parseKeyframes()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32/
Dpad_fp32_test.cc34 … float *output_data, PaddingMode mode, int *paddings, int padding_length, float constant_value,
61 … float *output_data, PaddingMode mode, int *paddings, int padding_length, float constant_value, in Prepare() argument
73 param_.constant_value_ = constant_value; in Prepare()
/third_party/mesa3d/docs/relnotes/
D11.0.4.rst92 - glsl/linker: Use constant_initializer instead of constant_value to
94 - glsl: Use constant_initializer instead of constant_value to determine
96 - glsl: Only set ir_variable::constant_value for const-decorated
D17.1.7.rst96 - glsl/ast: update rhs in addition to the var's constant_value
/third_party/mesa3d/src/compiler/glsl/
Dopt_constant_variable.cpp116 if (entry->var->constant_value) in visit_enter()
208 entry->var->constant_value = entry->constval; in do_constant_variable()
Dir_clone.cpp62 if (this->constant_value) in clone()
63 var->constant_value = this->constant_value->clone(mem_ctx, ht); in clone()
Dlower_const_arrays_to_uniforms.cpp116 uni->constant_value = con; in handle_rvalue()
Dlower_precision.cpp1039 if (var->constant_value && in visit()
1040 var->type == var->constant_value->type) { in visit()
1043 var->constant_value = in visit()
1044 var->constant_value->clone(ralloc_parent(var), NULL); in visit()
1045 lower_constant(var->constant_value); in visit()
Dir_print_visitor.cpp221 if (ir->constant_value) { in visit()
223 visit(ir->constant_value); in visit()
/third_party/mindspore/mindspore/lite/src/ops/populate/
Dpad_populate.cc40 param->constant_value_ = value->constant_value(); in PopulatePadParameter()
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.constant_test.cpp96 std::string constant_value; member
107 GetParam().constant_value + "\n"; in TEST_P()
111 << " literal: " << GetParam().constant_value; in TEST_P()
374 GetParam().constant_value + "\n"; in TEST_P()
/third_party/spirv-tools/test/
Dtext_to_binary.constant_test.cpp98 std::string constant_value; member
109 GetParam().constant_value + "\n"; in TEST_P()
113 << " literal: " << GetParam().constant_value; in TEST_P()
379 GetParam().constant_value + "\n"; in TEST_P()
/third_party/skia/third_party/externals/spirv-tools/test/
Dtext_to_binary.constant_test.cpp98 std::string constant_value; member
109 GetParam().constant_value + "\n"; in TEST_P()
113 << " literal: " << GetParam().constant_value; in TEST_P()
379 GetParam().constant_value + "\n"; in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/
Dtext_to_binary.constant_test.cpp98 std::string constant_value; member
109 GetParam().constant_value + "\n"; in TEST_P()
113 << " literal: " << GetParam().constant_value; in TEST_P()
379 GetParam().constant_value + "\n"; in TEST_P()
/third_party/mindspore/mindspore/lite/src/delegate/tensorrt/op/
Dpad_tensorrt.cc56 constant_value_ = pad_primitive->constant_value(); in IsSupport()
/third_party/node/src/
Dnode.h596 v8::Local<v8::Number> constant_value = \
602 constant_value, \
615 v8::Local<v8::Number> constant_value = \
623 constant_value, \
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/
Dpad_npu.cc86 vector<float> constant_values_data_value = {pad_prim->constant_value()}; in Init()

12