public final class
CondContextDef
Protocol buffer representing a CondContext object.
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 |
hashCode()
|
final boolean | |
static CondContextDef.Builder |
newBuilder(CondContextDef prototype)
|
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
|
parser()
|
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 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;
public com.google.protobuf.ByteString getPivotNameBytes ()
Name of the pivot tensor.
string pivot_name = 3;
public String getPredName ()
Name of the pred tensor.
string pred_name = 2;
public com.google.protobuf.ByteString getPredNameBytes ()
Name of the pred tensor.
string pred_name = 2;
public int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public ValuesDef getValuesDef ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public ValuesDefOrBuilder getValuesDefOrBuilder ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public boolean hasValuesDef ()
Values and external values in control flow context.
.tensorflow.ValuesDef values_def = 5;
public int hashCode ()
public final boolean isInitialized ()
public static CondContextDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CondContextDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CondContextDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static CondContextDef parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static CondContextDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static CondContextDef parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static CondContextDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static CondContextDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|