WhileContextDef.Builder

public static final class WhileContextDef.Builder

 Protocol buffer representing a WhileContext object.
 
Protobuf type tensorflow.WhileContextDef

Public Methods

WhileContextDef.Builder
addAllLoopEnterNames (Iterable<String> values)
 List of names for enter tensors.
WhileContextDef.Builder
addAllLoopExitNames (Iterable<String> values)
 List of names for exit tensors.
WhileContextDef.Builder
addAllNestedContexts (Iterable<? extends ControlFlowContextDef > values)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
addLoopEnterNames (String value)
 List of names for enter tensors.
WhileContextDef.Builder
addLoopEnterNamesBytes (com.google.protobuf.ByteString value)
 List of names for enter tensors.
WhileContextDef.Builder
addLoopExitNames (String value)
 List of names for exit tensors.
WhileContextDef.Builder
addLoopExitNamesBytes (com.google.protobuf.ByteString value)
 List of names for exit tensors.
WhileContextDef.Builder
addNestedContexts ( ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
addNestedContexts (int index, ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
addNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
addNestedContexts ( ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
ControlFlowContextDef.Builder
addNestedContextsBuilder (int index)
 Contexts contained inside this context (e.g.
ControlFlowContextDef.Builder
addNestedContextsBuilder ()
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WhileContextDef
WhileContextDef
WhileContextDef.Builder
WhileContextDef.Builder
clearBackProp ()
 Whether backprop is enabled for this while loop.
WhileContextDef.Builder
clearContextName ()
 Name of the context.
WhileContextDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
WhileContextDef.Builder
clearLoopEnterNames ()
 List of names for enter tensors.
WhileContextDef.Builder
clearLoopExitNames ()
 List of names for exit tensors.
WhileContextDef.Builder
clearMaximumIterationsName ()
 Optional name of the maximum_iterations tensor.
WhileContextDef.Builder
clearNestedContexts ()
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
WhileContextDef.Builder
clearParallelIterations ()
 The number of iterations allowed to run in parallel.
WhileContextDef.Builder
clearPivotForBodyName ()
 Name of the pivot_for_body tensor.
WhileContextDef.Builder
clearPivotForPredName ()
 Name of the pivot_for_pred tensor.
WhileContextDef.Builder
clearPivotName ()
 Name of the pivot tensor.
WhileContextDef.Builder
clearSwapMemory ()
 Whether GPU-CPU memory swap is enabled for this loop.
WhileContextDef.Builder
clearValuesDef ()
 Values and external values in control flow context.
WhileContextDef.Builder
boolean
getBackProp ()
 Whether backprop is enabled for this while loop.
String
getContextName ()
 Name of the context.
com.google.protobuf.ByteString
getContextNameBytes ()
 Name of the context.
WhileContextDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
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.
com.google.protobuf.ProtocolStringList
getLoopEnterNamesList ()
 List of names for enter tensors.
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.
com.google.protobuf.ProtocolStringList
getLoopExitNamesList ()
 List of names for exit tensors.
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.
ControlFlowContextDef.Builder
getNestedContextsBuilder (int index)
 Contexts contained inside this context (e.g.
List< ControlFlowContextDef.Builder >
getNestedContextsBuilderList ()
 Contexts contained inside this context (e.g.
int
getNestedContextsCount ()
 Contexts contained inside this context (e.g.
List< ControlFlowContextDef >
getNestedContextsList ()
 Contexts contained inside this context (e.g.
ControlFlowContextDefOrBuilder
getNestedContextsOrBuilder (int index)
 Contexts contained inside this context (e.g.
List<? extends ControlFlowContextDefOrBuilder >
getNestedContextsOrBuilderList ()
 Contexts contained inside this context (e.g.
int
getParallelIterations ()
 The number of iterations allowed to run in parallel.
String
getPivotForBodyName ()
 Name of the pivot_for_body tensor.
com.google.protobuf.ByteString
getPivotForBodyNameBytes ()
 Name of the pivot_for_body tensor.
String
getPivotForPredName ()
 Name of the pivot_for_pred tensor.
com.google.protobuf.ByteString
getPivotForPredNameBytes ()
 Name of the pivot_for_pred tensor.
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.
ValuesDef.Builder
getValuesDefBuilder ()
 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.
final boolean
WhileContextDef.Builder
mergeFrom (com.google.protobuf.Message other)
WhileContextDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
final WhileContextDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
WhileContextDef.Builder
mergeValuesDef ( ValuesDef value)
 Values and external values in control flow context.
WhileContextDef.Builder
removeNestedContexts (int index)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
setBackProp (boolean value)
 Whether backprop is enabled for this while loop.
WhileContextDef.Builder
setContextName (String value)
 Name of the context.
WhileContextDef.Builder
setContextNameBytes (com.google.protobuf.ByteString value)
 Name of the context.
WhileContextDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
WhileContextDef.Builder
setLoopEnterNames (int index, String value)
 List of names for enter tensors.
WhileContextDef.Builder
setLoopExitNames (int index, String value)
 List of names for exit tensors.
WhileContextDef.Builder
setMaximumIterationsName (String value)
 Optional name of the maximum_iterations tensor.
WhileContextDef.Builder
setMaximumIterationsNameBytes (com.google.protobuf.ByteString value)
 Optional name of the maximum_iterations tensor.
WhileContextDef.Builder
setNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
setNestedContexts (int index, ControlFlowContextDef value)
 Contexts contained inside this context (e.g.
WhileContextDef.Builder
setParallelIterations (int value)
 The number of iterations allowed to run in parallel.
WhileContextDef.Builder
setPivotForBodyName (String value)
 Name of the pivot_for_body tensor.
WhileContextDef.Builder
setPivotForBodyNameBytes (com.google.protobuf.ByteString value)
 Name of the pivot_for_body tensor.
WhileContextDef.Builder
setPivotForPredName (String value)
 Name of the pivot_for_pred tensor.
WhileContextDef.Builder
setPivotForPredNameBytes (com.google.protobuf.ByteString value)
 Name of the pivot_for_pred tensor.
WhileContextDef.Builder
setPivotName (String value)
 Name of the pivot tensor.
WhileContextDef.Builder
setPivotNameBytes (com.google.protobuf.ByteString value)
 Name of the pivot tensor.
WhileContextDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
WhileContextDef.Builder