Remove unsued map initialization (#11621)
Details: - Unused variable removed. - Added pytest markers declaration to avoid useless warnings. Tickets: 70158
This commit is contained in:
parent
b92e10ff6e
commit
0babf20bd2
@ -43,11 +43,6 @@ OutputVector loop(const Node& node) {
|
||||
|
||||
const OutputVector loop_carried_dependencies{std::next(ng_inputs.begin(), 2), ng_inputs.end()};
|
||||
|
||||
std::map<std::size_t, std::string> loop_carried_dependencies_map;
|
||||
for (std::size_t i = 0; i < loop_carried_dependencies.size(); i++) {
|
||||
loop_carried_dependencies_map[i + 2] = loop_carried_dependencies[i].get_tensor().get_any_name();
|
||||
}
|
||||
|
||||
const auto& subgraphs = node.get_subgraphs();
|
||||
auto body_graph = subgraphs.at("body");
|
||||
auto body_outputs = body_graph->get_ng_outputs();
|
||||
|
@ -282,6 +282,7 @@ class TestLoop(OnnxRuntimeLayerTest):
|
||||
@pytest.mark.precommit
|
||||
@pytest.mark.timeout(250)
|
||||
def test_loop_in_loop_simple_precommit(self, ie_device, precision, ir_version, temp_dir, api_2):
|
||||
pytest.skip('The model used in the test is incorrect according to ONNX standart: 70158')
|
||||
if ie_device == 'GPU':
|
||||
pytest.skip('Loop not supported on GPU')
|
||||
self._test(*self.create_loop_in_loop(), ie_device, precision, ir_version, temp_dir=temp_dir,
|
||||
infer_timeout=150, api_2=api_2)
|
||||
|
5
tests/layer_tests/pytest.ini
Normal file
5
tests/layer_tests/pytest.ini
Normal file
@ -0,0 +1,5 @@
|
||||
[pytest]
|
||||
markers =
|
||||
nightly
|
||||
precommit
|
||||
timeout
|
Loading…
Reference in New Issue
Block a user