Home
last modified time | relevance | path

Searched refs:inputs2 (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/operator/composite/
Dmap.cc104 std::vector<AnfNodePtr> inputs2; in FullMakeList() local
105 inputs2.push_back(fn); in FullMakeList()
107 inputs2.push_back(fn_arg); in FullMakeList()
111 (void)std::transform(arg_pairs.begin(), arg_pairs.end(), std::back_inserter(inputs2), in FullMakeList()
117 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMakeList()
163 std::vector<AnfNodePtr> inputs2; in FullMakeTuple() local
164 inputs2.push_back(fn); in FullMakeTuple()
166 inputs2.push_back(fn_arg); in FullMakeTuple()
170 (void)std::transform(arg_pairs.begin(), arg_pairs.end(), std::back_inserter(inputs2), in FullMakeTuple()
176 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMakeTuple()
[all …]
Dcomposite.cc147 std::vector<AnfNodePtr> inputs2; in FullMake() local
148 inputs2.push_back(fn_rec); in FullMake()
150 inputs2.push_back(fn_arg); in FullMake()
153 (void)std::transform(arg_map.begin(), arg_map.end(), std::back_inserter(inputs2), in FullMake()
159 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMake()
205 std::vector<AnfNodePtr> inputs2; in FullMake() local
206 inputs2.push_back(fn_rec); in FullMake()
208 inputs2.push_back(fn_arg); in FullMake()
211 (void)std::transform(arg_map.begin(), arg_map.end(), std::back_inserter(inputs2), in FullMake()
217 auto call_node = func_graph->NewCNodeInOrder(inputs2); in FullMake()
[all …]
/third_party/mindspore/mindspore/lite/test/ut/nnacl/infer/
Dselect_infer_test.cc187 TensorListC *inputs2 = new TensorListC; in TEST_F() local
188 inputs2->data_type_ = kObjectTypeTensorType; in TEST_F()
189 inputs2->format_ = Format_NHWC; in TEST_F()
190 inputs2->max_elements_num_ = 8; in TEST_F()
191 inputs2->tensors_data_type_ = kNumberTypeInt32; in TEST_F()
192 inputs2->element_shape_size_ = 4; in TEST_F()
193 inputs2->element_shape_[0] = 8; in TEST_F()
194 inputs2->element_shape_[1] = 9; in TEST_F()
195 inputs2->element_shape_[2] = 10; in TEST_F()
196 inputs2->element_shape_[3] = 11; in TEST_F()
[all …]
Dslice_infer_test.cc143 std::vector<int> inputs2 = {2, 2, 3}; in TEST_F() local
144 inputs[2]->data_ = inputs2.data(); in TEST_F()
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_where.cc69 auto inputs2 = TensorConstructUtils::CreateOnesTensor(kNumberTypeInt64, std::vector<int64_t>{1}); in TEST_F() local
72 MS_EXCEPTION_IF_NULL(inputs2); in TEST_F()
73 …auto abstract = where->Infer({inputs0->ToAbstract(), inputs1->ToAbstract(), inputs2->ToAbstract()}… in TEST_F()
Dtest_ops_hashtable_lookup.cc40 …auto inputs2 = TensorConstructUtils::CreateOnesTensor(kNumberTypeFloat32, std::vector<int64_t>{1}); in TEST_F() local
43 MS_EXCEPTION_IF_NULL(inputs2); in TEST_F()
44 …auto abstract = hashtable_lookup->Infer({inputs0->ToAbstract(), inputs1->ToAbstract(), inputs2->To… in TEST_F()
/third_party/mindspore/tests/ut/cpp/parallel/
Dstrategy_test.cc72 Strategys inputs2 = {dimension1}; in TEST_F() local
77 StrategyPtr stra2 = std::make_shared<Strategy>(stage2, inputs2); in TEST_F()
/third_party/mindspore/tests/st/dynamic_shape/
Dtest_getnext_dynamic_pipeline.py41 for inputs1, inputs2 in zip(dataset_helper, valid_dataset.create_dict_iterator()):
43 for elem1, (_, elem2) in zip(outputs, inputs2.items()):
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgen-swizzle-math-operations.py93 def __init__(self, name, swizzle1, swizzle2, inputs1, inputs2, operator, outputs): argument
97 self.inputs = inputs1 + inputs2
/third_party/icu/icu4c/source/test/intltest/
Dlistformattertest.cpp691 const UnicodeString inputs2[] = { in TestCreateStyled() local
695 result = fmt->formatStringsToValue(inputs2, UPRV_LENGTHOF(inputs2), status); in TestCreateStyled()
768 const UnicodeString inputs2[] = { cas.data1, cas.data2 }; in TestContextual() local
769 … FormattedList result = fmt->formatStringsToValue(inputs2, UPRV_LENGTHOF(inputs2), status); in TestContextual()
/third_party/mindspore/tests/st/auto_monad/
Dtest_auto_monad_gpu.py120 inputs2 = np.random.randn(5, 5)
122 self.parameter_b = Parameter(Tensor(inputs2, ms.float32), name="b")
138 inputs2 = np.random.randn(5, 5)
139 net(Tensor(inputs1, ms.float32), Tensor(inputs2, ms.float32))
Dtest_auto_monad_mindtester.py520 inputs2 = Tensor([6.0], ms.float32)
521 net.grad_mindspore_impl(inputs1, inputs2, grad_ys)
687 inputs2 = Tensor([6.0], ms.float32)
689 out1 = net.grad_mindspore_impl(inputs1, inputs2, inputs3, grad_ys)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTypeTests.cpp1132 vector<T> inputs2; in combine() local
1137 inputs2.reserve(total); in combine()
1159 inputs2.push_back(data[elemNdx3]); in combine()
1177 inputs2.push_back(bitCount); in combine()
1191 inputs2.push_back(0); in combine()
1206 inputs2.pop_back(); in combine()
1213 pushResource(resources.inputs, inputs2); in combine()
1218 pushResource(computeResources.inputs, inputs2); in combine()
1241 vector<T> inputs2; in combine() local
1247 inputs2.reserve(total); in combine()
[all …]
/third_party/mindspore/mindspore/ccsrc/utils/
Dconvert_utils.cc156 auto &inputs2 = node2->cast<CNodePtr>()->inputs(); in SameNode() local
158 if (!SameNodeShallow(inputs1[i], inputs2[i], equiv_func_graph, equiv_node)) { in SameNode()
/third_party/mindspore/tests/ut/cpp/optimizer/
Dlib_test.cc532 auto inputs2 = before2->output()->cast<CNodePtr>()->inputs(); in TEST_F() local
533 if (inputs2.size() > 1) { in TEST_F()
534 auto x_node2 = inputs2[1]; in TEST_F()
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/
Dmain.cc623 auto inputs2 = model2->GetInputs(); in RunWithSharedMemoryPool() local
625 predict_ret = model2->Predict(inputs2, &outputs2); in RunWithSharedMemoryPool()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_program.c2859 const struct vc4_fs_inputs *inputs2 = key2; in fs_inputs_compare() local
2861 return (inputs1->num_inputs == inputs2->num_inputs && in fs_inputs_compare()
2863 inputs2->input_slots, in fs_inputs_compare()