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

Method size

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

Returns the size of the file.

(self)

Source from the content-addressed store, hash-verified

98 return compat.as_str_any(val)
99
100 def size(self):
101 """Returns the size of the file."""
102 return stat(self.__name).length
103
104 def write(self, file_content):
105 """Writes file_content to the file. Appends to the end of the file."""

Callers 15

readMethod · 0.95
seekMethod · 0.95
TF_Run_wrapper_helperFunction · 0.45
RunCallableHelperFunction · 0.45
TF_PRunSetup_wrapperFunction · 0.45
TF_Reset_wrapperFunction · 0.45

Calls 1

statFunction · 0.70

Tested by 5

_jacfwdFunction · 0.36
testReadLineMethod · 0.36
testReadMethod · 0.36
testSeekFromWhatMethod · 0.36