Home
last modified time | relevance | path

Searched refs:const_zero (Results 1 – 5 of 5) sorted by relevance

/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
Dlamb_apply_weight_assign.py36 const_zero = graph_builder.value(dtype, 0)
42 g_norm_greater_res = graph_builder.emit('Greater', [g_norm, const_zero])
54 w_norm_greater_res = graph_builder.emit('Greater', [w_norm, const_zero])
Drelu.py25 const_zero = graph_builder.value(input_x.dtype, 0)
26 ge_result = graph_builder.emit('Greater', [input_x, const_zero])
Drelu_grad.py27 const_zero = graph_builder.value(input_y.dtype, 0)
28 ge_result = graph_builder.emit('Greater', [input_y, const_zero])
Dsigmoid_cross_entropy_with_logits.py31 const_zero = graph_builder.value(logits.dtype, 0.0)
32 max_logits = graph_builder.emit('Maximum', [logits, const_zero])
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/
Dconvert.cc173 auto const_zero = std::make_shared<Constant>("const/npu_runconfig/zero"); in InitLoopVar() local
175 …(void)const_zero->set_attr_value(GeTensor(desc, reinterpret_cast<uint8_t *>(&value), sizeof(int64_… in InitLoopVar()
180 (void)const_zero->update_output_desc_y(desc); in InitLoopVar()
189 (void)assign_zero->set_input_ref(*var_zero).set_input_value(*const_zero); in InitLoopVar()
202 init_ops_.push_back(const_zero); in InitLoopVar()