public final class WhileContextDef extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements WhileContextDefOrBuilder
Protocol buffer representing a WhileContext object.Protobuf type
tensorflow.WhileContextDef
Modifier and Type | Class and Description |
---|---|
static class |
WhileContextDef.Builder
Protocol buffer representing a WhileContext object.
|
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
BACK_PROP_FIELD_NUMBER |
static int |
CONTEXT_NAME_FIELD_NUMBER |
static int |
LOOP_ENTER_NAMES_FIELD_NUMBER |
static int |
LOOP_EXIT_NAMES_FIELD_NUMBER |
static int |
MAXIMUM_ITERATIONS_NAME_FIELD_NUMBER |
static int |
NESTED_CONTEXTS_FIELD_NUMBER |
static int |
PARALLEL_ITERATIONS_FIELD_NUMBER |
static int |
PIVOT_FOR_BODY_NAME_FIELD_NUMBER |
static int |
PIVOT_FOR_PRED_NAME_FIELD_NUMBER |
static int |
PIVOT_NAME_FIELD_NUMBER |
static int |
SWAP_MEMORY_FIELD_NUMBER |
static int |
VALUES_DEF_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
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.
|
static WhileContextDef |
getDefaultInstance() |
WhileContextDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.
|
org.nd4j.shade.protobuf.Parser<WhileContextDef> |
getParserForType() |
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.
|
int |
getSerializedSize() |
boolean |
getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
ValuesDef |
getValuesDef()
Values and external values in control flow context.
|
ValuesDefOrBuilder |
getValuesDefOrBuilder()
Values and external values in control flow context.
|
int |
hashCode() |
boolean |
hasValuesDef()
Values and external values in control flow context.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WhileContextDef.Builder |
newBuilder() |
static WhileContextDef.Builder |
newBuilder(WhileContextDef prototype) |
WhileContextDef.Builder |
newBuilderForType() |
protected WhileContextDef.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static WhileContextDef |
parseDelimitedFrom(InputStream input) |
static WhileContextDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(byte[] data) |
static WhileContextDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(ByteBuffer data) |
static WhileContextDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static WhileContextDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static WhileContextDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(InputStream input) |
static WhileContextDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<WhileContextDef> |
parser() |
WhileContextDef.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int CONTEXT_NAME_FIELD_NUMBER
public static final int PARALLEL_ITERATIONS_FIELD_NUMBER
public static final int BACK_PROP_FIELD_NUMBER
public static final int SWAP_MEMORY_FIELD_NUMBER
public static final int PIVOT_NAME_FIELD_NUMBER
public static final int PIVOT_FOR_PRED_NAME_FIELD_NUMBER
public static final int PIVOT_FOR_BODY_NAME_FIELD_NUMBER
public static final int LOOP_EXIT_NAMES_FIELD_NUMBER
public static final int LOOP_ENTER_NAMES_FIELD_NUMBER
public static final int VALUES_DEF_FIELD_NUMBER
public static final int MAXIMUM_ITERATIONS_NAME_FIELD_NUMBER
public static final int NESTED_CONTEXTS_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public String getContextName()
Name of the context.
string context_name = 1;
getContextName
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;
getContextNameBytes
in interface WhileContextDefOrBuilder
public int getParallelIterations()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;
getParallelIterations
in interface WhileContextDefOrBuilder
public boolean getBackProp()
Whether backprop is enabled for this while loop.
bool back_prop = 3;
getBackProp
in interface WhileContextDefOrBuilder
public boolean getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;
getSwapMemory
in interface WhileContextDefOrBuilder
public String getPivotName()
Name of the pivot tensor.
string pivot_name = 5;
getPivotName
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 5;
getPivotNameBytes
in interface WhileContextDefOrBuilder
public String getPivotForPredName()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
getPivotForPredName
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;
getPivotForPredNameBytes
in interface WhileContextDefOrBuilder
public String getPivotForBodyName()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
getPivotForBodyName
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;
getPivotForBodyNameBytes
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ProtocolStringList getLoopExitNamesList()
List of names for exit tensors.
repeated string loop_exit_names = 8;
getLoopExitNamesList
in interface WhileContextDefOrBuilder
public int getLoopExitNamesCount()
List of names for exit tensors.
repeated string loop_exit_names = 8;
getLoopExitNamesCount
in interface WhileContextDefOrBuilder
public String getLoopExitNames(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;
getLoopExitNames
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getLoopExitNamesBytes(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;
getLoopExitNamesBytes
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ProtocolStringList getLoopEnterNamesList()
List of names for enter tensors.
repeated string loop_enter_names = 10;
getLoopEnterNamesList
in interface WhileContextDefOrBuilder
public int getLoopEnterNamesCount()
List of names for enter tensors.
repeated string loop_enter_names = 10;
getLoopEnterNamesCount
in interface WhileContextDefOrBuilder
public String getLoopEnterNames(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;
getLoopEnterNames
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getLoopEnterNamesBytes(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;
getLoopEnterNamesBytes
in interface WhileContextDefOrBuilder
public boolean hasValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
hasValuesDef
in interface WhileContextDefOrBuilder
public ValuesDef getValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
getValuesDef
in interface WhileContextDefOrBuilder
public ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;
getValuesDefOrBuilder
in interface WhileContextDefOrBuilder
public String getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
getMaximumIterationsName
in interface WhileContextDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;
getMaximumIterationsNameBytes
in interface WhileContextDefOrBuilder
public List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
getNestedContextsList
in interface WhileContextDefOrBuilder
public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
getNestedContextsOrBuilderList
in interface WhileContextDefOrBuilder
public int getNestedContextsCount()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
getNestedContextsCount
in interface WhileContextDefOrBuilder
public ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
getNestedContexts
in interface WhileContextDefOrBuilder
public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;
getNestedContextsOrBuilder
in interface WhileContextDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static WhileContextDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static WhileContextDef parseFrom(InputStream input) throws IOException
IOException
public static WhileContextDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WhileContextDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static WhileContextDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static WhileContextDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static WhileContextDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public WhileContextDef.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static WhileContextDef.Builder newBuilder()
public static WhileContextDef.Builder newBuilder(WhileContextDef prototype)
public WhileContextDef.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected WhileContextDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static WhileContextDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<WhileContextDef> parser()
public org.nd4j.shade.protobuf.Parser<WhileContextDef> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public WhileContextDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.