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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getContextName()
Name of the context.
string context_name = 1;getContextName in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;getContextNameBytes in interface WhileContextDefOrBuilderpublic int getParallelIterations()
The number of iterations allowed to run in parallel.
int32 parallel_iterations = 2;getParallelIterations in interface WhileContextDefOrBuilderpublic boolean getBackProp()
Whether backprop is enabled for this while loop.
bool back_prop = 3;getBackProp in interface WhileContextDefOrBuilderpublic boolean getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
bool swap_memory = 4;getSwapMemory in interface WhileContextDefOrBuilderpublic String getPivotName()
Name of the pivot tensor.
string pivot_name = 5;getPivotName in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 5;getPivotNameBytes in interface WhileContextDefOrBuilderpublic String getPivotForPredName()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;getPivotForPredName in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.
string pivot_for_pred_name = 6;getPivotForPredNameBytes in interface WhileContextDefOrBuilderpublic String getPivotForBodyName()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;getPivotForBodyName in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;getPivotForBodyNameBytes in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ProtocolStringList getLoopExitNamesList()
List of names for exit tensors.
repeated string loop_exit_names = 8;getLoopExitNamesList in interface WhileContextDefOrBuilderpublic int getLoopExitNamesCount()
List of names for exit tensors.
repeated string loop_exit_names = 8;getLoopExitNamesCount in interface WhileContextDefOrBuilderpublic String getLoopExitNames(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;getLoopExitNames in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getLoopExitNamesBytes(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;getLoopExitNamesBytes in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ProtocolStringList getLoopEnterNamesList()
List of names for enter tensors.
repeated string loop_enter_names = 10;getLoopEnterNamesList in interface WhileContextDefOrBuilderpublic int getLoopEnterNamesCount()
List of names for enter tensors.
repeated string loop_enter_names = 10;getLoopEnterNamesCount in interface WhileContextDefOrBuilderpublic String getLoopEnterNames(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;getLoopEnterNames in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getLoopEnterNamesBytes(int index)
List of names for enter tensors.
repeated string loop_enter_names = 10;getLoopEnterNamesBytes in interface WhileContextDefOrBuilderpublic boolean hasValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;hasValuesDef in interface WhileContextDefOrBuilderpublic ValuesDef getValuesDef()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;getValuesDef in interface WhileContextDefOrBuilderpublic ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 9;getValuesDefOrBuilder in interface WhileContextDefOrBuilderpublic String getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;getMaximumIterationsName in interface WhileContextDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.
string maximum_iterations_name = 11;getMaximumIterationsNameBytes in interface WhileContextDefOrBuilderpublic List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;getNestedContextsList in interface WhileContextDefOrBuilderpublic List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;getNestedContextsOrBuilderList in interface WhileContextDefOrBuilderpublic int getNestedContextsCount()
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;getNestedContextsCount in interface WhileContextDefOrBuilderpublic ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;getNestedContexts in interface WhileContextDefOrBuilderpublic ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested whiles).
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;getNestedContextsOrBuilder in interface WhileContextDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static WhileContextDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic 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.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WhileContextDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WhileContextDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static WhileContextDef.Builder newBuilder()
public static WhileContextDef.Builder newBuilder(WhileContextDef prototype)
public WhileContextDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected WhileContextDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public WhileContextDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.