Home
last modified time | relevance | path

Searched refs:constant_val (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc315 Value constant_val = add_op.rhs(); in matchAndRewrite() local
316 if (!matchPattern(constant_val, m_Constant(&added_value))) return failure(); in matchAndRewrite()
325 auto constant_val_type = constant_val.getType().cast<TensorType>(); in matchAndRewrite()
373 rewriter.create<AddOp>(add_op.getLoc(), bias, constant_val, none_af) in matchAndRewrite()
378 bias = constant_val; in matchAndRewrite()
383 rewriter.create<AddOp>(add_op.getLoc(), bias, constant_val, none_af) in matchAndRewrite()
446 Value constant_val = mul_op.rhs(); in matchAndRewrite() local
447 if (!matchPattern(constant_val, m_Constant(&cst))) return failure(); in matchAndRewrite()
492 rewriter.create<TF::MulOp>(mul_op.getLoc(), bias, constant_val).z(); in matchAndRewrite()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.h44 uint64_t constant_val, uint32_t bit_width, bool is_signed,
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp232 FindSuitableStepAndInitialValueConstants(uint64_t constant_val, in FindSuitableStepAndInitialValueConstants() argument
241 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.h46 uint64_t constant_val, uint32_t bit_width, bool is_signed,
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp235 FindSuitableStepAndInitialValueConstants(uint64_t constant_val, in FindSuitableStepAndInitialValueConstants() argument
244 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.h46 uint64_t constant_val, uint32_t bit_width, bool is_signed,
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp235 FindSuitableStepAndInitialValueConstants(uint64_t constant_val, in FindSuitableStepAndInitialValueConstants() argument
244 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants()