mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-28 10:34:54 +08:00
Pass loop_over optional parameter for cached reader properly. (#21929)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/21929 Just need to pass `loop_over` argument properly. Reviewed By: noname01 Differential Revision: D15885401 fbshipit-source-id: f1928277262a80e5b41f4c4f3945c2f378a4e233
This commit is contained in:
committed by
Facebook Github Bot
parent
96c0bd3722
commit
4fee532de6
@ -364,7 +364,7 @@ class TestDBFileReader(TestCase):
|
||||
|
||||
# Read data for the first time.
|
||||
cached_reader1 = CachedReader(
|
||||
self._build_source_reader(ws, 100), db_path,
|
||||
self._build_source_reader(ws, 100), db_path, loop_over=False,
|
||||
)
|
||||
build_cache_step = cached_reader1.build_cache_step()
|
||||
session.run(build_cache_step)
|
||||
|
||||
Reference in New Issue
Block a user