TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

Missing LayerNormalization & MultiHeadAttention Keras Layers

Open lqdev opened this issue 3 years ago • 2 comments

@Oceania2018 can you assign this issue to me. I'll try and take a stab at it.

I was trying to see whether implementing the Keras Transformer recommendation sample is feasible in .NET. However, I believe two of the layers, LayerNormalization and MultiHeadAttention are missing from the current implementation.

lqdev avatar Apr 13 '21 02:04 lqdev

@lqdev In your approach to MultiHeadAttention, perhaps you could share your feedback to this thread of discussion.

Perhaps we may find more people interested on this topics for .NET

GeorgeS2019 avatar May 23 '21 18:05 GeorgeS2019

missing layerNormalization However, Torchsharp's APIS are complete https://github.com/tensorflow/tensorflow/tree/v2.7.0/tensorflow/python/keras/layers/normalization https://github.com/dotnet/TorchSharp/tree/main/src/TorchSharp/NN/Normalization

lindadamama avatar Nov 11 '21 06:11 lindadamama