Create a FeedForward layer
Rishit-dagli opened this issue · comments
Rishit Dagli commented
Verify shapes:
import tensorflow as tf
FeedForward(dim=512)(tf.random.normal((32, 512)))
# shape=(32, 512)
An Implementation of Transformer in Transformer in TensorFlow for image classification, attention inside local patches
Rishit-dagli opened this issue · comments
Verify shapes:
import tensorflow as tf
FeedForward(dim=512)(tf.random.normal((32, 512)))
# shape=(32, 512)