forked from DeepRec-AI/DeepRec
-
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.
- Loading branch information
1 parent
add240c
commit b866bf9
Showing
8 changed files
with
164 additions
and
0 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
35 changes: 35 additions & 0 deletions
35
...ols/api/golden/v1/tensorflow.train.mixed_precision.experimental.-dynamic-loss-scale.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,35 @@ | ||
path: "tensorflow.train.mixed_precision.experimental.DynamicLossScale" | ||
tf_class { | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale.DynamicLossScale\'>" | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale.LossScale\'>" | ||
is_instance: "<class \'tensorflow.python.training.tracking.base.Trackable\'>" | ||
is_instance: "<type \'object\'>" | ||
member { | ||
name: "increment_period" | ||
mtype: "<type \'property\'>" | ||
} | ||
member { | ||
name: "initial_loss_scale" | ||
mtype: "<type \'property\'>" | ||
} | ||
member { | ||
name: "multiplier" | ||
mtype: "<type \'property\'>" | ||
} | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\', \'initial_loss_scale\', \'increment_period\', \'multiplier\'], varargs=None, keywords=None, defaults=[\'32768\', \'2000\', \'2.0\'], " | ||
} | ||
member_method { | ||
name: "add_weight" | ||
argspec: "args=[\'self\', \'name\', \'shape\', \'dtype\', \'initializer\'], varargs=None, keywords=None, defaults=[\'()\', \'None\', \'zeros\'], " | ||
} | ||
member_method { | ||
name: "build" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "update" | ||
argspec: "args=[\'self\', \'grads\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...tools/api/golden/v1/tensorflow.train.mixed_precision.experimental.-fixed-loss-scale.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,23 @@ | ||
path: "tensorflow.train.mixed_precision.experimental.FixedLossScale" | ||
tf_class { | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale.FixedLossScale\'>" | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale.LossScale\'>" | ||
is_instance: "<class \'tensorflow.python.training.tracking.base.Trackable\'>" | ||
is_instance: "<type \'object\'>" | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\', \'loss_scale_value\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "add_weight" | ||
argspec: "args=[\'self\', \'name\', \'shape\', \'dtype\', \'initializer\'], varargs=None, keywords=None, defaults=[\'()\', \'None\', \'zeros\'], " | ||
} | ||
member_method { | ||
name: "build" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "update" | ||
argspec: "args=[\'self\', \'grads\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...s/api/golden/v1/tensorflow.train.mixed_precision.experimental.-loss-scale-optimizer.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,51 @@ | ||
path: "tensorflow.train.mixed_precision.experimental.LossScaleOptimizer" | ||
tf_class { | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale_optimizer.LossScaleOptimizer\'>" | ||
is_instance: "<class \'tensorflow.python.training.optimizer.Optimizer\'>" | ||
is_instance: "<class \'tensorflow.python.training.tracking.base.Trackable\'>" | ||
is_instance: "<type \'object\'>" | ||
member { | ||
name: "GATE_GRAPH" | ||
mtype: "<type \'int\'>" | ||
} | ||
member { | ||
name: "GATE_NONE" | ||
mtype: "<type \'int\'>" | ||
} | ||
member { | ||
name: "GATE_OP" | ||
mtype: "<type \'int\'>" | ||
} | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\', \'opt\', \'loss_scale\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "apply_gradients" | ||
argspec: "args=[\'self\', \'grads_and_vars\', \'global_step\', \'name\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], " | ||
} | ||
member_method { | ||
name: "compute_gradients" | ||
argspec: "args=[\'self\', \'loss\', \'var_list\', \'gate_gradients\', \'aggregation_method\', \'colocate_gradients_with_ops\', \'grad_loss\'], varargs=None, keywords=None, defaults=[\'None\', \'1\', \'None\', \'False\', \'None\'], " | ||
} | ||
member_method { | ||
name: "get_name" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "get_slot" | ||
argspec: "args=[\'self\', \'var\', \'name\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "get_slot_names" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "minimize" | ||
argspec: "args=[\'self\', \'loss\', \'global_step\', \'var_list\', \'gate_gradients\', \'aggregation_method\', \'colocate_gradients_with_ops\', \'name\', \'grad_loss\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'1\', \'None\', \'False\', \'None\', \'None\'], " | ||
} | ||
member_method { | ||
name: "variables" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...rflow/tools/api/golden/v1/tensorflow.train.mixed_precision.experimental.-loss-scale.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,22 @@ | ||
path: "tensorflow.train.mixed_precision.experimental.LossScale" | ||
tf_class { | ||
is_instance: "<class \'tensorflow.python.training.mixed_precision.experimental.loss_scale.LossScale\'>" | ||
is_instance: "<class \'tensorflow.python.training.tracking.base.Trackable\'>" | ||
is_instance: "<type \'object\'>" | ||
member_method { | ||
name: "__init__" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "add_weight" | ||
argspec: "args=[\'self\', \'name\', \'shape\', \'dtype\', \'initializer\'], varargs=None, keywords=None, defaults=[\'()\', \'None\', \'zeros\'], " | ||
} | ||
member_method { | ||
name: "build" | ||
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
member_method { | ||
name: "update" | ||
argspec: "args=[\'self\', \'grads\'], varargs=None, keywords=None, defaults=None" | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
tensorflow/tools/api/golden/v1/tensorflow.train.mixed_precision.experimental.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,19 @@ | ||
path: "tensorflow.train.mixed_precision.experimental" | ||
tf_module { | ||
member { | ||
name: "DynamicLossScale" | ||
mtype: "<type \'type\'>" | ||
} | ||
member { | ||
name: "FixedLossScale" | ||
mtype: "<type \'type\'>" | ||
} | ||
member { | ||
name: "LossScale" | ||
mtype: "<type \'type\'>" | ||
} | ||
member { | ||
name: "LossScaleOptimizer" | ||
mtype: "<type \'type\'>" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
tensorflow/tools/api/golden/v1/tensorflow.train.mixed_precision.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,7 @@ | ||
path: "tensorflow.train.mixed_precision" | ||
tf_module { | ||
member { | ||
name: "experimental" | ||
mtype: "<type \'module\'>" | ||
} | ||
} |
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