# coding=utf-8
# Copyright 2018 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Imports for problem modules."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

# pylint: disable=unused-import
from tensor2tensor.data_generators import algorithmic
from tensor2tensor.data_generators import algorithmic_math
from tensor2tensor.data_generators import audio
from tensor2tensor.data_generators import celeba
from tensor2tensor.data_generators import cifar
from tensor2tensor.data_generators import cipher
from tensor2tensor.data_generators import cnn_dailymail
from tensor2tensor.data_generators import desc2code
from tensor2tensor.data_generators import fsns
from tensor2tensor.data_generators import gym
from tensor2tensor.data_generators import ice_parsing
from tensor2tensor.data_generators import imagenet
from tensor2tensor.data_generators import imdb
from tensor2tensor.data_generators import librispeech
from tensor2tensor.data_generators import lm1b
from tensor2tensor.data_generators import mnist
from tensor2tensor.data_generators import mscoco
from tensor2tensor.data_generators import multinli
from tensor2tensor.data_generators import ocr
from tensor2tensor.data_generators import problem_hparams
from tensor2tensor.data_generators import ptb
from tensor2tensor.data_generators import snli
from tensor2tensor.data_generators import translate_encs
from tensor2tensor.data_generators import translate_ende
from tensor2tensor.data_generators import translate_enfr
from tensor2tensor.data_generators import translate_enmk
from tensor2tensor.data_generators import translate_enzh
from tensor2tensor.data_generators import twentybn
from tensor2tensor.data_generators import wiki
from tensor2tensor.data_generators import wsj_parsing


# Problem modules that require optional dependencies
# pylint: disable=g-import-not-at-top
try:
  # Requires h5py
  from tensor2tensor.data_generators import gene_expression
except ImportError:
  pass
# pylint: enable=g-import-not-at-top
# pylint: enable=unused-import

# coding=utf-8
# Copyright 2018 The Tensor2Tensor Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Imports for problem modules."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function

# pylint: disable=unused-import
from tensor2tensor.data_generators import algorithmic
from tensor2tensor.data_generators import algorithmic_math
from tensor2tensor.data_generators import audio
from tensor2tensor.data_generators import celeba
from tensor2tensor.data_generators import cifar
from tensor2tensor.data_generators import cipher
from tensor2tensor.data_generators import cnn_dailymail
from tensor2tensor.data_generators import desc2code
from tensor2tensor.data_generators import fsns
from tensor2tensor.data_generators import gym
from tensor2tensor.data_generators import ice_parsing
from tensor2tensor.data_generators import imagenet
from tensor2tensor.data_generators import imdb
from tensor2tensor.data_generators import librispeech
from tensor2tensor.data_generators import lm1b
from tensor2tensor.data_generators import mnist
from tensor2tensor.data_generators import mscoco
from tensor2tensor.data_generators import multinli
from tensor2tensor.data_generators import ocr
from tensor2tensor.data_generators import problem_hparams
from tensor2tensor.data_generators import ptb
from tensor2tensor.data_generators import snli
from tensor2tensor.data_generators import translate_encs
from tensor2tensor.data_generators import translate_ende
from tensor2tensor.data_generators import translate_enfr
from tensor2tensor.data_generators import translate_enmk
from tensor2tensor.data_generators import translate_envi
from tensor2tensor.data_generators import translate_enzh
from tensor2tensor.data_generators import twentybn
from tensor2tensor.data_generators import wiki
from tensor2tensor.data_generators import wsj_parsing


# Problem modules that require optional dependencies
# pylint: disable=g-import-not-at-top
try:
  # Requires h5py
  from tensor2tensor.data_generators import gene_expression
except ImportError:
  pass
# pylint: enable=g-import-not-at-top
# pylint: enable=unused-import

add translate_envi to all problems