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.BuilderaddAllLoopEnterNames(Iterable<String> values)List of names for enter tensors.WhileContextDef.BuilderaddAllLoopExitNames(Iterable<String> values)List of names for exit tensors.WhileContextDef.BuilderaddAllNestedContexts(Iterable<? extends ControlFlowContextDef> values)Contexts contained inside this context (e.g.WhileContextDef.BuilderaddLoopEnterNames(String value)List of names for enter tensors.WhileContextDef.BuilderaddLoopEnterNamesBytes(org.nd4j.shade.protobuf.ByteString value)List of names for enter tensors.WhileContextDef.BuilderaddLoopExitNames(String value)List of names for exit tensors.WhileContextDef.BuilderaddLoopExitNamesBytes(org.nd4j.shade.protobuf.ByteString value)List of names for exit tensors.WhileContextDef.BuilderaddNestedContexts(int index, ControlFlowContextDef value)Contexts contained inside this context (e.g.WhileContextDef.BuilderaddNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)Contexts contained inside this context (e.g.WhileContextDef.BuilderaddNestedContexts(ControlFlowContextDef value)Contexts contained inside this context (e.g.WhileContextDef.BuilderaddNestedContexts(ControlFlowContextDef.Builder builderForValue)Contexts contained inside this context (e.g.ControlFlowContextDef.BuilderaddNestedContextsBuilder()Contexts contained inside this context (e.g.ControlFlowContextDef.BuilderaddNestedContextsBuilder(int index)Contexts contained inside this context (e.g.WhileContextDef.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)WhileContextDefbuild()WhileContextDefbuildPartial()WhileContextDef.Builderclear()WhileContextDef.BuilderclearBackProp()Whether backprop is enabled for this while loop.WhileContextDef.BuilderclearContextName()Name of the context.WhileContextDef.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)WhileContextDef.BuilderclearLoopEnterNames()List of names for enter tensors.WhileContextDef.BuilderclearLoopExitNames()List of names for exit tensors.WhileContextDef.BuilderclearMaximumIterationsName()Optional name of the maximum_iterations tensor.WhileContextDef.BuilderclearNestedContexts()Contexts contained inside this context (e.g.WhileContextDef.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)WhileContextDef.BuilderclearParallelIterations()The number of iterations allowed to run in parallel.WhileContextDef.BuilderclearPivotForBodyName()Name of the pivot_for_body tensor.WhileContextDef.BuilderclearPivotForPredName()Name of the pivot_for_pred tensor.WhileContextDef.BuilderclearPivotName()Name of the pivot tensor.WhileContextDef.BuilderclearSwapMemory()Whether GPU-CPU memory swap is enabled for this loop.WhileContextDef.BuilderclearValuesDef()Values and external values in control flow context.WhileContextDef.Builderclone()booleangetBackProp()Whether backprop is enabled for this while loop.StringgetContextName()Name of the context.org.nd4j.shade.protobuf.ByteStringgetContextNameBytes()Name of the context.WhileContextDefgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()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.org.nd4j.shade.protobuf.ProtocolStringListgetLoopEnterNamesList()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.org.nd4j.shade.protobuf.ProtocolStringListgetLoopExitNamesList()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.ControlFlowContextDef.BuildergetNestedContextsBuilder(int index)Contexts contained inside this context (e.g.List<ControlFlowContextDef.Builder>getNestedContextsBuilderList()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.ValuesDef.BuildergetValuesDefBuilder()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.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WhileContextDef.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)WhileContextDef.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)WhileContextDef.BuildermergeFrom(WhileContextDef other)WhileContextDef.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)WhileContextDef.BuildermergeValuesDef(ValuesDef value)Values and external values in control flow context.WhileContextDef.BuilderremoveNestedContexts(int index)Contexts contained inside this context (e.g.WhileContextDef.BuildersetBackProp(boolean value)Whether backprop is enabled for this while loop.WhileContextDef.BuildersetContextName(String value)Name of the context.WhileContextDef.BuildersetContextNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the context.WhileContextDef.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)WhileContextDef.BuildersetLoopEnterNames(int index, String value)List of names for enter tensors.WhileContextDef.BuildersetLoopExitNames(int index, String value)List of names for exit tensors.WhileContextDef.BuildersetMaximumIterationsName(String value)Optional name of the maximum_iterations tensor.WhileContextDef.BuildersetMaximumIterationsNameBytes(org.nd4j.shade.protobuf.ByteString value)Optional name of the maximum_iterations tensor.WhileContextDef.BuildersetNestedContexts(int index, ControlFlowContextDef value)Contexts contained inside this context (e.g.WhileContextDef.BuildersetNestedContexts(int index, ControlFlowContextDef.Builder builderForValue)Contexts contained inside this context (e.g.WhileContextDef.BuildersetParallelIterations(int value)The number of iterations allowed to run in parallel.WhileContextDef.BuildersetPivotForBodyName(String value)Name of the pivot_for_body tensor.WhileContextDef.BuildersetPivotForBodyNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the pivot_for_body tensor.WhileContextDef.BuildersetPivotForPredName(String value)Name of the pivot_for_pred tensor.WhileContextDef.BuildersetPivotForPredNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the pivot_for_pred tensor.WhileContextDef.BuildersetPivotName(String value)Name of the pivot tensor.WhileContextDef.BuildersetPivotNameBytes(org.nd4j.shade.protobuf.ByteString value)Name of the pivot tensor.WhileContextDef.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WhileContextDef.BuildersetSwapMemory(boolean value)Whether GPU-CPU memory swap is enabled for this loop.WhileContextDef.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)WhileContextDef.BuildersetValuesDef(ValuesDef value)Values and external values in control flow context.WhileContextDef.BuildersetValuesDef(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:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clear
public WhileContextDef.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
getDefaultInstanceForType
public WhileContextDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public WhileContextDef build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public WhileContextDef buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public WhileContextDef.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
setField
public WhileContextDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clearField
public WhileContextDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
clearOneof
public WhileContextDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
addRepeatedField
public WhileContextDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
mergeFrom
public WhileContextDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<WhileContextDef.Builder>
-
mergeFrom
public WhileContextDef.Builder mergeFrom(WhileContextDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<WhileContextDef.Builder>- Throws:
IOException
-
getContextName
public String getContextName()
Name of the context.
string context_name = 1;- Specified by:
getContextNamein interfaceWhileContextDefOrBuilder- Returns:
- The contextName.
-
getContextNameBytes
public org.nd4j.shade.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;- Specified by:
getContextNameBytesin 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:
getParallelIterationsin 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:
getBackPropin 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:
getSwapMemoryin 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:
getPivotNamein interfaceWhileContextDefOrBuilder- Returns:
- The pivotName.
-
getPivotNameBytes
public org.nd4j.shade.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 5;- Specified by:
getPivotNameBytesin 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:
getPivotForPredNamein 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:
getPivotForPredNameBytesin 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:
getPivotForBodyNamein 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:
getPivotForBodyNameBytesin 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:
getLoopExitNamesListin 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:
getLoopExitNamesCountin 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:
getLoopExitNamesin 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:
getLoopExitNamesBytesin 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:
getLoopEnterNamesListin 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:
getLoopEnterNamesCountin 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:
getLoopEnterNamesin 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:
getLoopEnterNamesBytesin 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:
hasValuesDefin 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:
getValuesDefin 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:
getValuesDefOrBuilderin interfaceWhileContextDefOrBuilder
-
getMaximumIterationsName
public String getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;- Specified by:
getMaximumIterationsNamein 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:
getMaximumIterationsNameBytesin 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:
getNestedContextsListin interfaceWhileContextDefOrBuilder
-
getNestedContextsCount
public int getNestedContextsCount()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;- Specified by:
getNestedContextsCountin interfaceWhileContextDefOrBuilder
-
getNestedContexts
public ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;- Specified by:
getNestedContextsin 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:
getNestedContextsOrBuilderin interfaceWhileContextDefOrBuilder
-
getNestedContextsOrBuilderList
public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;- Specified by:
getNestedContextsOrBuilderListin 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:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
mergeUnknownFields
public final WhileContextDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<WhileContextDef.Builder>
-
-