Skip to content

Commit fd91d24

Browse files
authored
Fixed Import Error (#161)
* Added __init__ file * Fixed Import Errors and Added __init__ file
1 parent 375082e commit fd91d24

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

keras_nlp/utils/__init__.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2022 The KerasNLP Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.

keras_nlp/utils/tensor_utils_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
# limitations under the License.
1414

1515
import tensorflow as tf
16-
from tensor_utils import tensor_to_string_list
16+
17+
from keras_nlp.utils.tensor_utils import tensor_to_string_list
1718

1819

1920
class TensorToStringListTest(tf.test.TestCase):

0 commit comments

Comments
 (0)