Package org.tensorflow.framework
Interface WhileContextDefOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WhileContextDef,WhileContextDef.Builder
public interface WhileContextDefOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetBackProp()Whether backprop is enabled for this while loop.StringgetContextName()Name of the context.org.nd4j.shade.protobuf.ByteStringgetContextNameBytes()Name of the context.StringgetLoopEnterNames(int index)List of names for enter tensors.org.nd4j.shade.protobuf.ByteStringgetLoopEnterNamesBytes(int index)List of names for enter tensors.intgetLoopEnterNamesCount()List of names for enter tensors.List<String>getLoopEnterNamesList()List of names for enter tensors.StringgetLoopExitNames(int index)List of names for exit tensors.org.nd4j.shade.protobuf.ByteStringgetLoopExitNamesBytes(int index)List of names for exit tensors.intgetLoopExitNamesCount()List of names for exit tensors.List<String>getLoopExitNamesList()List of names for exit tensors.StringgetMaximumIterationsName()Optional name of the maximum_iterations tensor.org.nd4j.shade.protobuf.ByteStringgetMaximumIterationsNameBytes()Optional name of the maximum_iterations tensor.ControlFlowContextDefgetNestedContexts(int index)Contexts contained inside this context (e.g.intgetNestedContextsCount()Contexts contained inside this context (e.g.List<ControlFlowContextDef>getNestedContextsList()Contexts contained inside this context (e.g.ControlFlowContextDefOrBuildergetNestedContextsOrBuilder(int index)Contexts contained inside this context (e.g.List<? extends ControlFlowContextDefOrBuilder>getNestedContextsOrBuilderList()Contexts contained inside this context (e.g.intgetParallelIterations()The number of iterations allowed to run in parallel.StringgetPivotForBodyName()Name of the pivot_for_body tensor.org.nd4j.shade.protobuf.ByteStringgetPivotForBodyNameBytes()Name of the pivot_for_body tensor.StringgetPivotForPredName()Name of the pivot_for_pred tensor.org.nd4j.shade.protobuf.ByteStringgetPivotForPredNameBytes()Name of the pivot_for_pred tensor.StringgetPivotName()Name of the pivot tensor.org.nd4j.shade.protobuf.ByteStringgetPivotNameBytes()Name of the pivot tensor.booleangetSwapMemory()Whether GPU-CPU memory swap is enabled for this loop.ValuesDefgetValuesDef()Values and external values in control flow context.ValuesDefOrBuildergetValuesDefOrBuilder()Values and external values in control flow context.booleanhasValuesDef()Values and external values in control flow context.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContextName
String getContextName()
Name of the context.
string context_name = 1;- Returns:
- The contextName.
-
getContextNameBytes
org.nd4j.shade.protobuf.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
String getPivotName()
Name of the pivot tensor.
string pivot_name = 5;- Returns:
- The pivotName.
-
getPivotNameBytes
org.nd4j.shade.protobuf.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
org.nd4j.shade.protobuf.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
org.nd4j.shade.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;- Returns:
- The bytes for pivotForBodyName.
-
getLoopExitNamesList
List<String> getLoopExitNamesList()
List of names for exit tensors.
repeated string loop_exit_names = 8;- Returns:
- A list containing the loopExitNames.
-
getLoopExitNamesCount
int getLoopExitNamesCount()
List of names for exit tensors.
repeated string loop_exit_names = 8;- Returns:
- The count of loopExitNames.
-
getLoopExitNames
String getLoopExitNames(int index)
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
org.nd4j.shade.protobuf.ByteString getLoopExitNamesBytes(int index)
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
List<String> getLoopEnterNamesList()
List of names for enter tensors.
repeated string loop_enter_names = 10;- Returns:
- A list containing the loopEnterNames.
-
getLoopEnterNamesCount
int getLoopEnterNamesCount()
List of names for enter tensors.
repeated string loop_enter_names = 10;- Returns:
- The count of loopEnterNames.
-
getLoopEnterNames
String getLoopEnterNames(int index)
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
org.nd4j.shade.protobuf.ByteString getLoopEnterNamesBytes(int index)
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
org.nd4j.shade.protobuf.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
ControlFlowContextDef getNestedContexts(int index)
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
ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
-