Package org.tensorflow.framework
Class WhileContextDef.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
- org.tensorflow.framework.WhileContextDef.Builder
-
- All Implemented Interfaces:
Cloneable
,org.nd4j.shade.protobuf.Message.Builder
,org.nd4j.shade.protobuf.MessageLite.Builder
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,WhileContextDefOrBuilder
- Enclosing class:
- WhileContextDef
public static final class WhileContextDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder> implements WhileContextDefOrBuilder
Protocol buffer representing a WhileContext object.
Protobuf typetensorflow.WhileContextDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(org.nd4j.shade.protobuf.ByteString value)
List of names for enter tensors.WhileContextDef.Builder
addLoopExitNames(String value)
List of names for exit tensors.WhileContextDef.Builder
addLoopExitNamesBytes(org.nd4j.shade.protobuf.ByteString value)
List of names for exit tensors.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.WhileContextDef.Builder
addNestedContexts(ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g.ControlFlowContextDef.Builder
addNestedContextsBuilder()
Contexts contained inside this context (e.g.ControlFlowContextDef.Builder
addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g.WhileContextDef.Builder
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
WhileContextDef
build()
WhileContextDef
buildPartial()
WhileContextDef.Builder
clear()
WhileContextDef.Builder
clearBackProp()
Whether backprop is enabled for this while loop.WhileContextDef.Builder
clearContextName()
Name of the context.WhileContextDef.Builder
clearField(org.nd4j.shade.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(org.nd4j.shade.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.org.nd4j.shade.protobuf.ByteString
getContextNameBytes()
Name of the context.WhileContextDef
getDefaultInstanceForType()
static org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptor()
org.nd4j.shade.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLoopEnterNames(int index)
List of names for enter tensors.org.nd4j.shade.protobuf.ByteString
getLoopEnterNamesBytes(int index)
List of names for enter tensors.int
getLoopEnterNamesCount()
List of names for enter tensors.org.nd4j.shade.protobuf.ProtocolStringList
getLoopEnterNamesList()
List of names for enter tensors.String
getLoopExitNames(int index)
List of names for exit tensors.org.nd4j.shade.protobuf.ByteString
getLoopExitNamesBytes(int index)
List of names for exit tensors.int
getLoopExitNamesCount()
List of names for exit tensors.org.nd4j.shade.protobuf.ProtocolStringList
getLoopExitNamesList()
List of names for exit tensors.String
getMaximumIterationsName()
Optional name of the maximum_iterations tensor.org.nd4j.shade.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.org.nd4j.shade.protobuf.ByteString
getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.String
getPivotForPredName()
Name of the pivot_for_pred tensor.org.nd4j.shade.protobuf.ByteString
getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.String
getPivotName()
Name of the pivot tensor.org.nd4j.shade.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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WhileContextDef.Builder
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
WhileContextDef.Builder
mergeFrom(org.nd4j.shade.protobuf.Message other)
WhileContextDef.Builder
mergeFrom(WhileContextDef other)
WhileContextDef.Builder
mergeUnknownFields(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the context.WhileContextDef.Builder
setField(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Optional name of the maximum_iterations tensor.WhileContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g.WhileContextDef.Builder
setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
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(org.nd4j.shade.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(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot_for_pred tensor.WhileContextDef.Builder
setPivotName(String value)
Name of the pivot tensor.WhileContextDef.Builder
setPivotNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot tensor.WhileContextDef.Builder
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
WhileContextDef.Builder
setSwapMemory(boolean value)
Whether GPU-CPU memory swap is enabled for this loop.WhileContextDef.Builder
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
WhileContextDef.Builder
setValuesDef(ValuesDef value)
Values and external values in control flow context.WhileContextDef.Builder
setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clear
public WhileContextDef.Builder clear()
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clear
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clear
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
getDefaultInstanceForType
public WhileContextDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public WhileContextDef build()
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
build
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public WhileContextDef buildPartial()
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
buildPartial
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public WhileContextDef.Builder clone()
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
clone
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
clone
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
setField
public WhileContextDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clearField
public WhileContextDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clearOneof
public WhileContextDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
clearOneof
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
setRepeatedField
public WhileContextDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
addRepeatedField
public WhileContextDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
mergeFrom
public WhileContextDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<WhileContextDef.Builder>
-
mergeFrom
public WhileContextDef.Builder mergeFrom(WhileContextDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
mergeFrom
public WhileContextDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.nd4j.shade.protobuf.AbstractMessage.Builder<WhileContextDef.Builder>
- Throws:
IOException
-
getContextName
public String getContextName()
Name of the context.
string context_name = 1;
- Specified by:
getContextName
in interfaceWhileContextDefOrBuilder
- Returns:
- The contextName.
-
getContextNameBytes
public org.nd4j.shade.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;
- Specified by:
getContextNameBytes
in interfaceWhileContextDefOrBuilder
- Returns:
- The bytes for contextName.
-
setContextName
public WhileContextDef.Builder setContextName(String value)
Name of the context.
string context_name = 1;
- Parameters:
value
- The contextName to set.- Returns:
- This builder for chaining.
-
clearContextName
public WhileContextDef.Builder clearContextName()
Name of the context.
string context_name = 1;
- Returns:
- This builder for chaining.
-
setContextNameBytes
public WhileContextDef.Builder setContextNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the context.
string context_name = 1;
- Parameters:
value
- The bytes for contextName to set.- Returns:
- This builder for chaining.
-
getParallelIterations
public int getParallelIterations()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
- Specified by:
getParallelIterations
in interfaceWhileContextDefOrBuilder
- Returns:
- The parallelIterations.
-
setParallelIterations
public WhileContextDef.Builder setParallelIterations(int value)
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
- Parameters:
value
- The parallelIterations to set.- Returns:
- This builder for chaining.
-
clearParallelIterations
public WhileContextDef.Builder clearParallelIterations()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
- Returns:
- This builder for chaining.
-
getBackProp
public boolean getBackProp()
Whether backprop is enabled for this while loop.
bool back_prop = 3;
- Specified by:
getBackProp
in interfaceWhileContextDefOrBuilder
- Returns:
- The backProp.
-
setBackProp
public WhileContextDef.Builder setBackProp(boolean value)
Whether backprop is enabled for this while loop.
bool back_prop = 3;
- Parameters:
value
- The backProp to set.- Returns:
- This builder for chaining.
-
clearBackProp
public WhileContextDef.Builder clearBackProp()
Whether backprop is enabled for this while loop.
bool back_prop = 3;
- Returns:
- This builder for chaining.
-
getSwapMemory
public boolean getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
- Specified by:
getSwapMemory
in interfaceWhileContextDefOrBuilder
- Returns:
- The swapMemory.
-
setSwapMemory
public WhileContextDef.Builder setSwapMemory(boolean value)
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
- Parameters:
value
- The swapMemory to set.- Returns:
- This builder for chaining.
-
clearSwapMemory
public WhileContextDef.Builder clearSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
- Returns:
- This builder for chaining.
-
getPivotName
public String getPivotName()
Name of the pivot tensor.
string pivot_name = 5;
- Specified by:
getPivotName
in interfaceWhileContextDefOrBuilder
- Returns:
- The pivotName.
-
getPivotNameBytes
public org.nd4j.shade.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 5;
- Specified by:
getPivotNameBytes
in interfaceWhileContextDefOrBuilder
- Returns:
- The bytes for pivotName.
-
setPivotName
public WhileContextDef.Builder setPivotName(String value)
Name of the pivot tensor.
string pivot_name = 5;
- Parameters:
value
- The pivotName to set.- Returns:
- This builder for chaining.
-
clearPivotName
public WhileContextDef.Builder clearPivotName()
Name of the pivot tensor.
string pivot_name = 5;
- Returns:
- This builder for chaining.
-
setPivotNameBytes
public WhileContextDef.Builder setPivotNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot tensor.
string pivot_name = 5;
- Parameters:
value
- The bytes for pivotName to set.- Returns:
- This builder for chaining.
-
getPivotForPredName
public String getPivotForPredName()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Specified by:
getPivotForPredName
in interfaceWhileContextDefOrBuilder
- Returns:
- The pivotForPredName.
-
getPivotForPredNameBytes
public org.nd4j.shade.protobuf.ByteString getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Specified by:
getPivotForPredNameBytes
in interfaceWhileContextDefOrBuilder
- Returns:
- The bytes for pivotForPredName.
-
setPivotForPredName
public WhileContextDef.Builder setPivotForPredName(String value)
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Parameters:
value
- The pivotForPredName to set.- Returns:
- This builder for chaining.
-
clearPivotForPredName
public WhileContextDef.Builder clearPivotForPredName()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Returns:
- This builder for chaining.
-
setPivotForPredNameBytes
public WhileContextDef.Builder setPivotForPredNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
- Parameters:
value
- The bytes for pivotForPredName to set.- Returns:
- This builder for chaining.
-
getPivotForBodyName
public String getPivotForBodyName()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Specified by:
getPivotForBodyName
in interfaceWhileContextDefOrBuilder
- Returns:
- The pivotForBodyName.
-
getPivotForBodyNameBytes
public org.nd4j.shade.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Specified by:
getPivotForBodyNameBytes
in interfaceWhileContextDefOrBuilder
- Returns:
- The bytes for pivotForBodyName.
-
setPivotForBodyName
public WhileContextDef.Builder setPivotForBodyName(String value)
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Parameters:
value
- The pivotForBodyName to set.- Returns:
- This builder for chaining.
-
clearPivotForBodyName
public WhileContextDef.Builder clearPivotForBodyName()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Returns:
- This builder for chaining.
-
setPivotForBodyNameBytes
public WhileContextDef.Builder setPivotForBodyNameBytes(org.nd4j.shade.protobuf.ByteString value)
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
- Parameters:
value
- The bytes for pivotForBodyName to set.- Returns:
- This builder for chaining.
-
getLoopExitNamesList
public org.nd4j.shade.protobuf.ProtocolStringList getLoopExitNamesList()
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Specified by:
getLoopExitNamesList
in interfaceWhileContextDefOrBuilder
- Returns:
- A list containing the loopExitNames.
-
getLoopExitNamesCount
public int getLoopExitNamesCount()
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Specified by:
getLoopExitNamesCount
in interfaceWhileContextDefOrBuilder
- Returns:
- The count of loopExitNames.
-
getLoopExitNames
public String getLoopExitNames(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Specified by:
getLoopExitNames
in interfaceWhileContextDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The loopExitNames at the given index.
-
getLoopExitNamesBytes
public org.nd4j.shade.protobuf.ByteString getLoopExitNamesBytes(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Specified by:
getLoopExitNamesBytes
in interfaceWhileContextDefOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the loopExitNames at the given index.
-
setLoopExitNames
public WhileContextDef.Builder setLoopExitNames(int index, String value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Parameters:
index
- The index to set the value at.value
- The loopExitNames to set.- Returns:
- This builder for chaining.
-
addLoopExitNames
public WhileContextDef.Builder addLoopExitNames(String value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Parameters:
value
- The loopExitNames to add.- Returns:
- This builder for chaining.
-
addAllLoopExitNames
public WhileContextDef.Builder addAllLoopExitNames(Iterable<String> values)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Parameters:
values
- The loopExitNames to add.- Returns:
- This builder for chaining.
-
clearLoopExitNames
public WhileContextDef.Builder clearLoopExitNames()
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Returns:
- This builder for chaining.
-
addLoopExitNamesBytes
public WhileContextDef.Builder addLoopExitNamesBytes(org.nd4j.shade.protobuf.ByteString value)
List of names for exit tensors.
repeated string loop_exit_names = 8;
- Parameters:
value
- The bytes of the loopExitNames to add.- Returns:
- This builder for chaining.
-
getLoopEnterNamesList
public org.nd4j.shade.protobuf.ProtocolStringList getLoopEnterNamesList()
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Specified by:
getLoopEnterNamesList
in interfaceWhileContextDefOrBuilder
- Returns:
- A list containing the loopEnterNames.
-
getLoopEnterNamesCount
public int getLoopEnterNamesCount()
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Specified by:
getLoopEnterNamesCount
in interfaceWhileContextDefOrBuilder
- Returns:
- The count of loopEnterNames.
-
getLoopEnterNames
public String getLoopEnterNames(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Specified by:
getLoopEnterNames
in interfaceWhileContextDefOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The loopEnterNames at the given index.
-
getLoopEnterNamesBytes
public org.nd4j.shade.protobuf.ByteString getLoopEnterNamesBytes(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Specified by:
getLoopEnterNamesBytes
in interfaceWhileContextDefOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the loopEnterNames at the given index.
-
setLoopEnterNames
public WhileContextDef.Builder setLoopEnterNames(int index, String value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Parameters:
index
- The index to set the value at.value
- The loopEnterNames to set.- Returns:
- This builder for chaining.
-
addLoopEnterNames
public WhileContextDef.Builder addLoopEnterNames(String value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Parameters:
value
- The loopEnterNames to add.- Returns:
- This builder for chaining.
-
addAllLoopEnterNames
public WhileContextDef.Builder addAllLoopEnterNames(Iterable<String> values)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Parameters:
values
- The loopEnterNames to add.- Returns:
- This builder for chaining.
-
clearLoopEnterNames
public WhileContextDef.Builder clearLoopEnterNames()
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Returns:
- This builder for chaining.
-
addLoopEnterNamesBytes
public WhileContextDef.Builder addLoopEnterNamesBytes(org.nd4j.shade.protobuf.ByteString value)
List of names for enter tensors.
repeated string loop_enter_names = 10;
- Parameters:
value
- The bytes of the loopEnterNames to add.- Returns:
- This builder for chaining.
-
hasValuesDef
public boolean hasValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
- Specified by:
hasValuesDef
in interfaceWhileContextDefOrBuilder
- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
public ValuesDef getValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
- Specified by:
getValuesDef
in interfaceWhileContextDefOrBuilder
- Returns:
- The valuesDef.
-
setValuesDef
public WhileContextDef.Builder setValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
-
setValuesDef
public WhileContextDef.Builder setValuesDef(ValuesDef.Builder builderForValue)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
-
mergeValuesDef
public WhileContextDef.Builder mergeValuesDef(ValuesDef value)
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
-
clearValuesDef
public WhileContextDef.Builder clearValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
-
getValuesDefBuilder
public ValuesDef.Builder getValuesDefBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
-
getValuesDefOrBuilder
public ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
- Specified by:
getValuesDefOrBuilder
in interfaceWhileContextDefOrBuilder
-
getMaximumIterationsName
public String getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Specified by:
getMaximumIterationsName
in interfaceWhileContextDefOrBuilder
- Returns:
- The maximumIterationsName.
-
getMaximumIterationsNameBytes
public org.nd4j.shade.protobuf.ByteString getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Specified by:
getMaximumIterationsNameBytes
in interfaceWhileContextDefOrBuilder
- Returns:
- The bytes for maximumIterationsName.
-
setMaximumIterationsName
public WhileContextDef.Builder setMaximumIterationsName(String value)
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Parameters:
value
- The maximumIterationsName to set.- Returns:
- This builder for chaining.
-
clearMaximumIterationsName
public WhileContextDef.Builder clearMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Returns:
- This builder for chaining.
-
setMaximumIterationsNameBytes
public WhileContextDef.Builder setMaximumIterationsNameBytes(org.nd4j.shade.protobuf.ByteString value)
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
- Parameters:
value
- The bytes for maximumIterationsName to set.- Returns:
- This builder for chaining.
-
getNestedContextsList
public List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
- Specified by:
getNestedContextsList
in interfaceWhileContextDefOrBuilder
-
getNestedContextsCount
public int getNestedContextsCount()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
- Specified by:
getNestedContextsCount
in interfaceWhileContextDefOrBuilder
-
getNestedContexts
public ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
- Specified by:
getNestedContexts
in interfaceWhileContextDefOrBuilder
-
setNestedContexts
public WhileContextDef.Builder setNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
setNestedContexts
public WhileContextDef.Builder setNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addNestedContexts
public WhileContextDef.Builder addNestedContexts(ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addNestedContexts
public WhileContextDef.Builder addNestedContexts(int index, ControlFlowContextDef value)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addNestedContexts
public WhileContextDef.Builder addNestedContexts(ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addNestedContexts
public WhileContextDef.Builder addNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addAllNestedContexts
public WhileContextDef.Builder addAllNestedContexts(Iterable<? extends ControlFlowContextDef> values)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
clearNestedContexts
public WhileContextDef.Builder clearNestedContexts()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
removeNestedContexts
public WhileContextDef.Builder removeNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsBuilder
public ControlFlowContextDef.Builder getNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsOrBuilder
public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
- Specified by:
getNestedContextsOrBuilder
in interfaceWhileContextDefOrBuilder
-
getNestedContextsOrBuilderList
public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
- Specified by:
getNestedContextsOrBuilderList
in interfaceWhileContextDefOrBuilder
-
addNestedContextsBuilder
public ControlFlowContextDef.Builder addNestedContextsBuilder()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
addNestedContextsBuilder
public ControlFlowContextDef.Builder addNestedContextsBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
getNestedContextsBuilderList
public List<ControlFlowContextDef.Builder> getNestedContextsBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
-
setUnknownFields
public final WhileContextDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
mergeUnknownFields
public final WhileContextDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.nd4j.shade.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
-