Class GraphExecutor

java.lang.Object
org.apache.tvm.contrib.GraphExecutor

public class GraphExecutor extends Object
  • Constructor Details

    • GraphExecutor

      public GraphExecutor()
  • Method Details

    • create

      public static GraphModule create(String graphJson, Module libmod, Device dev)
      Create a runtime executor module given a graph and module.
      Parameters:
      graphJson - The graph deployed in json format output by compiler.
      libmod - The module of the corresponding function.
      dev - The local or remote device to deploy the module.
      Returns:
      Runtime graph module that can be used to execute the graph.