public final class WhileContextDef extends com.google.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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| 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.
|
com.google.protobuf.ByteString |
getContextNameBytes()
Name of the context.
|
static WhileContextDef |
getDefaultInstance() |
WhileContextDef |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLoopEnterNames(int index)
List of names for enter tensors.
|
com.google.protobuf.ByteString |
getLoopEnterNamesBytes(int index)
List of names for enter tensors.
|
int |
getLoopEnterNamesCount()
List of names for enter tensors.
|
com.google.protobuf.ProtocolStringList |
getLoopEnterNamesList()
List of names for enter tensors.
|
String |
getLoopExitNames(int index)
List of names for exit tensors.
|
com.google.protobuf.ByteString |
getLoopExitNamesBytes(int index)
List of names for exit tensors.
|
int |
getLoopExitNamesCount()
List of names for exit tensors.
|
com.google.protobuf.ProtocolStringList |
getLoopExitNamesList()
List of names for exit tensors.
|
String |
getMaximumIterationsName()
Optional name of the maximum_iterations tensor.
|
com.google.protobuf.ByteString |
getMaximumIterationsNameBytes()
Optional name of the maximum_iterations tensor.
|
ControlFlowContextDef |
getNestedContexts(int index)
Contexts contained inside this context (e.g.
|
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.
|
com.google.protobuf.Parser<WhileContextDef> |
getParserForType() |
String |
getPivotForBodyName()
Name of the pivot_for_body tensor.
|
com.google.protobuf.ByteString |
getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
|
String |
getPivotForPredName()
Name of the pivot_for_pred tensor.
|
com.google.protobuf.ByteString |
getPivotForPredNameBytes()
Name of the pivot_for_pred tensor.
|
String |
getPivotName()
Name of the pivot tensor.
|
com.google.protobuf.ByteString |
getPivotNameBytes()
Name of the pivot tensor.
|
int |
getSerializedSize() |
boolean |
getSwapMemory()
Whether GPU-CPU memory swap is enabled for this loop.
|
com.google.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static WhileContextDef.Builder |
newBuilder() |
static WhileContextDef.Builder |
newBuilder(WhileContextDef prototype) |
WhileContextDef.Builder |
newBuilderForType() |
protected WhileContextDef.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static WhileContextDef |
parseDelimitedFrom(InputStream input) |
static WhileContextDef |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(byte[] data) |
static WhileContextDef |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(ByteBuffer data) |
static WhileContextDef |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(com.google.protobuf.ByteString data) |
static WhileContextDef |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(com.google.protobuf.CodedInputStream input) |
static WhileContextDef |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static WhileContextDef |
parseFrom(InputStream input) |
static WhileContextDef |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<WhileContextDef> |
parser() |
WhileContextDef.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getContextName()
Name of the context.
string context_name = 1;getContextName in interface WhileContextDefOrBuilderpublic com.google.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 com.google.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 com.google.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 com.google.protobuf.ByteString getPivotForBodyNameBytes()
Name of the pivot_for_body tensor.
string pivot_for_body_name = 7;getPivotForBodyNameBytes in interface WhileContextDefOrBuilderpublic com.google.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 com.google.protobuf.ByteString getLoopExitNamesBytes(int index)
List of names for exit tensors.
repeated string loop_exit_names = 8;getLoopExitNamesBytes in interface WhileContextDefOrBuilderpublic com.google.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 com.google.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 com.google.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 com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static WhileContextDef parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static WhileContextDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WhileContextDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static WhileContextDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic WhileContextDef.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static WhileContextDef.Builder newBuilder()
public static WhileContextDef.Builder newBuilder(WhileContextDef prototype)
public WhileContextDef.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected WhileContextDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static WhileContextDef getDefaultInstance()
public static com.google.protobuf.Parser<WhileContextDef> parser()
public com.google.protobuf.Parser<WhileContextDef> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public WhileContextDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2015–2019. All rights reserved.