CondContextDef

public final class CondContextDef

 Protocol buffer representing a CondContext object.
 
Protobuf type tensorflow.CondContextDef

Nested Classes

class CondContextDef.Builder
 Protocol buffer representing a CondContext object. 

Constants

int BRANCH_FIELD_NUMBER
int CONTEXT_NAME_FIELD_NUMBER
int NESTED_CONTEXTS_FIELD_NUMBER
int PIVOT_NAME_FIELD_NUMBER
int PRED_NAME_FIELD_NUMBER
int VALUES_DEF_FIELD_NUMBER

Public Methods

boolean
equals (Object obj)
int
getBranch ()
 Branch prediction.
String
getContextName ()
 Name of the context.
com.google.protobuf.ByteString
getContextNameBytes ()
 Name of the context.
static CondContextDef
CondContextDef
final static com.google.protobuf.Descriptors.Descriptor
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.
String
getPivotName ()
 Name of the pivot tensor.
com.google.protobuf.ByteString
getPivotNameBytes ()
 Name of the pivot tensor.
String
getPredName ()
 Name of the pred tensor.
com.google.protobuf.ByteString
getPredNameBytes ()
 Name of the pred tensor.
int
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 CondContextDef.Builder
static CondContextDef.Builder
CondContextDef.Builder
static CondContextDef
parseDelimitedFrom (InputStream input)
static CondContextDef
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CondContextDef
parseFrom (ByteBuffer data)
static CondContextDef
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CondContextDef
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CondContextDef
parseFrom (com.google.protobuf.CodedInputStream input)
static CondContextDef
parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CondContextDef
parseFrom (com.google.protobuf.ByteString data)
static CondContextDef
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static CondContextDef
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static
CondContextDef.Builder
void
writeTo (com.google.protobuf.CodedOutputStream output)

Inherited Methods

Constants

public static final int BRANCH_FIELD_NUMBER

Constant Value: 4

public static final int CONTEXT_NAME_FIELD_NUMBER

Constant Value: 1

public static final int NESTED_CONTEXTS_FIELD_NUMBER

Constant Value: 6

public static final int PIVOT_NAME_FIELD_NUMBER

Constant Value: 3

public static final int PRED_NAME_FIELD_NUMBER

Constant Value: 2

public static final int VALUES_DEF_FIELD_NUMBER

Constant Value: 5

Public Methods

public boolean equals (Object obj)

public int getBranch ()

 Branch prediction. 0 or 1.
 
int32 branch = 4;

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 CondContextDef getDefaultInstance ()

public CondContextDef getDefaultInstanceForType ()

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

public ControlFlowContextDef getNestedContexts (int index)

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

public int getNestedContextsCount ()

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

public List< ControlFlowContextDef > getNestedContextsList ()

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

public ControlFlowContextDefOrBuilder getNestedContextsOrBuilder (int index)

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

public List<? extends ControlFlowContextDefOrBuilder > getNestedContextsOrBuilderList ()

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

public getParserForType ()

public String getPivotName ()

 Name of the pivot tensor.
 
string pivot_name = 3;