From e1de989964c83fff6e045afe735ef5c333699824 Mon Sep 17 00:00:00 2001 From: Myle Ott Date: Fri, 21 Feb 2020 14:09:35 -0800 Subject: [PATCH] Add missing __init__ to fairseq.benchmark (#1042) Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/1042 Differential Revision: D20030269 Pulled By: myleott fbshipit-source-id: ebe64eb4e58af447ed53b9f5b5adf2e5f65da359 --- fairseq/benchmark/__init__.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 fairseq/benchmark/__init__.py diff --git a/fairseq/benchmark/__init__.py b/fairseq/benchmark/__init__.py new file mode 100644 index 0000000000..ea67844ef7 --- /dev/null +++ b/fairseq/benchmark/__init__.py @@ -0,0 +1,11 @@ +# Copyright (c) Facebook, Inc. and its affiliates. +# +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this source tree. + +# import models/tasks to register them +from . import ( # noqa + dummy_lm, + dummy_masked_lm, + dummy_model, +)