WhileContextDef

public final class WhileContextDef

 Protocol buffer representing a WhileContext object.
 
Protobuf type tensorflow.WhileContextDef

Nested Classes

class WhileContextDef.Builder
 Protocol buffer representing a WhileContext object. 

Constants

int BACK_PROP_FIELD_NUMBER
int CONTEXT_NAME_FIELD_NUMBER
int LOOP_ENTER_NAMES_FIELD_NUMBER
int LOOP_EXIT_NAMES_FIELD_NUMBER
int MAXIMUM_ITERATIONS_NAME_FIELD_NUMBER
int NESTED_CONTEXTS_FIELD_NUMBER
int PARALLEL_ITERATIONS_FIELD_NUMBER
int PIVOT_FOR_BODY_NAME_FIELD_NUMBER
int PIVOT_FOR_PRED_NAME_FIELD_NUMBER
int PIVOT_NAME_FIELD_NUMBER
int SWAP_MEMORY_FIELD_NUMBER
int VALUES_DEF_FIELD_NUMBER

Public Methods

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
WhileContextDef
final static com.google.protobuf.Descriptors.Descriptor
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.
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
boolean
getSwapMemory()
 Whether GPU-CPU memory swap is enabled for this loop.
final com.google.protobuf.UnknownFieldSet
ValuesDef
getValuesDef()
 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.
int
final boolean
static WhileContextDef.Builder
static WhileContextDef.Builder
WhileContextDef.Builder
static WhileContextDef
parseDelimitedFrom(InputStream input)
static WhileContextDef
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WhileContextDef
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WhileContextDef
parseFrom(com.google.protobuf.CodedInputStream input)
static WhileContextDef
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WhileContextDef
parseFrom(ByteBuffer data)
static WhileContextDef
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WhileContextDef
parseFrom(com.google.protobuf.ByteString data)
static WhileContextDef
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static WhileContextDef
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
parser()
WhileContextDef.Builder
void
writeTo(com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BACK_PROP_FIELD_NUMBER

Constant Value: 3

public static final int CONTEXT_NAME_FIELD_NUMBER

Constant Value: 1

public static final int LOOP_ENTER_NAMES_FIELD_NUMBER

Constant Value: 10

public static final int LOOP_EXIT_NAMES_FIELD_NUMBER

Constant Value: 8

public static final int MAXIMUM_ITERATIONS_NAME_FIELD_NUMBER

Constant Value: 11

public static final int NESTED_CONTEXTS_FIELD_NUMBER

Constant Value: 12

public static final int PARALLEL_ITERATIONS_FIELD_NUMBER

Constant Value: 2

public static final int PIVOT_FOR_BODY_NAME_FIELD_NUMBER

Constant Value: 7

public static final int PIVOT_FOR_PRED_NAME_FIELD_NUMBER

Constant Value: 6

public static final int PIVOT_NAME_FIELD_NUMBER

Constant Value: 5

public static final int SWAP_MEMORY_FIELD_NUMBER

Constant Value: 4

public static final int VALUES_DEF_FIELD_NUMBER

Constant Value: 9

Public Methods

public boolean equals (Object obj)

public boolean getBackProp ()

 Whether backprop is enabled for this while loop.
 
bool back_prop = 3;

public String getContextName ()

 Name of the context.
 
string context_name = 1;

public com.google.protobuf.ByteString getContextNameBytes ()

 Name of the context.
 
string context_name = 1;

public static WhileContextDef getDefaultInstance ()

public WhileContextDef getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

public String getLoopEnterNames (int index)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public com.google.protobuf.ByteString getLoopEnterNamesBytes (int index)

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public int getLoopEnterNamesCount ()

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public com.google.protobuf.ProtocolStringList getLoopEnterNamesList ()

 List of names for enter tensors.
 
repeated string loop_enter_names = 10;

public String getLoopExitNames (int index)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public com.google.protobuf.ByteString getLoopExitNamesBytes (int index)

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public int getLoopExitNamesCount ()

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public com.google.protobuf.ProtocolStringList getLoopExitNamesList ()

 List of names for exit tensors.
 
repeated string loop_exit_names = 8;

public String getMaximumIterationsName ()

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public com.google.protobuf.ByteString getMaximumIterationsNameBytes ()

 Optional name of the maximum_iterations tensor.
 
string maximum_iterations_name = 11;

public ControlFlowContextDef getNestedContexts (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public int getNestedContextsCount ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public List<ControlFlowContextDef> getNestedContextsList ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder (int index)

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList ()

 Contexts contained inside this context (e.g. nested whiles).
 
repeated .tensorflow.ControlFlowContextDef nested_contexts = 12;

public int getParallelIterations ()

 The number of iterations allowed to run in parallel.
 
int32 parallel_iterations = 2;

public getParserForType ()

public String getPivotForBodyName ()

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public com.google.protobuf.ByteString getPivotForBodyNameBytes ()

 Name of the pivot_for_body tensor.
 
string pivot_for_body_name = 7;

public String getPivotForPredName ()

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public com.google.protobuf.ByteString getPivotForPredNameBytes ()

 Name of the pivot_for_pred tensor.
 
string pivot_for_pred_name = 6;

public String getPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 5;

public com.google.protobuf.ByteString getPivotNameBytes ()

 Name of the pivot tensor.
 
string pivot_name = 5;

public int getSerializedSize ()

public boolean getSwapMemory ()

 Whether GPU-CPU memory swap is enabled for this loop.
 
bool swap_memory = 4;

public final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public ValuesDef getValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public ValuesDefOrBuilder getValuesDefOrBuilder ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public boolean hasValuesDef ()

 Values and external values in control flow context.
 
.tensorflow.ValuesDef values_def = 9;

public int hashCode ()

public final boolean isInitialized ()

public static WhileContextDef.Builder newBuilder (WhileContextDef prototype)

public static WhileContextDef.Builder newBuilder ()

public WhileContextDef.Builder newBuilderForType ()

public static WhileContextDef parseDelimitedFrom (InputStream input)

Throws
IOException

public static WhileContextDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static WhileContextDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static WhileContextDef parseFrom (com.google.protobuf.CodedInputStream input)

Throws
IOException

public static WhileContextDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static WhileContextDef parseFrom (ByteBuffer data)

Throws
InvalidProtocolBufferException

public static WhileContextDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static WhileContextDef parseFrom (com.google.protobuf.ByteString data)

Throws
InvalidProtocolBufferException

public static WhileContextDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
IOException

public static WhileContextDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Throws
InvalidProtocolBufferException

public static parser ()

public WhileContextDef.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream output)

Throws
IOException