Commit 1782164
authored
Fix super invocations for onnx and tflite backends (#30)
The `super()` calls are using the wrong class name. By doing this,
they're skipping the `__init__()` for the actual super class.
This breaks calling `predict()` because `self.lock` has not been
assigned.
The change for the `tflite` backend has been tested. The change for
`onnx` has not been tested, but seems correct.1 parent 7d02594 commit 1782164
2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
0 commit comments