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 e4ea34d commit 66df1e6Copy full SHA for 66df1e6
lambda_layers/lambda1d.py
@@ -156,7 +156,7 @@ def _validate_call_args(self, inputs):
156
"Given length: {}".format(class_name, len(inputs))
157
)
158
if len(inputs) > 1:
159
- if inputs[0].shape != inputs[1].shape:
+ if inputs[0].shape[1:] != inputs[1].shape[1:]:
160
raise ValueError(
161
"{} layer should have same last dimension of inputs "
162
"and context tensor."
0 commit comments