Home
last modified time | relevance | path

Searched refs:tensor_names (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/tests/st/graph_kernel/model/
Dgraph_kernel_split.py88 tensor_names = part.split(',')
90 g = graph_in.extract_subgraph(graph_name, tensor_names)
91 assert len(g.ops) == len(tensor_names)
93 all_tensors += tensor_names
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/fp32_grad/
Dnetwork_test.cc157 auto tensor_names = session->GetOutputTensorNames(); in TEST_F() local
160 EXPECT_EQ(tensor_names.size(), 1); in TEST_F()
161 …EXPECT_EQ(tensor_names.at(0), "Default/network-WithLossCell/_backbone-LeNet5/fc3-Dense/BiasAdd-op1… in TEST_F()
178 auto tensor_names = session->GetOutputTensorNames(); in TEST_F() local
180 …EXPECT_EQ(tensor_names.at(0), "Default/network-WithLossCell/_backbone-LeNet5/max_pool2d-MaxPool2d/… in TEST_F()
/third_party/mindspore/mindspore/_extends/graph_kernel/model/
Dmodel.py408 def extract_subgraph(self, graph_name, tensor_names, difference=False): argument
411 outputs = set(tensor_names)
/third_party/mindspore/mindspore/lite/examples/runtime_cpp/
Dmain.cc198 auto tensor_names = model->GetOutputTensorNames(); in GetOutputByTensorName() local
199 for (const auto &tensor_name : tensor_names) { in GetOutputByTensorName()