Skip to content

Commit

Permalink
[0.12.1 cherrypick] ORT scheduler fix (#347)
Browse files Browse the repository at this point in the history
* Add scheduler property to ort_engine (#345)

* Update ort_engine.py
  • Loading branch information
mgoin committed May 4, 2022
1 parent 32addc6 commit b030881
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/deepsparse/benchmark/ort_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ def num_cores(self) -> int:
"""
return self._num_cores if self._num_cores else NUM_CORES

@property
def scheduler(self):
"""
:return: The kind of scheduler to execute with
"""
return None

def run(
self,
inp: List[numpy.ndarray],
Expand Down

0 comments on commit b030881

Please sign in to comment.