-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
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
pre_transform works not as expected #4663
Comments
Transform
Pre-transform
|
I have discovered crazy behavior of If passed 0.0 it add to the old value
If passed 1.0 it removes the old value
Any other digit deletes
|
I have create a simple transform
As a transform it works like expected
As a pre-transform it gives the same odd behavior, it seems some code after pre-transforms do not accepts the change of
|
Moreover, as a pre-transform it accepts only a vector of all ones, truncating the matrix of all ones to a single column
|
This will be fixed in #4669. It was caused by the weird interplay of |
I want to run an expensive transform to modify data on vertices, so I think I should pass it to pre_transform key -- it would run a transform on every graph in the dataset and will cache processed dataset.
But it works not as expected. For example, take
OneHotDegree
transform. Note that I delete dataset folder on every run of the following snippets:No transform
Transform
Pre-transform
I expect to have the result of transform (case 2) in the case of pre-transform too. Is it bug or feature?
How should I apply expensive transforms and get the data modified as in the case 2?
The text was updated successfully, but these errors were encountered: