MCPcopy Create free account
hub / github.com/apache/tvm / get_version

Function get_version

python/tvm/ir/json_compact.py:22–31  ·  view source on GitHub ↗

Get the tvm version from the json graph. Parameters ---------- jgraph : dict The json graph.

(jgraph)

Source from the content-addressed store, hash-verified

20
21
22def get_version(jgraph):
23 """
24 Get the tvm version from the json graph.
25
26 Parameters
27 ----------
28 jgraph : dict
29 The json graph.
30 """
31 return jgraph["metadata"]["tvm_version"]
32
33
34def create_updater(node_map, from_ver, to_ver):

Callers 2

clml_sdk_versionFunction · 0.85
_updaterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…