keras/keras_core/layers/attention
Matt Watson cc053ac309 Add layers.MultiHeadAttention (#169)
* Add layers.MultiHeadAttention

* Update build/compute_output_signature argument checks

We do not definitively know which arguments are tensor arguments
at any given invocation (e.g. arguments with a None value may be tensor
arguments).

So rather than check that the build signature matches perfectly with
tensor call arguments, we will check the build signature arguments match
with some call argument.
2023-05-16 18:22:42 -07:00
..
__init__.py Add layer init files 2023-05-03 11:12:40 -07:00
additive_attention_test.py Add additive attention layer (#142) 2023-05-11 10:26:39 -07:00
additive_attention.py Add additive attention layer (#142) 2023-05-11 10:26:39 -07:00
attention_test.py Add additive attention layer (#142) 2023-05-11 10:26:39 -07:00
attention.py Add additive attention layer (#142) 2023-05-11 10:26:39 -07:00
multi_head_attention_test.py Add layers.MultiHeadAttention (#169) 2023-05-16 18:22:42 -07:00
multi_head_attention.py Add layers.MultiHeadAttention (#169) 2023-05-16 18:22:42 -07:00