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
build()
WhileContextDef
WhileContextDef.Builder
clear()
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
clone()
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
setSwapMemory(boolean value)
 Whether GPU-CPU memory swap is enabled for this loop.
final WhileContextDef.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
WhileContextDef.Builder
setValuesDef(ValuesDef.Builder builderForValue)
 Values and external values in control flow context.
WhileContextDef.Builder
setValuesDef(ValuesDef value)
 Values and external values in control flow context.

Inherited Methods

Public Methods

public WhileContextDef.Builder addAllLoopEnterNames (Iterable<String> values)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public WhileContextDef.Builder addAllLoopExitNames (Iterable<String> values)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public WhileContextDef.Builder addAllNestedContexts (Iterable<? extends ControlFlowContextDef> values)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder addLoopEnterNames (String value)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public WhileContextDef.Builder addLoopEnterNamesBytes (com.google.protobuf.ByteString value)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public WhileContextDef.Builder addLoopExitNames (String value)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public WhileContextDef.Builder addLoopExitNamesBytes (com.google.protobuf.ByteString value)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public WhileContextDef.Builder addNestedContexts (ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder addNestedContexts (int index, ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder addNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder addNestedContexts (ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public ControlFlowContextDef.Builder addNestedContextsBuilder (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public ControlFlowContextDef.Builder addNestedContextsBuilder ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public WhileContextDef build ()

public WhileContextDef buildPartial ()

public WhileContextDef.Builder clear ()

public WhileContextDef.Builder clearBackProp ()

 Whether backprop is enabled for this while loop.
 
bool back_prop = 3;

public WhileContextDef.Builder clearContextName ()

 Name of the context.
 
string context_name = 1;

public WhileContextDef.Builder clearField (com.google.protobuf.Descriptors.FieldDescriptor field)

public WhileContextDef.Builder clearLoopEnterNames ()

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public WhileContextDef.Builder clearLoopExitNames ()

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public WhileContextDef.Builder clearMaximumIterationsName ()

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public WhileContextDef.Builder clearNestedContexts ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public WhileContextDef.Builder clearParallelIterations ()

 The number of iterations allowed to run in parallel.
 
int32 parallel_iterations = 2;

public WhileContextDef.Builder clearPivotForBodyName ()

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public WhileContextDef.Builder clearPivotForPredName ()

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public WhileContextDef.Builder clearPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 5;

public WhileContextDef.Builder clearSwapMemory ()

 Whether GPU-CPU memory swap is enabled for this loop.
 
bool swap_memory = 4;

public WhileContextDef.Builder clearValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public WhileContextDef.Builder clone ()

public boolean getBackProp ()

 Whether backprop is enabled for this while loop.
 
bool back_prop = 3;

public String getContextName ()

 Name of the context.
 
string context_name = 1;

public com.google.protobuf.ByteString getContextNameBytes ()

 Name of the context.
 
string context_name = 1;

public WhileContextDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

public String getLoopEnterNames (int index)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public com.google.protobuf.ByteString getLoopEnterNamesBytes (int index)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public int getLoopEnterNamesCount ()

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public com.google.protobuf.ProtocolStringList getLoopEnterNamesList ()

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public String getLoopExitNames (int index)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public com.google.protobuf.ByteString getLoopExitNamesBytes (int index)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public int getLoopExitNamesCount ()

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public com.google.protobuf.ProtocolStringList getLoopExitNamesList ()

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public String getMaximumIterationsName ()

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public com.google.protobuf.ByteString getMaximumIterationsNameBytes ()

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public ControlFlowContextDef getNestedContexts (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public ControlFlowContextDef.Builder getNestedContextsBuilder (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public List<ControlFlowContextDef.Builder> getNestedContextsBuilderList ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public int getNestedContextsCount ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public List<ControlFlowContextDef> getNestedContextsList ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public int getParallelIterations ()

 The number of iterations allowed to run in parallel.
 
int32 parallel_iterations = 2;

public String getPivotForBodyName ()

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public com.google.protobuf.ByteString getPivotForBodyNameBytes ()

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public String getPivotForPredName ()

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public com.google.protobuf.ByteString getPivotForPredNameBytes ()

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public String getPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 5;

public com.google.protobuf.ByteString getPivotNameBytes ()

 Name of the pivot tensor.
 
string pivot_name = 5;

public boolean getSwapMemory ()

 Whether GPU-CPU memory swap is enabled for this loop.
 
bool swap_memory = 4;

public ValuesDef getValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public ValuesDef.Builder getValuesDefBuilder ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public ValuesDefOrBuilder getValuesDefOrBuilder ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public boolean hasValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public final boolean isInitialized ()

public WhileContextDef.Builder mergeFrom (com.google.protobuf.Message other)

public WhileContextDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public final WhileContextDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public WhileContextDef.Builder mergeValuesDef (ValuesDef value)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public WhileContextDef.Builder removeNestedContexts (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder setBackProp (boolean value)

 Whether backprop is enabled for this while loop.
 
bool back_prop = 3;

public WhileContextDef.Builder setContextName (String value)

 Name of the context.
 
string context_name = 1;

public WhileContextDef.Builder setContextNameBytes (com.google.protobuf.ByteString value)

 Name of the context.
 
string context_name = 1;

public WhileContextDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)

public WhileContextDef.Builder setLoopEnterNames (int index, String value)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public WhileContextDef.Builder setLoopExitNames (int index, String value)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public WhileContextDef.Builder setMaximumIterationsName (String value)

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public WhileContextDef.Builder setMaximumIterationsNameBytes (com.google.protobuf.ByteString value)

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public WhileContextDef.Builder setNestedContexts (int index, ControlFlowContextDef.Builder builderForValue)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder setNestedContexts (int index, ControlFlowContextDef value)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public WhileContextDef.Builder setParallelIterations (int value)

 The number of iterations allowed to run in parallel.
 
int32 parallel_iterations = 2;

public WhileContextDef.Builder setPivotForBodyName (String value)

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public WhileContextDef.Builder setPivotForBodyNameBytes (com.google.protobuf.ByteString value)

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public WhileContextDef.Builder setPivotForPredName (String value)

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public WhileContextDef.Builder setPivotForPredNameBytes (com.google.protobuf.ByteString value)

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public WhileContextDef.Builder setPivotName (String value)

 Name of the pivot tensor.
 
string pivot_name = 5;

public WhileContextDef.Builder setPivotNameBytes (com.google.protobuf.ByteString value)

 Name of the pivot tensor.
 
string pivot_name = 5;

public WhileContextDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)

public WhileContextDef.Builder setSwapMemory (boolean value)

 Whether GPU-CPU memory swap is enabled for this loop.
 
bool swap_memory = 4;

public final WhileContextDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public WhileContextDef.Builder setValuesDef (ValuesDef.Builder builderForValue)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public WhileContextDef.Builder setValuesDef (ValuesDef value)

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;