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
WhileContextDef.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants