This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 47a0b4558e Add _ffi_api.py under script folder (#16087)
47a0b4558e is described below

commit 47a0b4558ef52d229e11f51ab525472dcc13bf1c
Author: Hongyi Jin <[email protected]>
AuthorDate: Wed Nov 8 09:01:47 2023 -0800

    Add _ffi_api.py under script folder (#16087)
    
    Add _ffi_api.py under script folder so that user can call script.Complete 
in python.
---
 python/tvm/script/_ffi_api.py | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/python/tvm/script/_ffi_api.py b/python/tvm/script/_ffi_api.py
new file mode 100644
index 0000000000..ebc638f3fd
--- /dev/null
+++ b/python/tvm/script/_ffi_api.py
@@ -0,0 +1,20 @@
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+"""FFI APIs for tvm.script"""
+import tvm._ffi
+
+
+tvm._ffi._init_api("script", __name__)

Reply via email to