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