We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9c31cb commit aae0efcCopy full SHA for aae0efc
keras_nlp/src/models/resnet/resnet_image_classifier.py
@@ -99,7 +99,7 @@ def __init__(
99
# TODO: once preprocessor flow is figured out, this needs to be updated
100
**kwargs,
101
):
102
- head_dtype = head_dtype or self.backbone.dtype_policy
+ head_dtype = head_dtype or backbone.dtype_policy
103
104
# === Layers ===
105
self.backbone = backbone
0 commit comments