You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/11/12 01:11:00 UTC

[GitHub] [incubator-tvm] tmoreau89 commented on a change in pull request #6901: [TFLite runtime] Allow to set number of threads to TFLite interpreter

tmoreau89 commented on a change in pull request #6901:
URL: https://github.com/apache/incubator-tvm/pull/6901#discussion_r521755615



##########
File path: python/tvm/contrib/tflite_runtime.py
##########
@@ -109,3 +110,12 @@ def get_output(self, index):
             The output index
         """
         return self._get_output(index)
+
+    def set_num_threads(self, num_threads):
+        """Set the number of threads via kwargs
+        Parameters
+        ----------
+        num_threads : int
+           The number of threads
+        """
+        self._set_num_threads(num_threads)

Review comment:
       Makes sense




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org