công khai tĩnh cuối cùng RewriterConfig.MemOptType
Protobuf enum tensorflow.RewriterConfig.MemOptType
Hằng số
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. |
Phương pháp kế thừa
Giá trị liệt kê
công khai tĩnh cuối cùng RewriterConfig.MemOptType DEFAULT_MEM_OPT
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
công khai tĩnh cuối cùng RewriterConfig.MemOptType HEURISTICS
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
công khai tĩnh cuối cùng RewriterConfig.MemOptType MANUAL
Driven by manual op-level annotations.
MANUAL = 2;
công khai tĩnh cuối cùng RewriterConfig.MemOptType NO_MEM_OPT
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
công khai tĩnh cuối cùng 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;
công khai tĩnh cuối cùng 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;
công khai tĩnh cuối cùng 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;
công khai tĩnh cuối cùng RewriterConfig.MemOptType KHÔNG ĐƯỢC NHẬN ĐƯỢC
Hằng số
int tĩnh công khai DEFAULT_MEM_OPT_VALUE
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
Giá trị không đổi: 0
int cuối cùng tĩnh công khai HEURISTICS_VALUE
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
Giá trị không đổi: 3
int cuối cùng tĩnh công khai MANUAL_VALUE
Driven by manual op-level annotations.
MANUAL = 2;
Giá trị không đổi: 2
int tĩnh công khai NO_MEM_OPT_VALUE
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
Giá trị không đổi: 1
int tĩnh công khai 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;
Giá trị không đổi: 5
int tĩnh công khai 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;
Giá trị không đổi: 6
int tĩnh công khai 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;
Giá trị không đổi: 4