From 166afe966a9c59da1b1bc322ae7e7a32ad8f92c6 Mon Sep 17 00:00:00 2001 From: Hongkun Yu Date: Wed, 19 Jan 2022 10:51:38 -0800 Subject: [PATCH] Internal change PiperOrigin-RevId: 422853442 --- official/nlp/serving/__init__.py | 15 +++++++++++++++ tensorflow_models/nlp/__init__.py | 3 +++ 2 files changed, 18 insertions(+) create mode 100644 official/nlp/serving/__init__.py diff --git a/official/nlp/serving/__init__.py b/official/nlp/serving/__init__.py new file mode 100644 index 000000000..ba97902e7 --- /dev/null +++ b/official/nlp/serving/__init__.py @@ -0,0 +1,15 @@ +# Copyright 2022 The TensorFlow Authors. All Rights Reserved. +# +# 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. + + diff --git a/tensorflow_models/nlp/__init__.py b/tensorflow_models/nlp/__init__.py index 916ca1e7b..b26f69180 100644 --- a/tensorflow_models/nlp/__init__.py +++ b/tensorflow_models/nlp/__init__.py @@ -13,5 +13,8 @@ # limitations under the License. """TensorFlow Models NLP Libraries.""" + from official.nlp import tasks +from official.nlp.configs import encoders from official.nlp.modeling import * +from official.nlp.serving import serving_modules -- GitLab