comaniac commented on a change in pull request #6279:
URL: https://github.com/apache/incubator-tvm/pull/6279#discussion_r475776056



##########
File path: tests/python/contrib/test_arm_compute_lib/infrastructure.py
##########
@@ -99,6 +95,24 @@ def _get_remote(cls):
 
         return device
 
+    @classmethod
+    def load(cls, file_name):
+        """Load test config
+
+        Load the test configuration by looking for file_name relative
+        to the test_arm_compute_lib directory.
+        """
+        location = os.path.realpath(os.path.join(os.getcwd(), 
os.path.dirname(__file__)))
+        with open(os.path.join(location, file_name), mode="r") as config:

Review comment:
       Make sure the file exists.




----------------------------------------------------------------
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:
[email protected]


Reply via email to