tvm icon indicating copy to clipboard operation
tvm copied to clipboard

[TVMScript] Printer VarTable

Open yelite opened this issue 3 years ago • 0 comments
trafficstars

This PR:

  • Adds VarTable for the new TVMScript Printer

Compared to the prototype version, this:

  • Removes unnecessary public methods.
    • GetObjectName
    • GetUniqueName
  • Changes DocFactory from ExprDoc(ObjectPath) to ExprDoc() to simplify var definition.
  • Removes the dependency on TracedObject to be FFI friendly

It's in draft state because it's branched off from a pending PR #12237

Tracking issue: https://github.com/apache/tvm/issues/11912

cc @junrushao1994 @gbonik

yelite avatar Aug 08 '22 15:08 yelite