MCPcopy Index your code
hub / github.com/apache/tvm / remove

Method remove

python/tvm/rpc/client.py:138–148  ·  view source on GitHub ↗

Remove file from remote temp folder. Parameters ---------- path: str The relative location to remote temp folder.

(self, path)

Source from the content-addressed store, hash-verified

136 return self._remote_funcs["download"](path)
137
138 def remove(self, path):
139 """Remove file from remote temp folder.
140
141 Parameters
142 ----------
143 path: str
144 The relative location to remote temp folder.
145 """
146 if "remove" not in self._remote_funcs:
147 self._remote_funcs["remove"] = self.get_function("tvm.rpc.server.remove")
148 self._remote_funcs["remove"](path)
149
150 def listdir(self, path):
151 """ls files from remote temp folder.

Callers 7

extern_primfuncFunction · 0.45
_servingFunction · 0.45
_connectFunction · 0.45
__exit__Method · 0.45
rpc_runFunction · 0.45
batch_normFunction · 0.45
batch_normFunction · 0.45

Calls 1

get_functionMethod · 0.95

Tested by

no test coverage detected