RewriterConfig.MemOptType

فهرست نهایی استاتیک عمومی 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.

روش های ارثی

مقادیر Enum

عمومی استاتیک نهایی 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 MANUAL

 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 UNRECOGNIZED

ثابت ها

نهایی استاتیک عمومی 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

عمومی استاتیک نهایی 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

نهایی استاتیک عمومی 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