สาธารณะ enum สุดท้ายคงที่ RewriterConfig.MemOptType
Protobuf enum tensorflow.RewriterConfig.MemOptType
ค่าคงที่
ภายใน | DEFAULT_MEM_OPT_VALUE | The default setting (SCHEDULING and SWAPPING HEURISTICS only) DEFAULT_MEM_OPT = 0; |
ภายใน | ฮิวริสติคส์_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 HEURISTICS สุดท้ายแบบคงที่สาธารณะ
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 สุดท้ายแบบคงที่สาธารณะ ไม่ได้รับการจดจำ
ค่าคงที่
สาธารณะคงสุดท้าย int 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
int สุดท้ายคงสาธารณะ 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