public static Final enum RewriterConfig.MemOptType
Protobuf enum 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. |
継承されたメソッド
列挙値
public static Final RewriterConfig.MemOptType DEFAULT_MEM_OPT
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
public static Final RewriterConfig.MemOptTypeヒューリスティック
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
public static Final RewriterConfig.MemOptType MANUAL
Driven by manual op-level annotations.
MANUAL = 2;
public static Final RewriterConfig.MemOptType NO_MEM_OPT
Disabled in the meta-optimizer.
NO_MEM_OPT = 1;
public static 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;
public static 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;
public static 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;
public static Final RewriterConfig.MemOptType認識されません
定数
パブリック静的最終整数DEFAULT_MEM_OPT_VALUE
The default setting (SCHEDULING and SWAPPING HEURISTICS only)
DEFAULT_MEM_OPT = 0;
定数値: 0
パブリック静的最終整数HEURISTICS_VALUE
Use any combination of swapping and recomputation heuristics.
HEURISTICS = 3;
定数値: 3
パブリック静的最終整数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
public static 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;
定数値: 5
パブリック静的最終整数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
パブリック静的最終整数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