Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/
Dconstant_folding_fusion_test.cc89 auto add_output = std::make_unique<schema::TensorT>(); in BuildGraph() local
90 add_output->nodeType = lite::NodeType_Parameter; in BuildGraph()
91 add_output->format = schema::Format_NHWC; in BuildGraph()
92 add_output->dataType = TypeId::kNumberTypeFloat32; in BuildGraph()
93 add_output->dims = {1, 2, 2, 3}; in BuildGraph()
94 meta_graph->allTensors.emplace_back(std::move(add_output)); in BuildGraph()
132 auto add_output = std::make_unique<schema::TensorT>(); in BuildGraphForOneInput() local
133 add_output->nodeType = lite::NodeType_Parameter; in BuildGraphForOneInput()
134 add_output->format = schema::Format_NHWC; in BuildGraphForOneInput()
135 add_output->dataType = TypeId::kNumberTypeFloat32; in BuildGraphForOneInput()
[all …]
/third_party/mesa3d/src/compiler/glsl/
Dbuiltin_variables.cpp458 ir_variable *add_output(int slot, const glsl_type *type, int precision, in add_output() function in __anon217c19b00111::builtin_variable_generator
464 ir_variable *add_output(int slot, const glsl_type *type, const char *name) in add_output() function in __anon217c19b00111::builtin_variable_generator
466 return add_output(slot, type, GLSL_PRECISION_NONE, name); in add_output()
1186 add_output(VARYING_SLOT_TESS_LEVEL_OUTER, array(float_t, 4), in generate_tcs_special_vars()
1188 add_output(VARYING_SLOT_TESS_LEVEL_INNER, array(float_t, 2), in generate_tcs_special_vars()
1194 add_output(bbox_slot, array(vec4_t, 2), "gl_BoundingBoxEXT") in generate_tcs_special_vars()
1197 add_output(bbox_slot, array(vec4_t, 2), GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1201 add_output(bbox_slot, array(vec4_t, 2), GLSL_PRECISION_HIGH, in generate_tcs_special_vars()
1210 add_output(-1, int_t, "gl_Layer"); in generate_tcs_special_vars()
1211 add_output(-1, int_t, "gl_ViewportIndex"); in generate_tcs_special_vars()
[all …]
/third_party/mindspore/mindspore/ccsrc/transform/express_ir/
Donnx_exporter.cc754 node_proto->add_output(name_shape); in ExportPrimReshape()
769 node_proto->add_output(std::to_string(node_idx)); in ExportPrimReshape()
788 node_proto->add_output(std::to_string(node_idx)); in ExportPrimReduce()
826 node_proto->add_output(std::to_string(node_idx)); in ExportPrimTranspose()
862 node_proto->add_output(name_begin); in ExportPrimStridedSlice()
882 node_proto->add_output(name_end); in ExportPrimStridedSlice()
909 node_proto_axes->add_output(name_axes); in ExportPrimStridedSlice()
923 node_proto->add_output(name_strides); in ExportPrimStridedSlice()
939 node_proto->add_output(std::to_string(node_idx)); in ExportPrimStridedSlice()
975 node_proto_size->add_output(name_size); in ExportPrimResizeNearestNeighbor()
[all …]
Dmindir_exporter.cc388 mind_ir::ValueInfoProto *output_proto = graph_proto->add_output(); in BuildOutput()
499 node_proto->add_output(output_name); in BuildCNode()
538 node_proto->add_output(node_name); in BuildInputNode()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_auto_parallel_transformer.py60 add_output = self.add2(mat_output, self.bias)
61 output = self.activation3(add_output)
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c799 add_output(struct vc4_compile *c, in add_output() function
1621 add_output(c, loc + i, var->data.location, i); in ntq_setup_outputs()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c1086 add_output(struct v3d_compile *c, in add_output() function
2153 add_output(c, loc + var->data.location_frac + i, in ntq_setup_outputs()