Home
last modified time | relevance | path

Searched refs:PushBack (Results 1 – 25 of 51) sorted by relevance

123

/third_party/mindspore/mindspore/ccsrc/frontend/parallel/ops_info/
Dunique_info.cc132 …auto sub = gen_g.PushBack({gen_g.NewOpInst(SUB), gen_g.virtual_input_node(), CreateInt32Tensor(bia… in ComputeReplaceGraph()
133 auto relu = gen_g.PushBack({gen_g.NewOpInst(RELU), sub}); in ComputeReplaceGraph()
134 …auto minimum = gen_g.PushBack({gen_g.NewOpInst(MINIMUM), relu, CreateInt32Tensor(slice_size - 1)}); in ComputeReplaceGraph()
135 auto equal = gen_g.PushBack({gen_g.NewOpInst(EQUAL), sub, minimum}); in ComputeReplaceGraph()
136 auto unique = gen_g.PushBack({gen_g.NewOpInst(replace_op_name_), gen_g.virtual_input_node()}); in ComputeReplaceGraph()
139 …auto tuple_getitem_0 = gen_g.PushBack({gen_g.NewOpInst(tuple_getitem_op), unique, CreatInt64Imm(0)… in ComputeReplaceGraph()
140 …auto tuple_getitem_1 = gen_g.PushBack({gen_g.NewOpInst(tuple_getitem_op), unique, CreatInt64Imm(1)… in ComputeReplaceGraph()
141 auto dtype = gen_g.PushBack({gen_g.NewOpInst(DTYPE), tuple_getitem_1}); in ComputeReplaceGraph()
142 auto cast = gen_g.PushBack({gen_g.NewOpInst(CAST), equal, dtype}); in ComputeReplaceGraph()
143 auto mul = gen_g.PushBack({gen_g.NewOpInst(MUL), tuple_getitem_1, cast}); in ComputeReplaceGraph()
[all …]
Donehot_info.cc182 …gen_g.PushBack({gen_g.NewOpInst(FLOORDIV), gen_g.virtual_input_node(), CreateInt32Tensor(classes_e… in ComputeReplaceGraph()
183 …auto mul1 = gen_g.PushBack({gen_g.NewOpInst(MUL), floor_div, CreateInt32Tensor(classes_each_device… in ComputeReplaceGraph()
184 auto sub1 = gen_g.PushBack({gen_g.NewOpInst(SUB), gen_g.virtual_input_node(), mul1}); in ComputeReplaceGraph()
185 auto equal = gen_g.PushBack({gen_g.NewOpInst(EQUAL), floor_div, CreateInt32Tensor(mod_rank_)}); in ComputeReplaceGraph()
186 auto cast = gen_g.PushBack({gen_g.NewOpInst(CAST), equal, CreatTypeInt(32)}); in ComputeReplaceGraph()
187 auto mul2 = gen_g.PushBack({gen_g.NewOpInst(MUL), sub1, cast}); in ComputeReplaceGraph()
188 auto tensor_add = gen_g.PushBack({gen_g.NewOpInst(ADD), mul2, CreateInt32Tensor(1)}); in ComputeReplaceGraph()
189 auto mul3 = gen_g.PushBack({gen_g.NewOpInst(MUL), cast, tensor_add}); in ComputeReplaceGraph()
190 auto sub2 = gen_g.PushBack({gen_g.NewOpInst(SUB), mul3, CreateInt32Tensor(1)}); in ComputeReplaceGraph()
193 …auto onehot = gen_g.PushBack({gen_g.NewOpInst(ONEHOT, attrs_onehot), sub2, CreatInt64Imm(classes_e… in ComputeReplaceGraph()
Dunsorted_segment_op_info.cc282 …auto segment_min = gen_g.PushBack({gen_g.NewOpInst(UNSORTED_SEGMENT_MIN), gen_g.virtual_input_node… in ComputeReplaceGraph()
284 …auto expandim_output = gen_g.PushBack({gen_g.NewOpInst(EXPAND_DIMS), segment_min, CreatInt64Imm(0)… in ComputeReplaceGraph()
285 auto all_gather_output = gen_g.PushBack({gen_g.NewOpInst(ALL_GATHER), expandim_output}); in ComputeReplaceGraph()
286 …auto final_output = gen_g.PushBack({gen_g.NewOpInst(REDUCE_MIN), all_gather_output, CreatInt64Imm(… in ComputeReplaceGraph()
316 …auto segment_max = gen_g.PushBack({gen_g.NewOpInst(UNSORTED_SEGMENT_MAX), gen_g.virtual_input_node… in ComputeReplaceGraph()
318 …auto expandim_output = gen_g.PushBack({gen_g.NewOpInst(EXPAND_DIMS), segment_max, CreatInt64Imm(0)… in ComputeReplaceGraph()
319 auto all_gather_output = gen_g.PushBack({gen_g.NewOpInst(ALL_GATHER), expandim_output}); in ComputeReplaceGraph()
320 …auto final_output = gen_g.PushBack({gen_g.NewOpInst(REDUCE_MAX), all_gather_output, CreatInt64Imm(… in ComputeReplaceGraph()
Dgather_v2_p_info.cc760 …gen_g.PushBack({gen_g.NewOpInst(SUB), gen_g.virtual_input_node(), CreateInt32Tensor(index_offset_)… in ComputeReplaceGraph()
762 …gen_g.PushBack({gen_g.NewOpInst(replace_op_name_), gen_g.virtual_input_node(), sub_node, CreatInt6… in ComputeReplaceGraph()
774 …auto sub = gen_g.PushBack({gen_g.NewOpInst(SUB), gen_g.virtual_input_node(), CreateInt32Tensor(bia… in ComputeReplaceGraph()
775 auto relu = gen_g.PushBack({gen_g.NewOpInst(RELU), sub}); in ComputeReplaceGraph()
776 …auto minimum = gen_g.PushBack({gen_g.NewOpInst(MINIMUM), relu, CreateInt32Tensor(slice_size_ - 1)}… in ComputeReplaceGraph()
777 auto equal = gen_g.PushBack({gen_g.NewOpInst(EQUAL), sub, minimum}); in ComputeReplaceGraph()
779 …gen_g.PushBack({gen_g.NewOpInst(replace_op_name_), gen_g.virtual_input_node(), minimum, CreatInt64… in ComputeReplaceGraph()
780 auto dtype = gen_g.PushBack({gen_g.NewOpInst(DTYPE), gather_v2}); in ComputeReplaceGraph()
781 auto cast = gen_g.PushBack({gen_g.NewOpInst(CAST), equal, dtype}); in ComputeReplaceGraph()
782 auto expand_dims = gen_g.PushBack({gen_g.NewOpInst(EXPAND_DIMS), cast, CreatInt64Imm(axis_ - 1)}); in ComputeReplaceGraph()
[all …]
Dconv2d_info.cc711 return gen_g_.PushBack({gen_g_.NewOpInst(node_name, conv2d_attrs), new_input, cnode->input(2)}); in GenerateConv2DNode()
718 …return gen_g_.PushBack({gen_g_.NewOpInst(node_name, conv2d_attrs), new_input, cnode->input(2), cno… in GenerateConv2DNode()
743 …auto slice_left = gen_g_.PushBack({gen_g_.NewOpInst(STRIDED_SLICE), gen_g_.virtual_input_node(), s… in ComputeReplaceGraph()
752 …auto slice_right = gen_g_.PushBack({gen_g_.NewOpInst(STRIDED_SLICE), gen_g_.virtual_input_node(), … in ComputeReplaceGraph()
760 …auto alltoall_v = gen_g_.PushBack({gen_g_.NewOpInst(NEIGHBOREXCHANGE, alltoall_attrs), make_tuple_… in ComputeReplaceGraph()
773 auto concat_l = gen_g_.PushBack({gen_g_.NewOpInst(CONCAT, concat_attrs), make_tuple_l}); in ComputeReplaceGraph()
781 auto concat_r = gen_g_.PushBack({gen_g_.NewOpInst(CONCAT, concat_attrs), make_tuple_r}); in ComputeReplaceGraph()
795 auto concat_r_1 = gen_g_.PushBack({gen_g_.NewOpInst(CONCAT, concat_attrs), make_tuple_r_1}); in ComputeReplaceGraph()
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/runner/
DHistogramWriter.cpp134 values.PushBack(valueStr, allocator); in getAsJSON()
155 sampleValues.PushBack(sample, allocator); in getAsJSON()
171 binBoundaries.PushBack(binSpec, allocator); in getAsJSON()
214 stats.PushBack(count, allocator); in getAsJSON()
215 stats.PushBack(max, allocator); in getAsJSON()
216 stats.PushBack(meanlogs, allocator); in getAsJSON()
217 stats.PushBack(mean, allocator); in getAsJSON()
218 stats.PushBack(min, allocator); in getAsJSON()
219 stats.PushBack(sum, allocator); in getAsJSON()
220 stats.PushBack(variance, allocator); in getAsJSON()
[all …]
/third_party/flutter/engine/flutter/shell/common/
Drun_configuration.cc22 asset_manager->PushBack(std::make_unique<DirectoryAssetBundle>( in InferFromSettings()
26 asset_manager->PushBack( in InferFromSettings()
60 asset_manager_->PushBack(std::move(resolver)); in AddAssetResolver()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Djson_method_codec.cc106 envelope.PushBack(result_value, envelope.GetAllocator()); in EncodeSuccessEnvelopeInternal()
123 envelope.PushBack(rapidjson::Value(error_code, allocator), allocator); in EncodeErrorEnvelopeInternal()
124 envelope.PushBack(rapidjson::Value(error_message, allocator), allocator); in EncodeErrorEnvelopeInternal()
129 envelope.PushBack(details_value, allocator); in EncodeErrorEnvelopeInternal()
/third_party/protobuf/csharp/src/Google.Protobuf/
DJsonTokenizer.cs84 internal void PushBack(JsonToken token) in PushBack() method in Google.Protobuf.JsonTokenizer
450 reader.PushBack(initialCharacter); in ReadNumber()
468 reader.PushBack(next.Value); in ReadNumber()
527 reader.PushBack(next.Value); in ReadExp()
746 internal void PushBack(char c) in PushBack() method in Google.Protobuf.JsonTokenizer.JsonTextTokenizer.PushBackReader
DJsonParser.cs236 tokenizer.PushBack(token); in MergeField()
269 tokenizer.PushBack(token); in MergeRepeatedField()
357 tokenizer.PushBack(token); in ParseSingleValue()
468 tokenizer.PushBack(firstToken); in MergeStructValue()
477 tokenizer.PushBack(firstToken); in MergeStructValue()
494 tokenizer.PushBack(token); in MergeStruct()
/third_party/openh264/test/utils/
DBufferedData.h18 bool PushBack (uint8_t c) { in PushBack() function
26 bool PushBack (const uint8_t* data, size_t len) { in PushBack() function
/third_party/node/src/
Dhandle_wrap.cc108 env()->handle_wrap_queue()->PushBack(this); in MarkAsInitialized()
129 env->handle_wrap_queue()->PushBack(this); in HandleWrap()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/
Dtext_input_model.cc160 args->PushBack(client_id_, allocator); in GetState()
177 args->PushBack(editing_state, allocator); in GetState()
/third_party/flutter/engine/flutter/shell/platform/glfw/
Dtext_input_plugin.cc204 args->PushBack(model->client_id(), allocator); in EnterPressed()
205 args->PushBack(rapidjson::Value(model->input_action(), allocator).Move(), in EnterPressed()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dtext_input_plugin.cc205 args->PushBack(model->client_id(), allocator); in EnterPressed()
206 args->PushBack(rapidjson::Value(model->input_action(), allocator).Move(), in EnterPressed()
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/
DJsonTokenizerTest.cs126 tokenizer.PushBack(token); in ObjectDepth_WithPushBack()
135 tokenizer.PushBack(token); in ObjectDepth_WithPushBack()
348 tokenizer.PushBack(JsonToken.EndDocument); in CanPushBackEndDocument()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
DJsonTokenizerTest.cs126 tokenizer.PushBack(token); in ObjectDepth_WithPushBack()
135 tokenizer.PushBack(token); in ObjectDepth_WithPushBack()
348 tokenizer.PushBack(JsonToken.EndDocument); in CanPushBackEndDocument()
/third_party/flutter/engine/flutter/assets/
Dasset_manager.h26 void PushBack(std::unique_ptr<AssetResolver> resolver);
Dasset_manager.cc24 void AssetManager::PushBack(std::unique_ptr<AssetResolver> resolver) { in PushBack() function in flutter::AssetManager
/third_party/flutter/engine/flutter/shell/testing/
Dtester_main.cc144 asset_manager->PushBack(std::make_unique<flutter::DirectoryAssetBundle>( in RunTester()
146 asset_manager->PushBack( in RunTester()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/graph_util/
Dgenerate_graph.h56 AnfNodePtr PushBack(const std::vector<AnfNodePtr> &inputs);
/third_party/skia/third_party/externals/angle2/src/common/serializer/
DJsonSerializer.h80 arr.PushBack(v, mAllocator);
/third_party/skia/third_party/externals/angle2/src/common/
DFixedVector_unittest.cpp59 TEST(FixedVector, PushBack) in TEST() argument
/third_party/flutter/skia/third_party/externals/angle2/src/common/
DFixedVector_unittest.cpp59 TEST(FixedVector, PushBack) in TEST() argument
/third_party/node/test/cctest/
Dtest_util.cc26 list.PushBack(&one); in TEST()
39 list.PushBack(&two); in TEST()

123