Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Commit 1034fdb

Browse files
geof90facebook-github-bot
authored andcommitted
Fix missing init_tensorizers arg (#893)
Summary: Pull Request resolved: #893 init_tensorizers arg was added in D16533827, this diff ensures every subclass of Data class has it in from_config method Reviewed By: seayoung1112 Differential Revision: D16752097 fbshipit-source-id: ef63ed496cd426012d6e9ba4dc23676ce2a8530a
1 parent a3e3f5b commit 1034fdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytext/data/disjoint_multitask_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def from_config(
4343
task_key: str = BatchContext.TASK_NAME,
4444
rank=0,
4545
world_size=1,
46+
init_tensorizers=True,
4647
):
4748
samplers = {
4849
Stage.TRAIN: create_component(ComponentType.BATCH_SAMPLER, config.sampler),

0 commit comments

Comments
 (0)