Skip to content

Commit

Permalink
Fixed Import Error (#161)
Browse files Browse the repository at this point in the history
* Added __init__ file

* Fixed Import Errors and Added __init__ file
  • Loading branch information
aflah02 authored May 3, 2022
1 parent 375082e commit fd91d24
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions keras_nlp/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright 2022 The KerasNLP 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
#
# https://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.
3 changes: 2 additions & 1 deletion keras_nlp/utils/tensor_utils_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
# limitations under the License.

import tensorflow as tf
from tensor_utils import tensor_to_string_list

from keras_nlp.utils.tensor_utils import tensor_to_string_list


class TensorToStringListTest(tf.test.TestCase):
Expand Down

0 comments on commit fd91d24

Please sign in to comment.