We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82ed368 commit e044c63Copy full SHA for e044c63
src/qonnx/custom_op/general/trunc.py
@@ -158,6 +158,11 @@ class Trunc_v1(CustomOp):
158
values.
159
"""
160
161
+ def __init__(self, onnx_node, onnx_opset_version=get_preferred_qonnx_opset()):
162
+ super().__init__(onnx_node, onnx_opset_version)
163
+ # override any specified opset version, this instance is v1
164
+ self.onnx_opset_version = 1
165
+
166
def get_nodeattr_types(self):
167
return {
168
# The rounding mode, which is used for the trunc function
0 commit comments