Skip to content

Commit

Permalink
fix Relay build docstring (apache#7963)
Browse files Browse the repository at this point in the history
  • Loading branch information
hypercubestart authored May 2, 2021
1 parent b2c4f1c commit 08d7345
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions python/tvm/relay/build_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,14 @@ def build(self, mod, target=None, target_host=None, params=None):
Returns
-------
factory_module : tvm.relay.backend.graph_executor_factory.GraphExecutorFactoryModule
The runtime factory for the TVM graph executor.
graph_json : str
The json string that can be accepted by graph executor.
mod : tvm.Module
The module containing necessary libraries.
params : dict
The parameters of the final graph.
"""
target = _update_target(target)
target, target_host = Target.check_and_update_host_consist(
Expand Down Expand Up @@ -245,14 +251,8 @@ def build(ir_mod, target=None, target_host=None, params=None, mod_name="default"
Returns
-------
graph_json : str
The json string that can be accepted by graph executor.
mod : tvm.Module
The module containing necessary libraries.
params : dict
The parameters of the final graph.
factory_module : tvm.relay.backend.graph_executor_factory.GraphExecutorFactoryModule
The runtime factory for the TVM graph executor.
"""
# pylint: enable=line-too-long
# fmt: on
Expand Down

0 comments on commit 08d7345

Please sign in to comment.