Spaces:
Sleeping
Sleeping
Update tkat.py
Browse files
tkat.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import tensorflow as tf
|
| 2 |
from tensorflow.keras.layers import Layer, Dense
|
| 3 |
|
| 4 |
-
class
|
| 5 |
def __init__(self, units):
|
| 6 |
super(AttentionLayer, self).__init__()
|
| 7 |
self.W1 = Dense(units)
|
|
|
|
| 1 |
import tensorflow as tf
|
| 2 |
from tensorflow.keras.layers import Layer, Dense
|
| 3 |
|
| 4 |
+
class TKAT(Layer):
|
| 5 |
def __init__(self, units):
|
| 6 |
super(AttentionLayer, self).__init__()
|
| 7 |
self.W1 = Dense(units)
|