التعداد النهائي العام الثابت RewriterConfig.MemOptType
Protobuf التعداد tensorflow.RewriterConfig.MemOptType
الثوابت
كثافة العمليات | DEFAULT_MEM_OPT_VALUE | The default setting (SCHEDULING and SWAPPING HEURISTICS only) DEFAULT_MEM_OPT = 0; |
كثافة العمليات | HEURISTICS_VALUE | Use any combination of swapping and recomputation heuristics. |
كثافة العمليات | MANUAL_VALUE | Driven by manual op-level annotations. |
كثافة العمليات | NO_MEM_OPT_VALUE | Disabled in the meta-optimizer. |
كثافة العمليات | RECOMPUTATION_HEURISTICS_VALUE | Recomputation heuristics will recompute ops (such as Relu activation) during backprop instead of storing them, reducing peak memory usage. |
كثافة العمليات | 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. |
كثافة العمليات | 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. |
الطرق الموروثة
قيم التعداد
RewriterConfig.MemOptType النهائي العام والثابت DEFAULT_MEM_OPT
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
الاستدلالات النهائية العامة الثابتة RewriterConfig.MemOptType
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
الدليل النهائي العام الثابت RewriterConfig.MemOptType
Driven by manual op-level annotations.
MANUAL = 2;
RewriterConfig.MemOptType النهائي العام الثابت NO_MEM_OPT
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
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;
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;
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;
لم يتم التعرف على RewriterConfig.MemOptType النهائي العام الثابت
الثوابت
العدد النهائي الثابت العام DEFAULT_MEM_OPT_VALUE
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
القيمة الثابتة: 0
int النهائي الثابت العام HEURISTICS_VALUE
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
القيمة الثابتة: 3
int النهائي الثابت العام MANUAL_VALUE
Driven by manual op-level annotations.
MANUAL = 2;
القيمة الثابتة: 2
العدد النهائي الثابت العام NO_MEM_OPT_VALUE
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
القيمة الثابتة: 1
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;
القيمة الثابتة: 5
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;
القيمة الثابتة: 6
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;
القيمة الثابتة: 4