Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobiasd committed Dec 31, 2023
1 parent c7adc7c commit db62540
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions keras_export/generate_test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,12 @@ def get_test_model_exhaustive():
outputs.append(MultiHeadAttention(
num_heads=1, key_dim=1, value_dim=None,
use_bias=False, output_shape=None, attention_axes=None)(inputs[49], inputs[50], inputs[51]))
outputs.append(MultiHeadAttention(
num_heads=2, key_dim=3, value_dim=5,
use_bias=False, output_shape=None, attention_axes=None)(inputs[49], inputs[50], inputs[51]))
outputs.append(MultiHeadAttention(
num_heads=2, key_dim=3, value_dim=5,
use_bias=True, output_shape=None, attention_axes=None)(inputs[49], inputs[50], inputs[51]))

shared_conv = Conv2D(1, (1, 1),
padding='valid', name='shared_conv', activation='relu')
Expand Down

0 comments on commit db62540

Please sign in to comment.