You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Arm backend: Convert assert to throw ValueError in op_tanh (#9896)
Asserts are converted to proper raises to ensure graph integrity.
It should not be possible for tanh to have more than 1 input for a
correctly formatted graph, but in the node visitor we cannot know for
sure that the graph is formatted correctly.
torch.tanh supports more data types than fp32, which is why it should be
checked.
Signed-off-by: Sebastian Larsson <[email protected]>
0 commit comments