MCPcopy Create free account
hub / github.com/OpenMatch/UniVL-DR / __del__

Method __del__

CLIP-DPR/visual.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 self.total_num = total_num
19
20 def __del__(self):
21 if self._fp:
22 self._fp.close()
23
24 def __str__(self):
25 return "TSVFile(tsv_file='{}')".format(self.tsv_file)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected