forked from facebookresearch/PyTorch-BigGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GPU eval during training (fast version)
Summary: I'm making a slight but I think totally fine approximation here. I'm sampling the eval edges *with replacement*, but still swapping in their replacements; therefore there's still no overlap between train/eval, but there could be (rare) uniform duplicates in eval. The upshot is that it's easy to make this very fast. Reviewed By: lw Differential Revision: D20464628 fbshipit-source-id: 93ec91c387424d24816df6fdc7f78dfefbac3009
- Loading branch information
1 parent
baaf5df
commit 98081ea
Showing
1 changed file
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters