Icemist commented on a change in pull request #9637:
URL: https://github.com/apache/tvm/pull/9637#discussion_r790667298
##########
File path: python/tvm/relay/qnn/op/qnn.py
##########
@@ -14,19 +14,109 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-# pylint: disable=invalid-name
+# pylint: disable=invalid-name,unused-argument, not-context-manager
"""QNN dialect operators."""
from __future__ import absolute_import as _abs
+import tvm
+import tvm.ir
from tvm import relay
+from tvm.runtime import Object
from tvm.relay.expr import Tuple, TupleWrapper
from tvm.relay.op.nn.utils import get_pad_tuple2d
from tvm.topi.nn.qnn import SQNN_DTYPE_TO_CODE
-
+from tvm.target import Target
+from tvm.topi.x86.utils import target_is_x86
from ... import op as reg
from ...op import OpPattern
from . import _make
+from . import _requantize
+
+
+@tvm._ffi.register_object("relay.qnn.op.ReqConfig")
+class ReqConfig(Object):
Review comment:
Renamed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]