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

Method load

tests/python/tvmscript/test_tvmscript_parser_tir.py:221–226  ·  view source on GitHub ↗
(self, x: T.Buffer)

Source from the content-addressed store, hash-verified

219
220 @T.inline
221 def load(self, x: T.Buffer):
222 N, M = T.meta_var(self.local_x.shape)
223 for i, j in T.grid(N, M):
224 with T.sblock("update"):
225 vi, vj = T.axis.remap("SS", [i, j])
226 self.local_x[vi, vj] = x[vi, vj]
227
228 @T.prim_func(private=True, s_tir=True)
229 def func_w_macro(a: T.handle):

Callers 10

add_kernelFunction · 0.45
func_w_macroFunction · 0.45
testMethod · 0.45
download_modelFunction · 0.45
expectedFunction · 0.45
funcFunction · 0.45
create_pr_dictFunction · 0.45
append_and_saveFunction · 0.45
gather_prs.pyFile · 0.45

Calls 1

remapMethod · 0.80

Tested by

no test coverage detected