Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Sirwenhao/Deep-Learning-Notes
/ Embedding_layer.py
File
Embedding_layer.py
NLP/Transformer/Embedding_layer.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# 24/5/30 @author:WH
2
3
import
torch
4
import
torch.nn
as
nn
Callers
nothing calls this directly
Calls
1
TransformerEmbedding
Class · 0.85
Tested by
no test coverage detected