Skip to content

Commit 66df1e6

Browse files
authored
Update lambda1d.py
1 parent e4ea34d commit 66df1e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda_layers/lambda1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def _validate_call_args(self, inputs):
156156
"Given length: {}".format(class_name, len(inputs))
157157
)
158158
if len(inputs) > 1:
159-
if inputs[0].shape != inputs[1].shape:
159+
if inputs[0].shape[1:] != inputs[1].shape[1:]:
160160
raise ValueError(
161161
"{} layer should have same last dimension of inputs "
162162
"and context tensor."

0 commit comments

Comments
 (0)