Interface WhileContextDefOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
WhileContextDef, WhileContextDef.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether backprop is enabled for this while loop.Name of the context.Name of the context.getLoopEnterNames(int index) List of names for enter tensors.getLoopEnterNamesBytes(int index) List of names for enter tensors.intList of names for enter tensors.List of names for enter tensors.getLoopExitNames(int index) List of names for exit tensors.getLoopExitNamesBytes(int index) List of names for exit tensors.intList of names for exit tensors.List of names for exit tensors.Optional name of the maximum_iterations tensor.Optional name of the maximum_iterations tensor.getNestedContexts(int index) Contexts contained inside this context (e.g. nested whiles).intContexts contained inside this context (e.g. nested whiles).Contexts contained inside this context (e.g. nested whiles).getNestedContextsOrBuilder(int index) Contexts contained inside this context (e.g. nested whiles).List<? extends ControlFlowContextDefOrBuilder> Contexts contained inside this context (e.g. nested whiles).intThe number of iterations allowed to run in parallel.Name of the pivot_for_body tensor.Name of the pivot_for_body tensor.Name of the pivot_for_pred tensor.Name of the pivot_for_pred tensor.Name of the pivot tensor.Name of the pivot tensor.booleanWhether GPU-CPU memory swap is enabled for this loop.Values and external values in control flow context.Values and external values in control flow context.booleanValues and external values in control flow context.Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getContextName
-
getContextNameBytes
ByteString getContextNameBytes()Name of the context.
string context_name = 1;- Returns:
- The bytes for contextName.
-
getParallelIterations
int getParallelIterations()The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;- Returns:
- The parallelIterations.
-
getBackProp
boolean getBackProp()Whether backprop is enabled for this while loop.
bool back_prop = 3;- Returns:
- The backProp.
-
getSwapMemory
boolean getSwapMemory()Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;- Returns:
- The swapMemory.
-
getPivotName
-
getPivotNameBytes
ByteString getPivotNameBytes()Name of the pivot tensor.
string pivot_name = 5;- Returns:
- The bytes for pivotName.
-
getPivotForPredName
String getPivotForPredName()Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;- Returns:
- The pivotForPredName.
-
getPivotForPredNameBytes
ByteString getPivotForPredNameBytes()Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;- Returns:
- The bytes for pivotForPredName.
-
getPivotForBodyName
String getPivotForBodyName()Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;- Returns:
- The pivotForBodyName.
-
getPivotForBodyNameBytes
ByteString getPivotForBodyNameBytes()Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;- Returns:
- The bytes for pivotForBodyName.
-
getLoopExitNamesList
-
getLoopExitNamesCount
int getLoopExitNamesCount()List of names for exit tensors.
repeated string loop_exit_names = 8;- Returns:
- The count of loopExitNames.
-
getLoopExitNames
List of names for exit tensors.
repeated string loop_exit_names = 8;- Parameters:
index- The index of the element to return.- Returns:
- The loopExitNames at the given index.
-
getLoopExitNamesBytes
List of names for exit tensors.
repeated string loop_exit_names = 8;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the loopExitNames at the given index.
-
getLoopEnterNamesList
-
getLoopEnterNamesCount
int getLoopEnterNamesCount()List of names for enter tensors.
repeated string loop_enter_names = 10;- Returns:
- The count of loopEnterNames.
-
getLoopEnterNames
List of names for enter tensors.
repeated string loop_enter_names = 10;- Parameters:
index- The index of the element to return.- Returns:
- The loopEnterNames at the given index.
-
getLoopEnterNamesBytes
List of names for enter tensors.
repeated string loop_enter_names = 10;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the loopEnterNames at the given index.
-
hasValuesDef
boolean hasValuesDef()Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
ValuesDef getValuesDef()Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;- Returns:
- The valuesDef.
-
getValuesDefOrBuilder
ValuesDefOrBuilder getValuesDefOrBuilder()Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9; -
getMaximumIterationsName
String getMaximumIterationsName()Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;- Returns:
- The maximumIterationsName.
-
getMaximumIterationsNameBytes
ByteString getMaximumIterationsNameBytes()Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;- Returns:
- The bytes for maximumIterationsName.
-
getNestedContextsList
List<ControlFlowContextDef> getNestedContextsList()Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12; -
getNestedContexts
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12; -
getNestedContextsCount
int getNestedContextsCount()Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12; -
getNestedContextsOrBuilderList
List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12; -
getNestedContextsOrBuilder
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-