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

Method reset

tensorflow/python/ops/io_ops.py:289–301  ·  view source on GitHub ↗

Restore a reader to its initial clean state. Args: name: A name for the operation (optional). Returns: The created Operation.

(self, name=None)

Source from the content-addressed store, hash-verified

287 return self._supports_serialize
288
289 def reset(self, name=None):
290 """Restore a reader to its initial clean state.
291
292 Args:
293 name: A name for the operation (optional).
294
295 Returns:
296 The created Operation.
297 """
298 if self._reader_ref.dtype == dtypes.resource:
299 return gen_io_ops.reader_reset_v2(self._reader_ref, name=name)
300 else:
301 return gen_io_ops.reader_reset(self._reader_ref, name=name)
302
303
304ops.NotDifferentiable("ReaderRead")

Callers 15

NewRandomAccessFileMethod · 0.45
NewWritableFileMethod · 0.45
TESTFunction · 0.45
AsyncFeatureStoreMgrMethod · 0.45
ProtoBufParserMethod · 0.45
FlatBufferParserMethod · 0.45
InitializeSessionFunction · 0.45
MainFunction · 0.45
TESTFunction · 0.45
ObtainVariableInfoFunction · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TESTFunction · 0.36
testResetMethod · 0.36
tearDownClassMethod · 0.36
testResetMethod · 0.36
AddOpenCLTextOnDiskMethod · 0.36
AddOpenCLBinaryOnDiskMethod · 0.36
AddOpenCLTextInMemoryMethod · 0.36
AddCudaPtxOnDiskMethod · 0.36
AddCudaCubinInMemoryMethod · 0.36
AddCudaCubinOnDiskMethod · 0.36
AddCudaPtxInMemoryMethod · 0.36