MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / seek

Method seek

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

Seeks to the offset in the file. Args: offset: The byte count relative to the whence argument. whence: Valid values for whence are: 0: start of the file (default) 1: relative to the current position of the file 2: relative to the end of file. offset is usuall

(self, offset=None, whence=0, position=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

testSeekMethod · 0.80
testSeekFromWhatMethod · 0.80

Calls 4

_preread_checkMethod · 0.95
tellMethod · 0.95
sizeMethod · 0.95
SeekMethod · 0.45

Tested by 2

testSeekMethod · 0.64
testSeekFromWhatMethod · 0.64