We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In the med2vec.py, there is a self.embedding in the __init__, and there is an embedding as method. In the forward method, which one is being used?
self.embedding
__init__
embedding
class Med2Vec(BaseModel): def __init__(self, icd9_size, demographics_size=0, embedding_size=2000, hidden_size=100,): ... self.embedding = nn.Embedding(self.vocabulary_size, self.embedding_size) ... def embedding(self, x): return F.linear(x, self.embedding_w, self.embedding_b)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the med2vec.py, there is a
self.embedding
in the__init__
, and there is anembedding
as method. In the forward method, which one is being used?The text was updated successfully, but these errors were encountered: