From 280abd2f5d901e02af8bd4300c699d0146749037 Mon Sep 17 00:00:00 2001 From: Yuqi Li Date: Thu, 24 Dec 2020 18:49:47 -0800 Subject: [PATCH] add __init__.py in folders. PiperOrigin-RevId: 348972989 --- .../lite/model_maker/cli/__init__.py | 13 +++++++++++++ .../core/task/metadata_writers/__init__.py | 13 +++++++++++++ .../core/task/metadata_writers/bert/__init__.py | 13 +++++++++++++ .../bert/question_answerer/__init__.py | 13 +++++++++++++ .../bert/text_classifier/__init__.py | 13 +++++++++++++ .../metadata_writers/text_classifier/__init__.py | 13 +++++++++++++ 6 files changed, 78 insertions(+) create mode 100644 tensorflow_examples/lite/model_maker/cli/__init__.py create mode 100644 tensorflow_examples/lite/model_maker/core/task/metadata_writers/__init__.py create mode 100644 tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/__init__.py create mode 100644 tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/question_answerer/__init__.py create mode 100644 tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/text_classifier/__init__.py create mode 100644 tensorflow_examples/lite/model_maker/core/task/metadata_writers/text_classifier/__init__.py diff --git a/tensorflow_examples/lite/model_maker/cli/__init__.py b/tensorflow_examples/lite/model_maker/cli/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/cli/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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_examples/lite/model_maker/core/task/metadata_writers/__init__.py b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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_examples/lite/model_maker/core/task/metadata_writers/bert/__init__.py b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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_examples/lite/model_maker/core/task/metadata_writers/bert/question_answerer/__init__.py b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/question_answerer/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/question_answerer/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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_examples/lite/model_maker/core/task/metadata_writers/bert/text_classifier/__init__.py b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/text_classifier/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/bert/text_classifier/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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_examples/lite/model_maker/core/task/metadata_writers/text_classifier/__init__.py b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/text_classifier/__init__.py new file mode 100644 index 00000000000..2ae3e340850 --- /dev/null +++ b/tensorflow_examples/lite/model_maker/core/task/metadata_writers/text_classifier/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 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.