Package org.platanios.tensorflow.proto
Interface CondContextDefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CondContextDef
,CondContextDef.Builder
public interface CondContextDefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getBranch()
Branch prediction.java.lang.String
getContextName()
Name of the context.com.google.protobuf.ByteString
getContextNameBytes()
Name of the context.ControlFlowContextDef
getNestedContexts(int index)
Contexts contained inside this context (e.g.int
getNestedContextsCount()
Contexts contained inside this context (e.g.java.util.List<ControlFlowContextDef>
getNestedContextsList()
Contexts contained inside this context (e.g.ControlFlowContextDefOrBuilder
getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g.java.util.List<? extends ControlFlowContextDefOrBuilder>
getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g.java.lang.String
getPivotName()
Name of the pivot tensor.com.google.protobuf.ByteString
getPivotNameBytes()
Name of the pivot tensor.java.lang.String
getPredName()
Name of the pred tensor.com.google.protobuf.ByteString
getPredNameBytes()
Name of the pred tensor.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContextName
java.lang.String getContextName()
Name of the context.
string context_name = 1;
- Returns:
- The contextName.
-
getContextNameBytes
com.google.protobuf.ByteString getContextNameBytes()
Name of the context.
string context_name = 1;
- Returns:
- The bytes for contextName.
-
getPredName
java.lang.String getPredName()
Name of the pred tensor.
string pred_name = 2;
- Returns:
- The predName.
-
getPredNameBytes
com.google.protobuf.ByteString getPredNameBytes()
Name of the pred tensor.
string pred_name = 2;
- Returns:
- The bytes for predName.
-
getPivotName
java.lang.String getPivotName()
Name of the pivot tensor.
string pivot_name = 3;
- Returns:
- The pivotName.
-
getPivotNameBytes
com.google.protobuf.ByteString getPivotNameBytes()
Name of the pivot tensor.
string pivot_name = 3;
- Returns:
- The bytes for pivotName.
-
getBranch
int getBranch()
Branch prediction. 0 or 1.
int32 branch = 4;
- Returns:
- The branch.
-
hasValuesDef
boolean hasValuesDef()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
- Returns:
- Whether the valuesDef field is set.
-
getValuesDef
ValuesDef getValuesDef()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
- Returns:
- The valuesDef.
-
getValuesDefOrBuilder
ValuesDefOrBuilder getValuesDefOrBuilder()
Values and external values in control flow context.
.org.platanios.tensorflow.proto.ValuesDef values_def = 5;
-
getNestedContextsList
java.util.List<ControlFlowContextDef> getNestedContextsList()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContexts
ControlFlowContextDef getNestedContexts(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsCount
int getNestedContextsCount()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsOrBuilderList
java.util.List<? extends ControlFlowContextDefOrBuilder> getNestedContextsOrBuilderList()
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
getNestedContextsOrBuilder
ControlFlowContextDefOrBuilder getNestedContextsOrBuilder(int index)
Contexts contained inside this context (e.g. nested conds).
repeated .org.platanios.tensorflow.proto.ControlFlowContextDef nested_contexts = 6;
-
-