Compare commits

...

2 Commits

Author SHA1 Message Date
Shreyansh Pathak
e1bc65fa68
Merge 8824056527 into fb54d8b549 2023-05-22 17:38:55 -05:00
Shreyansh Pathak
8824056527
Update input_fns.py
Corrected grammatical mistake in one of the comments in the file
2023-04-01 19:41:02 +05:30

View File

@ -118,7 +118,7 @@ def data_record_input_fn(
if initializable:
# when the data parsing dpends on some HashTable or Tensor, the iterator is initalizable and
# therefore we need to be run explicitly
# therefore it needs to be run explicitly
iterator = dataset.make_initializable_iterator()
tf.add_to_collection(tf.GraphKeys.TABLE_INITIALIZERS, iterator.initializer)
else: