Skip to content

Commit fbf47c3

Browse files
committed
Fix CI
1 parent a9c31cb commit fbf47c3

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
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

keras_nlp/src/utils/keras_utils.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,3 @@ def standardize_data_format(data_format):
128128
f"Received: data_format={data_format}"
129129
)
130130
return data_format
131-
132-
133-
def get_tensor_name(tensor):
134-
return tensor._keras_history.operation.name

0 commit comments

Comments
 (0)