public static final numaralandırma RewriterConfig.MemOptType
Protobuf enum tensorflow.RewriterConfig.MemOptType
Sabitler
int | DEFAULT_MEM_OPT_VALUE | The default setting (SCHEDULING and SWAPPING HEURISTICS only) DEFAULT_MEM_OPT = 0; |
int | HEURISTICS_VALUE | Use any combination of swapping and recomputation heuristics. |
int | MANUAL_VALUE | Driven by manual op-level annotations. |
int | NO_MEM_OPT_VALUE | Disabled in the meta-optimizer. |
int | RECOMPUTATION_HEURISTICS_VALUE | Recomputation heuristics will recompute ops (such as Relu activation) during backprop instead of storing them, reducing peak memory usage. |
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. |
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. |
Kalıtsal Yöntemler
Numaralandırma Değerleri
genel statik final RewriterConfig.MemOptType DEFAULT_MEM_OPT
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
genel statik final RewriterConfig.MemOptType HEURISTICS
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
public statik final RewriterConfig.MemOptType MANUAL
Driven by manual op-level annotations.
MANUAL = 2;
genel statik final RewriterConfig.MemOptType NO_MEM_OPT
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
genel statik final 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;
genel statik final 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;
genel statik final 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;
genel statik final RewriterConfig.MemOptType TANIMIYOR
Sabitler
genel statik final int DEFAULT_MEM_OPT_VALUE
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
Sabit Değer: 0
genel statik final int HEURISTICS_VALUE
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
Sabit Değer: 3
genel statik final int MANUAL_VALUE
Driven by manual op-level annotations.
MANUAL = 2;
Sabit Değer: 2
genel statik final int NO_MEM_OPT_VALUE
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
Sabit Değer: 1
genel statik final 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;
Sabit Değer: 5
genel statik final 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;
Sabit Değer: 6
genel statik final 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;
Sabit Değer: 4