Skip to content

Commit 73b7bad

Browse files
james77777778divyashreepathihalli
authored andcommitted
Add ResNetBackbone and ResNetImageClassifier (#1765)
* Add ResNetV1 and ResNetV2 * Address comments
1 parent a089a8b commit 73b7bad

File tree

8 files changed

+902
-0
lines changed

8 files changed

+902
-0
lines changed

keras_nlp/api/models/__init__.py

+4
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@
181181
from keras_nlp.src.models.phi3.phi3_preprocessor import Phi3Preprocessor
182182
from keras_nlp.src.models.phi3.phi3_tokenizer import Phi3Tokenizer
183183
from keras_nlp.src.models.preprocessor import Preprocessor
184+
from keras_nlp.src.models.resnet.resnet_backbone import ResNetBackbone
185+
from keras_nlp.src.models.resnet.resnet_image_classifier import (
186+
ResNetImageClassifier,
187+
)
184188
from keras_nlp.src.models.roberta.roberta_backbone import RobertaBackbone
185189
from keras_nlp.src.models.roberta.roberta_classifier import RobertaClassifier
186190
from keras_nlp.src.models.roberta.roberta_masked_lm import RobertaMaskedLM
+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Copyright 2024 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.

0 commit comments

Comments
 (0)