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

Method scope

python/tvm/tirx/buffer.py:161–168  ·  view source on GitHub ↗

Return the storage scope associated with this buffer. Returns ------- scope : str The storage scope associated with this buffer.

(self)

Source from the content-addressed store, hash-verified

159 return _ffi_api.BufferVStore(self, begin, value, predicate) # type: ignore
160
161 def scope(self):
162 """Return the storage scope associated with this buffer.
163 Returns
164 -------
165 scope : str
166 The storage scope associated with this buffer.
167 """
168 return _ffi_api.BufferStorageScope(self) # type: ignore
169
170 def get_flattened_buffer(self):
171 """Generate a Buffer that is a flattened version of this buffer.

Callers 15

viewMethod · 0.95
localMethod · 0.95
permuteMethod · 0.95
check_workspace_bufferFunction · 0.80
alloc_acc_psum_trnFunction · 0.80
matmul_trnFunction · 0.80
transpose_scheduleFunction · 0.80
copy_trnFunction · 0.80
try_find_inst_unaryFunction · 0.80
select_trnFunction · 0.80
try_find_inst_naryFunction · 0.80
reduction_trnFunction · 0.80

Calls

no outgoing calls

Tested by 1

verifyFunction · 0.64