MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / tell

Method tell

tensorflow/python/lib/io/file_io.py:192–200  ·  view source on GitHub ↗

Returns the current position in the file.

(self)

Source from the content-addressed store, hash-verified

190 return lines
191
192 def tell(self):
193 """Returns the current position in the file."""
194 if self._read_check_passed:
195 self._preread_check()
196 return self._read_buf.Tell()
197 else:
198 self._prewrite_check()
199
200 return pywrap_tensorflow.TellFile(self._writable_file)
201
202 def __enter__(self):
203 """Make usable with "with" statement."""

Callers 6

testCopyMethod · 0.95
readMethod · 0.95
seekMethod · 0.95
testTellMethod · 0.80
testSeekMethod · 0.80
testSeekFromWhatMethod · 0.80

Calls 3

_preread_checkMethod · 0.95
_prewrite_checkMethod · 0.95
TellMethod · 0.45

Tested by 4

testCopyMethod · 0.76
testTellMethod · 0.64
testSeekMethod · 0.64
testSeekFromWhatMethod · 0.64