Home
last modified time | relevance | path

Searched refs:instance_name (Results 1 – 25 of 35) sorted by relevance

12

/third_party/mindspore/mindspore/ops/_grad/
Dgrad_comm_ops.py39 if self.instance_name:
40 instance_name = "grad" + self.instance_name
41 all_reduce_grad.set_prim_instance_name(instance_name)
173 if self.instance_name:
174 instance_name = "grad_mirror" + self.instance_name
175 all_reduce.set_prim_instance_name(instance_name)
218 if self.instance_name:
219 instance_name = "grad_" + self.instance_name
220 reduce_scatter.set_prim_instance_name(instance_name)
241 if self.instance_name:
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cpp.cpp35 auto instance_name = to_name(var.self); in emit_buffer_block() local
43 …statement("internal::Resource<", buffer_name, type_to_array_glsl(type), "> ", instance_name, "__;"… in emit_buffer_block()
44 statement_no_indent("#define ", instance_name, " __res->", instance_name, "__.get()"); in emit_buffer_block()
46 join("s.register_resource(", instance_name, "__", ", ", descriptor_set, ", ", binding, ");")); in emit_buffer_block()
58 auto instance_name = to_name(var.self); in emit_interface_block() local
71 …statement("internal::", qual, "<", buffer_name, type_to_array_glsl(type), "> ", instance_name, "__… in emit_interface_block()
72 statement_no_indent("#define ", instance_name, " __res->", instance_name, "__.get()"); in emit_interface_block()
73 …resource_registrations.push_back(join("s.register_", lowerqual, "(", instance_name, "__", ", ", lo… in emit_interface_block()
81 auto instance_name = to_name(var.self); in emit_shared() local
83 statement_no_indent("#define ", instance_name, " __res->", instance_name); in emit_shared()
[all …]
/third_party/boost/boost/msm/front/euml/
Dcommon.hpp2456 #define BOOST_MSM_EUML_ACTION(instance_name) … argument
2457 struct instance_name ## _impl; \
2458 …struct instance_name ## _helper : boost::msm::front::euml::euml_action<instance_name ## _impl> …
2460 instance_name ## _helper(){} \
2461 typedef instance_name ## _impl action_name; \
2463 static instance_name ## _helper instance_name; \
2464 struct instance_name ## _impl : instance_name ## _helper
2466 #define BOOST_MSM_EUML_DECLARE_ACTION(instance_name) … argument
2467 struct instance_name ; \
2468 struct instance_name ## _helper : boost::msm::front::euml::euml_action<instance_name > \
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dgenerate_graph.cc53 …stance(const OperatorAttrs &attrs, const OperatorName &op_name, const std::string &instance_name) { in CreatOpInstance() argument
64 …dapter::CallPyFn(GET_OP_FUNCTION_PATH, GET_OP_FUNCTION, op_name, op_path, instance_name, arg_list); in CreatOpInstance()
116 std::string instance_name = prim->instance_name(); in GetInstanceNameByCNode() local
117 return HashInstanceName(instance_name); in GetInstanceNameByCNode()
122 std::string instance_name; in HashInstanceName() local
124 instance_name = HashName(name); in HashInstanceName()
126 instance_name = name; in HashInstanceName()
128 return instance_name; in HashInstanceName()
Dgenerate_graph.h38 …nstance(const OperatorAttrs &attrs, const OperatorName &op_name, const std::string &instance_name);
/third_party/gstreamer/gstplugins_bad/gst/camerabin2/
Dcamerabingeneral.c157 const gchar * instance_name) in gst_camerabin_create_and_add_element() argument
164 new_elem = gst_element_factory_make (elem_name, instance_name); in gst_camerabin_create_and_add_element()
199 const gchar * instance_name) in gst_camerabin_setup_default_element() argument
209 elem = gst_element_factory_make (auto_elem_name, instance_name); in gst_camerabin_setup_default_element()
215 elem = gst_element_factory_make (default_elem_name, instance_name); in gst_camerabin_setup_default_element()
Dcamerabingeneral.h30 …erabin_create_and_add_element (GstBin * bin, const gchar * elem_name, const gchar * instance_name);
/third_party/NuttX/drivers/usbdev/gadget/fconfig/src/
Dusbd_config.c527 char *instance_name = NULL; in fconfig_do_make_function() local
531 instance_name = strchr(func_name, '.'); in fconfig_do_make_function()
532 if (instance_name == NULL) in fconfig_do_make_function()
537 *instance_name = '\0'; in fconfig_do_make_function()
538 instance_name++; in fconfig_do_make_function()
555 obj_name = usbm_strdup(&func_inst->obj, instance_name); in fconfig_do_make_function()
587 char *instance_name = NULL; in fconfig_do_drop_function() local
590 instance_name = strchr(func_name, '.'); in fconfig_do_drop_function()
591 if (instance_name == NULL) in fconfig_do_drop_function()
596 *instance_name = '\0'; in fconfig_do_drop_function()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/
Dstep_parallel_utils.cc159 std::string instance_name = HashInstanceName(name); in CreateInstanceName() local
160 return instance_name; in CreateInstanceName()
186 std::vector<AnfNodePtr> ReplaceOpInput(const Operator &replace_op, const std::string &instance_name, in ReplaceOpInput() argument
189 ValuePtr pyop_instance = CreatOpInstance(arg_replace_op.first, replace_op.first, instance_name); in ReplaceOpInput()
Dstep_parallel.cc101 …odePtr> CreateInput(const Operator &op, const AnfNodePtr &node, const std::string &instance_name) { in CreateInput() argument
104 ValuePtr pyop_instance = CreatOpInstance(arg_forward.first, op.first, instance_name); in CreateInput()
124 … const std::string &instance_name, const std::string &weight_name) { in CreateMirrorInput() argument
166 ValuePtr pyop_instance = CreatOpInstance(arg_forward.first, op_name, instance_name); in CreateMirrorInput()
198 …const FuncGraphPtr &func_graph, const std::string &instance_name, const std::string &param_name = … in InsertNode() argument
207 node_input = CreateMirrorInput(root, op, pre_node, instance_name, param_name); in InsertNode()
209 node_input = CreateInput(op, pre_node, instance_name); in InsertNode()
213 if (instance_name.find(SPLIT_SENS) == std::string::npos) { in InsertNode()
219 new_node_prim->set_instance_name(instance_name); in InsertNode()
221 if (instance_name.find(NOT_RECOMPUTE) != std::string::npos) { in InsertNode()
[all …]
Dstep_parallel_utils.h33 std::vector<AnfNodePtr> ReplaceOpInput(const Operator &replace_op, const std::string &instance_name,
Dstep_parallel.h57 …NodePtr> CreateInput(const Operator &op, const AnfNodePtr &node, const std::string &instance_name);
/third_party/mindspore/mindspore/ops/
Dprimitive.py92 cloned.set_prim_instance_name(self.instance_name)
183 def set_prim_instance_name(self, instance_name): argument
199 self.set_instance_name(instance_name)
200 self.instance_name = instance_name
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/
Dadjust_depend_for_parallel_optimizer_recompute_all_gather.cc39 auto instance_name = primitive->instance_name(); in Run() local
43 bool is_from_parallel_optimizer = instance_name.find("parallel_optimizer") != std::string::npos; in Run()
/third_party/grpc/src/core/ext/xds/
Dxds_api.h147 std::string instance_name; member
151 return instance_name == other.instance_name &&
Dxds_server_config_fetcher.cc159 .validation_context_certificate_provider_instance.instance_name; in UpdateXdsCertificateProvider()
181 .tls_certificate_certificate_provider_instance.instance_name; in UpdateXdsCertificateProvider()
Dxds_bootstrap.h106 grpc_error* ParseCertificateProvider(const std::string& instance_name,
Dxds_bootstrap.cc490 const std::string& instance_name, Json* certificate_provider_json) { in ParseCertificateProvider() argument
525 {instance_name, {std::move(plugin_name), std::move(config)}}); in ParseCertificateProvider()
532 absl::StrCat("errors parsing element \"", instance_name, "\"").c_str()); in ParseCertificateProvider()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Drecompute.cc355 auto instance_name = prim->instance_name(); in NewRecomputedNode() local
356 … bool is_from_parallel_optimizer = instance_name.find("parallel_optimizer") != std::string::npos; in NewRecomputedNode()
363 new_prim->set_instance_name(instance_name); in NewRecomputedNode()
/third_party/mesa3d/src/compiler/glsl/
Dast.h1258 ast_interface_block(const char *instance_name, in ast_interface_block() argument
1260 : block_name(NULL), instance_name(instance_name), in ast_interface_block()
1278 const char *instance_name; variable
/third_party/mindspore/mindspore/parallel/
D_utils.py257 def _get_python_op(op_name, op_path, instance_name, arglist): argument
265 op.set_prim_instance_name(instance_name)
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Ddropout_do_mask_info.cc276 std::string instance_name = CreateInstanceName(node, 0); in ReplaceOneOp() local
278 replace_input = ReplaceOpInput(replace_op, instance_name, node); in ReplaceOneOp()
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
Dindex.js153 createMovieClip : function(target_mc, instance_name, depth) { argument
155 var qr_mc = target_mc.createEmptyMovieClip(instance_name, depth);
/third_party/flatbuffers/src/
Didl_gen_python.cpp1042 auto instance_name = MakeLowerCamel(struct_def); in InitializeFromBuf() local
1047 code += GenIndents(2) + instance_name + " = " + struct_name + "()"; in InitializeFromBuf()
1048 code += GenIndents(2) + instance_name + ".Init(buf, pos)"; in InitializeFromBuf()
1049 code += GenIndents(2) + "return cls.InitFromObj(" + instance_name + ")"; in InitializeFromBuf()
1056 auto instance_name = MakeLowerCamel(struct_def); in InitializeFromObjForObject() local
1060 code += GenIndents(1) + "def InitFromObj(cls, " + instance_name + "):"; in InitializeFromObjForObject()
1062 code += GenIndents(2) + "x._UnPack(" + instance_name + ")"; in InitializeFromObjForObject()
/third_party/mindspore/mindspore/core/ir/
Dprimitive.h106 std::string instance_name() const { return instance_name_; } in instance_name() function

12