class for reading tfrecord files and processing them
More...
class for reading tfrecord files and processing them
§ __init__()
def nabu.processing.tfreaders.tfreader.TfReader.__init__ |
( |
|
self, |
|
|
|
datadirs |
|
) |
| |
TfReader constructor.
- Parameters
-
datadirs | the directories where the metadata was stored as a list of strings |
§ __call__()
def nabu.processing.tfreaders.tfreader.TfReader.__call__ |
( |
|
self, |
|
|
|
queue, |
|
|
|
name = None |
|
) |
| |
read all data from the queue
- Parameters
-
queue | a queue containing filenames of tf record files |
name | the name of the operation |
- Returns
- a pair of tensor and sequence length
The documentation for this class was generated from the following file: