Package org.platanios.tensorflow.proto
Interface WhileContextDefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WhileContextDef
,WhileContextDef.Builder
public interface WhileContextDefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getBackProp()
Whether backprop is enabled for this while loop.java.lang.String
getContextName()
Name of the context.com.google.protobuf.ByteString
getContextNameBytes()
Name of the context.java.lang.String
getLoopEnterNames(int index)
List of names for enter tensors.com.google.protobuf.ByteString
getLoopEnterNamesBytes(int index)
List of names for enter tensors.int
getLoopEnterNamesCount()
List of names for enter tensors.java.util.List<java.lang.String>
getLoopEnterNamesList()
List of names for enter tensors.java.lang.String
getLoopExitNames(int index)
List of names for exit tensors.com.google.protobuf.ByteString
getLoopExitNamesBytes(int index)
List of names for exit tensors.int
getLoopExitNamesCount()
List of names for exit tensors.java.util.List<java.lang.String>
getLoopExitNamesList()
List of names for exit tensors.java.lang.String
getMaximumIterationsName()
Optional name of the maximum_iterations tensor.com.google.protobuf.ByteString
getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.ControlFlowContextDef
getNestedContexts(int index)
Contexts contained inside this context (e.g.int
getNestedContextsCount()
Contexts contained inside this context (e.g.java.util.List<ControlFlowContextDef>
getNestedContextsList()
Contexts contained inside this context (e.g.ControlFlowContextDefOrBuilder
getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g.java.util.List<? extends ControlFlowContextDefOrBuilder>
getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g.int
getParallelIterations()
The number of iterations allowed to run in parallel.java.lang.String
getPivotForBodyName()
Name of the pivot_for_body tensor.com.google.protobuf.ByteString
getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.java.lang.String
getPivotForPredName()
Name of the pivot_for_pred tensor.com.google.protobuf.ByteString
getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.java.lang.String
getPivotName()
Name of the pivot tensor.com.google.protobuf.ByteString
getPivotNameBytes()
Name of the pivot tensor.boolean
getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.ValuesDef
getValuesDef()
Values and external values in control flow context.ValuesDefOrBuilder
getValuesDefOrBuilder()
Values and external values in control flow context.boolean
hasValuesDef()
Values and external values in control flow context.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContextName
java.lang.String getContextName()
Name of the context.
string context_name = 1;
- Returns:
- The contextName.
-
getContextNameBytes
com.google.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
java.lang.String getPivotName()
Name of the pivot tensor.
string pivot_name = 5;
- Returns:
- The pivotName.
-
getPivotNameBytes
com.google.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 5;
- Returns:
- The bytes for pivotName.
-
getPivotForPredName
java.lang.String getPivotForPredName()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Returns:
- The pivotForPredName.
-
getPivotForPredNameBytes
com.google.protobuf.ByteString getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Returns:
- The bytes for pivotForPredName.
-
getPivotForBodyName
java.lang.String getPivotForBodyName()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Returns:
- The pivotForBodyName.
-
getPivotForBodyNameBytes
com.google.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Returns:
- The bytes for pivotForBodyName.
-
getLoopExitNamesList
java.util.List<java.lang.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
java.lang.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
com.google.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
java.util.List<java.lang.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
java.lang.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
com.google.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.
.org.platanios.tensorflow.proto.ValuesDef values_def = 9;
- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
ValuesDef getValuesDef()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 9;
- Returns:
- The valuesDef.
-
getValuesDefOrBuilder
ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 9;
-
getMaximumIterationsName
java.lang.String getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Returns:
- The maximumIterationsName.
-
getMaximumIterationsNameBytes
com.google.protobuf.ByteString getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Returns:
- The bytes for maximumIterationsName.
-
getNestedContextsList
java.util.List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested whiles).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 12;
-
getNestedContexts
ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsCount
int getNestedContextsCount()
Contexts contained inside this context (e.g. nested whiles).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsOrBuilderList
java.util.List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsOrBuilder
ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 12;
-
-