Skip to content

Commit aae0efc

Browse files
committed
Fix CI
1 parent a9c31cb commit aae0efc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_nlp/src/models/resnet/resnet_image_classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(
9999
# TODO: once preprocessor flow is figured out, this needs to be updated
100100
**kwargs,
101101
):
102-
head_dtype = head_dtype or self.backbone.dtype_policy
102+
head_dtype = head_dtype or backbone.dtype_policy
103103

104104
# === Layers ===
105105
self.backbone = backbone

0 commit comments

Comments
 (0)