Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
akuporos committed Nov 4, 2024
1 parent af30f73 commit 0d8c529
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_export_import_via_file(prepare_blob_path, device):

compiled_model.export_model(user_stream)
path_to_blob = prepare_blob_path

with open(path_to_blob, "wb") as f_w:
f_w.write(user_stream.getbuffer())

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ def test_fused_names_cleanup():

def prepare_test_model_for_serialize(request, tmp_path, is_path_xml, is_path_bin):
xml_path, bin_path = create_filenames_for_ir(request.node.name,
tmp_path,
is_path_xml,
is_path_bin)
tmp_path,
is_path_xml,
is_path_bin)
shape = [100, 100, 2]
parameter_a = ov.opset8.parameter(shape, dtype=np.float32, name="A")
parameter_b = ov.opset8.parameter(shape, dtype=np.float32, name="B")
Expand Down Expand Up @@ -268,9 +268,9 @@ def test_compress_model_transformation():
def test_version_default(request, tmp_path, is_path_xml, is_path_bin):
core = Core()
xml_path, bin_path = create_filenames_for_ir(request.node.name,
tmp_path,
is_path_xml,
is_path_bin)
tmp_path,
is_path_xml,
is_path_bin)
shape = [100, 100, 2]
parameter_a = ov.opset8.parameter(shape, dtype=np.float32, name="A")
parameter_b = ov.opset8.parameter(shape, dtype=np.float32, name="B")
Expand Down Expand Up @@ -298,9 +298,9 @@ def test_version_default(request, tmp_path, is_path_xml, is_path_bin):
)
def test_serialize_default_bin(request, tmp_path, is_path_xml, is_path_bin):
xml_path, bin_path = create_filenames_for_ir(request.node.name,
tmp_path,
is_path_xml,
is_path_bin)
tmp_path,
is_path_xml,
is_path_bin)
model = get_relu_model()
serialize(model, xml_path)
assert os.path.exists(bin_path)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ def test_low_latency2():
def test_serialize_pass(request, tmp_path, is_path_xml, is_path_bin):
core = Core()
xml_path, bin_path = create_filenames_for_ir(request.node.name,
tmp_path,
is_path_xml,
is_path_bin)
tmp_path,
is_path_xml,
is_path_bin)

model = get_relu_model()

Expand Down

0 comments on commit 0d8c529

Please sign in to comment.