Skip to content

Commit a7546c7

Browse files
mcremon-metaagrima1304
authored andcommitted
Add ISSRuntimeFailure to improve exception handling
Differential Revision: D79265023 Pull Request resolved: pytorch#13069
1 parent 2dfd2af commit a7546c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/cadence/aot/utils.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ def __init__(self, rms_expected_value: float) -> None:
4545
super().__init__()
4646

4747

48+
class ISSRuntimeFailure(Exception):
49+
pass
50+
51+
4852
# Get the output size of a 1D convolution given the input size and parameters
4953
def get_conv1d_output_size(
5054
in_size: torch.Size,

0 commit comments

Comments
 (0)