Package org.platanios.tensorflow.proto
Interface EagerServiceOuterClass.OperationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EagerServiceOuterClass.Operation
,EagerServiceOuterClass.Operation.Builder
- Enclosing class:
- EagerServiceOuterClass
public static interface EagerServiceOuterClass.OperationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
java.util.Map<java.lang.String,AttrValue>
getAttrs()
Deprecated.int
getAttrsCount()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
java.util.Map<java.lang.String,AttrValue>
getAttrsMap()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
AttrValue
getAttrsOrDefault(java.lang.String key, AttrValue defaultValue)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
AttrValue
getAttrsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
long
getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution.int
getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution.java.util.List<java.lang.Long>
getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution.java.lang.String
getDevice()
string device = 6;
com.google.protobuf.ByteString
getDeviceBytes()
string device = 6;
long
getFuncStepId()
Set when is_component_function is true.long
getId()
A unique identifier for the operation.boolean
getIsComponentFunction()
Indicates whether the op is a component of a multi-device function.boolean
getIsFunction()
Indicates whether the op is a function.java.lang.String
getName()
string name = 2;
com.google.protobuf.ByteString
getNameBytes()
string name = 2;
EagerServiceOuterClass.Operation.Input
getOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
int
getOpInputsCount()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
java.util.List<EagerServiceOuterClass.Operation.Input>
getOpInputsList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
EagerServiceOuterClass.Operation.InputOrBuilder
getOpInputsOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
java.util.List<? extends EagerServiceOuterClass.Operation.InputOrBuilder>
getOpInputsOrBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
long getId()
A unique identifier for the operation. Set by the client so that the client can uniquely identify the outputs of the scheduled operation. In the initial implementation, sending duplicate IDs has undefined behaviour, but additional constraints may be placed upon this in the future.
int64 id = 1;
- Returns:
- The id.
-
getName
java.lang.String getName()
string name = 2;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
string name = 2;
- Returns:
- The bytes for name.
-
getOpInputsList
java.util.List<EagerServiceOuterClass.Operation.Input> getOpInputsList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputs
EagerServiceOuterClass.Operation.Input getOpInputs(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsCount
int getOpInputsCount()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsOrBuilderList
java.util.List<? extends EagerServiceOuterClass.Operation.InputOrBuilder> getOpInputsOrBuilderList()
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getOpInputsOrBuilder
EagerServiceOuterClass.Operation.InputOrBuilder getOpInputsOrBuilder(int index)
repeated .org.platanios.tensorflow.proto.Operation.Input op_inputs = 10;
-
getControlOpIdsList
java.util.List<java.lang.Long> getControlOpIdsList()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Returns:
- A list containing the controlOpIds.
-
getControlOpIdsCount
int getControlOpIdsCount()
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Returns:
- The count of controlOpIds.
-
getControlOpIds
long getControlOpIds(int index)
Control Operation IDs that will be respected when ops are re-ordered by async execution. If async execution (+ op re-ordering) is not enabled, this should have no effect.
repeated int64 control_op_ids = 4;
- Parameters:
index
- The index of the element to return.- Returns:
- The controlOpIds at the given index.
-
getAttrsCount
int getAttrsCount()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
containsAttrs
boolean containsAttrs(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getAttrs
@Deprecated java.util.Map<java.lang.String,AttrValue> getAttrs()
Deprecated.UsegetAttrsMap()
instead.
-
getAttrsMap
java.util.Map<java.lang.String,AttrValue> getAttrsMap()
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getAttrsOrDefault
AttrValue getAttrsOrDefault(java.lang.String key, AttrValue defaultValue)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getAttrsOrThrow
AttrValue getAttrsOrThrow(java.lang.String key)
map<string, .org.platanios.tensorflow.proto.AttrValue> attrs = 5;
-
getDevice
java.lang.String getDevice()
string device = 6;
- Returns:
- The device.
-
getDeviceBytes
com.google.protobuf.ByteString getDeviceBytes()
string device = 6;
- Returns:
- The bytes for device.
-
getIsComponentFunction
boolean getIsComponentFunction()
Indicates whether the op is a component of a multi-device function.
bool is_component_function = 7;
- Returns:
- The isComponentFunction.
-
getFuncStepId
long getFuncStepId()
Set when is_component_function is true. It's initially generated when we create an FunctionLibraryRuntime::Options (negative value) and used to create Rendezvous for function execution. All components of a multi-device function should use the same step id to make sure that they can communicate through Send/Recv ops.
int64 func_step_id = 8;
- Returns:
- The funcStepId.
-
getIsFunction
boolean getIsFunction()
Indicates whether the op is a function.
bool is_function = 9;
- Returns:
- The isFunction.
-
-