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

Function create_model

tests/python/nightly/test_nnapi/test_ops.py:78–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 remote_obj, tracker = remote()
77
78 def create_model() -> tvm.IRModule:
79 @tvm.script.ir_module
80 class Module:
81 @R.function
82 def main(i0: R.Tensor((1, 2, 8, 5), "float32")) -> R.Tensor((1, 2, 8, 5), "float32"):
83 with R.dataflow():
84 t0 = op(i0)
85 R.output(t0)
86 return t0
87
88 return Module
89
90 mod = create_model()
91 verify(

Callers 9

test_unaryFunction · 0.70
test_elementwise_binaryFunction · 0.70
test_divideFunction · 0.70
test_matmulFunction · 0.70
test_permute_dimsFunction · 0.70
test_astypeFunction · 0.70
test_meanFunction · 0.70
test_conv2dFunction · 0.70
test_max_pool2dFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…