Files
apache--tvm/python/tvm/micro/__init__.py
T
Matthew Brookhart dc56eea906 [Support] Add libinfo into the runtime build (#9310)
* Move libinfo into the runtime build

* put libinfo back into libtvm

* limit microtvm imports when we only have the runtime lib

* fix lint

* try conditional for micro import
2021-11-10 16:46:42 -07:00

35 lines
1.3 KiB
Python

# Licensed to the Apache Software Foundation (ASF) under one
# 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.
"""MicroTVM module for bare-metal backends"""
from .build import autotvm_build_func
from .build import AutoTvmModuleLoader
from .build import get_standalone_crt_dir
from .build import get_microtvm_template_projects
from .model_library_format import (
export_model_library_format,
UnsupportedInModelLibraryFormatError,
)
from .project import generate_project, GeneratedProject, TemplateProject
from .session import (
create_local_graph_executor,
create_local_debug_executor,
Session,
SessionTerminatedError,
)
from .transport import TransportLogger