File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed
torchrl/collectors/distributed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -448,6 +448,7 @@ def __init__(
448
448
self .policy_weights = policy_weights
449
449
self .num_workers = len (create_env_fn )
450
450
self .frames_per_batch = frames_per_batch
451
+ self .requested_frames_per_batch = frames_per_batch
451
452
452
453
self .device = device
453
454
self .storing_device = storing_device
Original file line number Diff line number Diff line change @@ -304,6 +304,7 @@ def __init__(
304
304
self .policy_weights = policy_weights
305
305
self .num_workers = len (create_env_fn )
306
306
self .frames_per_batch = frames_per_batch
307
+ self .requested_frames_per_batch = frames_per_batch
307
308
308
309
self .device = device
309
310
self .storing_device = storing_device
Original file line number Diff line number Diff line change @@ -315,6 +315,7 @@ def __init__(
315
315
self .policy_weights = policy_weights
316
316
self .num_workers = len (create_env_fn )
317
317
self .frames_per_batch = frames_per_batch
318
+ self .requested_frames_per_batch = frames_per_batch
318
319
319
320
self .device = device
320
321
self .storing_device = storing_device
You can’t perform that action at this time.
0 commit comments