Home
last modified time | relevance | path

Searched refs:AssignAdd (Results 1 – 25 of 54) sorted by relevance

123

/third_party/mindspore/tests/st/ops/gpu/
Dtest_assign_add_op.py25 class AssignAdd(nn.Cell): class
27 super(AssignAdd, self).__init__()
29 self.add = P.AssignAdd()
65 add = AssignAdd(x1)
68 add = AssignAdd(output1)
73 add = AssignAdd(x2)
76 add = AssignAdd(output1)
/third_party/mindspore/mindspore/core/ops/
Dassign_add.h31 class MS_CORE_API AssignAdd : public PrimitiveC {
34 AssignAdd() : PrimitiveC(kNameAssignAdd) { InitIOName({"ref", "value"}, {"output"}); } in AssignAdd() function
36 ~AssignAdd() = default;
37 MS_DECLARE_PARENT(AssignAdd, PrimitiveC);
43 using PrimAssignAddPtr = std::shared_ptr<AssignAdd>;
Dassign_add.cc46 REGISTER_PRIMITIVE_C(kNameAssignAdd, AssignAdd);
/third_party/mindspore/tests/st/ops/cpu/
Dtest_assign_add_op.py25 class AssignAdd(nn.Cell): class
27 super(AssignAdd, self).__init__()
29 self.add = P.AssignAdd()
63 add = AssignAdd(x2)
66 add = AssignAdd(output1)
/third_party/mindspore/tests/ut/python/exec/
Dtest_AssignAdd.py36 self.AssignAdd = P.AssignAdd()
41 out = self.AssignAdd(self.inputdata, x)
88 self.AssignAdd = P.AssignAdd()
93 z1 = self.AssignAdd(self.inputdata, self.one)
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/
Dassign_add_gpu_kernel.cc22AssignAdd, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAtt…
25AssignAdd, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAtt…
28 AssignAdd,
32 AssignAdd,
/third_party/mindspore/tests/st/ops/graph_kernel/
Dtest_assign_add.py25 class AssignAdd(nn.Cell): class
27 super(AssignAdd, self).__init__()
29 self.add = P.AssignAdd()
37 add = AssignAdd(x2)
39 add_2 = AssignAdd(result_gk_on_1)
/third_party/mindspore/tests/st/ops/ascend/test_tbe_ops/
Dtest_AssignAdd.py32 self.AssignAdd = P.AssignAdd()
37 out = self.AssignAdd(self.inputdata, x)
/third_party/mindspore/tests/syntax/simple_expression/
Dtest_assignment_ops.py188 class AssignAdd(nn.Cell): class
190 super(AssignAdd, self).__init__()
193 self.assignadd = P.AssignAdd()
205 assignadd = AssignAdd(result2, input_x)
217 result2 = AssignAdd(result2, input_x)()
228 result2 = AssignAdd(result2, input_x)()
239 result2 = AssignAdd(result2, input_x)()
250 result2 = AssignAdd(result2, input_x)()
261 result2 = AssignAdd(result2, input_x)()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dassign_add_impl.cu21 __global__ void AssignAdd(const size_t size, T* ref, const T* value, T* output) { in AssignAdd() function
31 AssignAdd<<<GET_BLOCKS(size), GET_THREADS, 0, cuda_stream>>>(size, ref, value, output); in CalAssignAdd()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Darithmetic_cpu_kernel.h50 void AssignAdd(T *input1, const T *input2, T *out) const;
116AssignAdd, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAtt…
119AssignAdd, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAtt…
/third_party/mindspore/mindspore/_extends/graph_kernel/expanders/
Dassign_add.py20 class AssignAdd(Expander): class
D__init__.py18 from .assign_add import AssignAdd
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Dassignadd_cpu_kernel.h37 AssignAdd,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/infer/
Dassign_add_infer.c38 REG_INFER(AssignAdd, PrimType_AssignAdd, AssignAddInferShape)
/third_party/mindspore/mindspore/ccsrc/transform/graph_ir/op_declare/
Delewise_calculation_ops_declare.h48 DECLARE_OP_ADAPTER(AssignAdd)
49 DECLARE_OP_USE_OUTPUT(AssignAdd)
Delewise_calculation_ops_declare.cc94 INPUT_MAP(AssignAdd) = {{1, INPUT_DESC(ref)}, {2, INPUT_DESC(value)}};
95 ATTR_MAP(AssignAdd) = EMPTY_ATTR_MAP;
96 OUTPUT_MAP(AssignAdd) = {{0, OUTPUT_DESC(ref)}};
97 REG_ADPT_DESC(AssignAdd, kNameAssignAdd, ADPT_DESC(AssignAdd))
/third_party/mindspore/mindspore/boost/
Dgrad_accumulation.py33 return P.AssignAdd()(cumulative_grad, grad / accumulation_step)
/third_party/mindspore/tests/ut/python/ops/
Dtest_math_ops.py348 class AssignAdd(nn.Cell): class
351 self.op = P.AssignAdd()
470 'block': (P.AssignAdd(), {'exception': ValueError}),
/third_party/mindspore/mindspore/ops/bprop_mindir/
Dgenerate_mindir.py26 … P.Broadcast(1), P.AssignAdd(), P.AssignSub(), P.IsFinite(), P.ApproximateEqual(), P.Sign(),
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dinsert_tensor_move_for_hccl_op.py26 assign_add = P.AssignAdd()
/third_party/mindspore/mindspore/lite/schema/
Dmodel_v0.fbs235 AssignAdd,
/third_party/mindspore/mindspore/lite/src/ops/
Dops_func_declare.h273 FUNC_MSOP2SCHEMAOP_DECLARE(AssignAdd)
Dops_def.cc34 OP_TYPE(AssignAdd)
298 OP_SCHEMA_DEF(AssignAdd)
299 OP_SCHEMA_DEF_END(AssignAdd)
/third_party/mindspore/mindspore/ops/operations/
D__init__.py49 from .math_ops import (Abs, ACos, Asin, Asinh, AddN, AccumulateNV2, AssignAdd, AssignSub, Atan2, Ba…

123