Skip to content

Commit

Permalink
changes ie api
Browse files Browse the repository at this point in the history
  • Loading branch information
rnugmanx committed Oct 27, 2023
1 parent c59c81f commit b1ab9b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
def common_infer_step(device, batch, api_2, input_file_path=None, skip_ir_generation=False, **additional_args):
if api_2:
# return 'reshape' method for setting batch because old 'batch_size' method still not implemented in new API
infer_api = {"ie_sync": {"device": device,
infer_api = {"ie_sync_api_2": {"device": device,
"network_modifiers": {"set_batch_using_reshape_api_2": {"batch": batch}},
**additional_args}}
elif not api_2 and skip_ir_generation:
Expand Down

0 comments on commit b1ab9b9

Please sign in to comment.