Rename Embedding
to Scatter
or something similar
#573
marvinpfoertner
started this conversation in
General
Replies: 2 comments 3 replies
-
My proposal would be to stick to the mathematical definition where an embedding is any injective map which is "structure-preserving" in some way. Here structure-preserving often means continuous (\lVert Ax \rVert_Y \leq C \lVert x \rVert_X$) for example. For linear maps between finite-dimensional spaces the structure-preserving part is always given (choose
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PR #505 introduces the
Embedding
linear operator, which represents a tall sparse matrix containing exactly one nonzero entry, specifically a1
, per column.In my opinion an
Embedding
is much more general than that (I would essentially call any tall matrix an embedding).The operation that is performed by this
LinearOperator
is calledScatter
in some Deep Learning frameworks.I propose we rename it to
Scatter
and add some documentation as to what it does.Context: @JonathanWenger and I will use the more general class of embeddings for the probabilistic linear solver and will need that name then.
Is this fine with everyone? I'm also open to alternative naming suggestions.
Beta Was this translation helpful? Give feedback.
All reactions