forked from facebook/Ax
-
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.
Add generation_node_name arg to GeneratorRun (facebook#1918)
Summary: As we transition to using GenerationNodes by default in GenerationStrategy, we want to add in a geneartion_node_name argument to GeneratorRun. This arg is analogous to the generation_step_index, but more flexibile. For backwards compatibility purposes, we aren't replacing generation_step_index at this time. I anticipate, over time we will be able to do so. While I was here, I also updated the functions with docstrings to abide by our standards :) Things in the pipeline: (1) Update other code impacted by this generator run change (2) Add the transition_to field to transition criterion class (3) Update the transition criterion class to check on a per node basis, instead of per experiment (4) add is_complete to generationNode and then use that in generation Strategy for moving forward (5) [Mby] skip max trial criterion addition if numtrials == -1 (6) add transition criterion to the repr string + some of the other fields that havent made it yet Reviewed By: ItsMrLin Differential Revision: D50276770
- Loading branch information
1 parent
f7d01cf
commit 536b3f1
Showing
7 changed files
with
58 additions
and
16 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
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
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
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
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
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
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