Package org.tensorflow.distruntime
Interface PartialRunSetupRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PartialRunSetupRequest,PartialRunSetupRequest.Builder
public interface PartialRunSetupRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFeed(int index)Tensors to be fed in future steps.org.nd4j.shade.protobuf.ByteStringgetFeedBytes(int index)Tensors to be fed in future steps.intgetFeedCount()Tensors to be fed in future steps.List<String>getFeedList()Tensors to be fed in future steps.StringgetFetch(int index)Fetches.org.nd4j.shade.protobuf.ByteStringgetFetchBytes(int index)Fetches.intgetFetchCount()Fetches.List<String>getFetchList()Fetches.StringgetSessionHandle()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.protobuf.ByteStringgetSessionHandleBytes()REQUIRED: session_handle must be returned by a CreateSession call to the same master service.StringgetTarget(int index)Target Nodes.org.nd4j.shade.protobuf.ByteStringgetTargetBytes(int index)Target Nodes.intgetTargetCount()Target Nodes.List<String>getTargetList()Target Nodes.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
String getSessionHandle()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Returns:
- The sessionHandle.
-
getSessionHandleBytes
org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
REQUIRED: session_handle must be returned by a CreateSession call to the same master service.
string session_handle = 1;- Returns:
- The bytes for sessionHandle.
-
getFeedList
List<String> getFeedList()
Tensors to be fed in future steps.
repeated string feed = 2;- Returns:
- A list containing the feed.
-
getFeedCount
int getFeedCount()
Tensors to be fed in future steps.
repeated string feed = 2;- Returns:
- The count of feed.
-
getFeed
String getFeed(int index)
Tensors to be fed in future steps.
repeated string feed = 2;- Parameters:
index- The index of the element to return.- Returns:
- The feed at the given index.
-
getFeedBytes
org.nd4j.shade.protobuf.ByteString getFeedBytes(int index)
Tensors to be fed in future steps.
repeated string feed = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the feed at the given index.
-
getFetchList
List<String> getFetchList()
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor), for corresponding partial RunStepRequests. The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Returns:
- A list containing the fetch.
-
getFetchCount
int getFetchCount()
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor), for corresponding partial RunStepRequests. The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Returns:
- The count of fetch.
-
getFetch
String getFetch(int index)
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor), for corresponding partial RunStepRequests. The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Parameters:
index- The index of the element to return.- Returns:
- The fetch at the given index.
-
getFetchBytes
org.nd4j.shade.protobuf.ByteString getFetchBytes(int index)
Fetches. A list of tensor names. The caller expects a tensor to be returned for each fetch[i] (see RunStepResponse.tensor), for corresponding partial RunStepRequests. The order of specified fetches does not change the execution order.
repeated string fetch = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the fetch at the given index.
-
getTargetList
List<String> getTargetList()
Target Nodes. A list of node names. The named nodes will be run in future steps, but their outputs will not be fetched.
repeated string target = 4;- Returns:
- A list containing the target.
-
getTargetCount
int getTargetCount()
Target Nodes. A list of node names. The named nodes will be run in future steps, but their outputs will not be fetched.
repeated string target = 4;- Returns:
- The count of target.
-
getTarget
String getTarget(int index)
Target Nodes. A list of node names. The named nodes will be run in future steps, but their outputs will not be fetched.
repeated string target = 4;- Parameters:
index- The index of the element to return.- Returns:
- The target at the given index.
-
getTargetBytes
org.nd4j.shade.protobuf.ByteString getTargetBytes(int index)
Target Nodes. A list of node names. The named nodes will be run in future steps, but their outputs will not be fetched.
repeated string target = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the target at the given index.
-
-