-
Notifications
You must be signed in to change notification settings - Fork 19.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable
steps_per_execution
tuning for custom training loops
Makes the underlying class available and adds documentation. PiperOrigin-RevId: 540673611
- Loading branch information
1 parent
cdffff8
commit 5c79875
Showing
9 changed files
with
219 additions
and
24 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
keras/api/golden/v1/tensorflow.keras.utils.-steps-per-execution-tuner.pbtxt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
path: "tensorflow.keras.utils.StepsPerExecutionTuner" | ||
tf_class { | ||
is_instance: "<class \'keras.utils.steps_per_execution_tuning.StepsPerExecutionTuner\'>" | ||
is_instance: "<type \'object\'>" | ||
member { | ||
name: "steps_per_execution" | ||
mtype: "<type \'property\'>" | ||
} | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\', \'optimizer\', \'spe_variable\', \'interval\', \'change_spe_interval\', \'change_threshold\'], varargs=None, keywords=None, defaults=[\'5\', \'10\', \'0.1\'], " | ||
} | ||
member_method { | ||
name: "start" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "stop" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
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
21 changes: 21 additions & 0 deletions
21
keras/api/golden/v2/tensorflow.keras.utils.-steps-per-execution-tuner.pbtxt
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
path: "tensorflow.keras.utils.StepsPerExecutionTuner" | ||
tf_class { | ||
is_instance: "<class \'keras.utils.steps_per_execution_tuning.StepsPerExecutionTuner\'>" | ||
is_instance: "<type \'object\'>" | ||
member { | ||
name: "steps_per_execution" | ||
mtype: "<type \'property\'>" | ||
} | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\', \'optimizer\', \'spe_variable\', \'interval\', \'change_spe_interval\', \'change_threshold\'], varargs=None, keywords=None, defaults=[\'5\', \'10\', \'0.1\'], " | ||
} | ||
member_method { | ||
name: "start" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "stop" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
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