publiczne statyczne wyliczenie końcowe RewriterConfig.MemOptType
Protobuf wyliczenie tensorflow.RewriterConfig.MemOptType
Stałe
wew | DEFAULT_MEM_OPT_VALUE | The default setting (SCHEDULING and SWAPPING HEURISTICS only) DEFAULT_MEM_OPT = 0; |
wew | HEURYSTYKA_WARTOŚĆ | Use any combination of swapping and recomputation heuristics. |
wew | RĘCZNA_WARTOŚĆ | Driven by manual op-level annotations. |
wew | NO_MEM_OPT_VALUE | Disabled in the meta-optimizer. |
wew | RECOMPUTATION_HEURISTICS_VALUE | Recomputation heuristics will recompute ops (such as Relu activation) during backprop instead of storing them, reducing peak memory usage. |
wew | SCHEDULING_HEURISTICS_VALUE | Scheduling will split big ops such as AddN and try to enforce a schedule of the new computations that decreases peak memory usage. |
wew | SWAPPING_HEURISTICS_VALUE | Swapping heuristic will move a tensor from the GPU to the CPU and move it back when needed to reduce peak memory usage. |
Metody dziedziczone
Wartości wyliczeniowe
publiczny statyczny końcowy RewriterConfig.MemOptType DEFAULT_MEM_OPT
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
publiczny statyczny końcowy RewriterConfig.MemOptType HEURYSTYKA
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
publiczny statyczny końcowy RewriterConfig.MemOptType PODRĘCZNY
Driven by manual op-level annotations.
MANUAL = 2;
publiczny statyczny końcowy RewriterConfig.MemOptType NO_MEM_OPT
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
publiczny statyczny końcowy RewriterConfig.MemOptType RECOMPUTATION_HEURISTICS
Recomputation heuristics will recompute ops (such as Relu activation) during backprop instead of storing them, reducing peak memory usage.
RECOMPUTATION_HEURISTICS = 5;
publiczny statyczny końcowy RewriterConfig.MemOptType SCHEDULING_HEURISTICS
Scheduling will split big ops such as AddN and try to enforce a schedule of the new computations that decreases peak memory usage.
SCHEDULING_HEURISTICS = 6;
publiczny statyczny końcowy RewriterConfig.MemOptType SWAPPING_HEURISTICS
Swapping heuristic will move a tensor from the GPU to the CPU and move it back when needed to reduce peak memory usage.
SWAPPING_HEURISTICS = 4;
publiczny statyczny końcowy RewriterConfig.MemOptType NIEROZPOZNANY
Stałe
publiczny statyczny końcowy int DEFAULT_MEM_OPT_VALUE
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
Wartość stała: 0
publiczny statyczny końcowy int HEURISTICS_VALUE
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
Wartość stała: 3
publiczny statyczny końcowy int MANUAL_VALUE
Driven by manual op-level annotations.
MANUAL = 2;
Wartość stała: 2
publiczny statyczny końcowy int NO_MEM_OPT_VALUE
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
Wartość stała: 1
publiczny statyczny końcowy int RECOMPUTATION_HEURISTICS_VALUE
Recomputation heuristics will recompute ops (such as Relu activation) during backprop instead of storing them, reducing peak memory usage.
RECOMPUTATION_HEURISTICS = 5;
Wartość stała: 5
publiczny statyczny końcowy int SCHEDULING_HEURISTICS_VALUE
Scheduling will split big ops such as AddN and try to enforce a schedule of the new computations that decreases peak memory usage.
SCHEDULING_HEURISTICS = 6;
Wartość stała: 6
publiczny statyczny końcowy int SWAPPING_HEURISTICS_VALUE
Swapping heuristic will move a tensor from the GPU to the CPU and move it back when needed to reduce peak memory usage.
SWAPPING_HEURISTICS = 4;
Wartość stała: 4