Interface CallableOptionsOrBuilder

  • All Superinterfaces:
    org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CallableOptions, CallableOptions.Builder

    public interface CallableOptionsOrBuilder
    extends org.nd4j.shade.protobuf.MessageOrBuilder
    • Method Detail

      • getFeedList

        List<String> getFeedList()
         Tensors to be fed in the callable. Each feed is the name of a tensor.
         
        repeated string feed = 1;
        Returns:
        A list containing the feed.
      • getFeedCount

        int getFeedCount()
         Tensors to be fed in the callable. Each feed is the name of a tensor.
         
        repeated string feed = 1;
        Returns:
        The count of feed.
      • getFeed

        String getFeed​(int index)
         Tensors to be fed in the callable. Each feed is the name of a tensor.
         
        repeated string feed = 1;
        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 the callable. Each feed is the name of a tensor.
         
        repeated string feed = 1;
        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 of the callable expects a
         tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 2;
        Returns:
        A list containing the fetch.
      • getFetchCount

        int getFetchCount()
         Fetches. A list of tensor names. The caller of the callable expects a
         tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 2;
        Returns:
        The count of fetch.
      • getFetch

        String getFetch​(int index)
         Fetches. A list of tensor names. The caller of the callable expects a
         tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 2;
        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 of the callable expects a
         tensor to be returned for each fetch[i] (see RunStepResponse.tensor). The
         order of specified fetches does not change the execution order.
         
        repeated string fetch = 2;
        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 by the
         callable but their outputs will not be returned.
         
        repeated string target = 3;
        Returns:
        A list containing the target.
      • getTargetCount

        int getTargetCount()
         Target Nodes. A list of node names. The named nodes will be run by the
         callable but their outputs will not be returned.
         
        repeated string target = 3;
        Returns:
        The count of target.
      • getTarget

        String getTarget​(int index)
         Target Nodes. A list of node names. The named nodes will be run by the
         callable but their outputs will not be returned.
         
        repeated string target = 3;
        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 by the
         callable but their outputs will not be returned.
         
        repeated string target = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the target at the given index.
      • hasRunOptions

        boolean hasRunOptions()
         Options that will be applied to each run.
         
        .tensorflow.RunOptions run_options = 4;
        Returns:
        Whether the runOptions field is set.
      • getRunOptions

        RunOptions getRunOptions()
         Options that will be applied to each run.
         
        .tensorflow.RunOptions run_options = 4;
        Returns:
        The runOptions.
      • getRunOptionsOrBuilder

        RunOptionsOrBuilder getRunOptionsOrBuilder()
         Options that will be applied to each run.
         
        .tensorflow.RunOptions run_options = 4;
      • getTensorConnectionList

        List<TensorConnection> getTensorConnectionList()
         Tensors to be connected in the callable. Each TensorConnection denotes
         a pair of tensors in the graph, between which an edge will be created
         in the callable.
         
        repeated .tensorflow.TensorConnection tensor_connection = 5;
      • getTensorConnection

        TensorConnection getTensorConnection​(int index)
         Tensors to be connected in the callable. Each TensorConnection denotes
         a pair of tensors in the graph, between which an edge will be created
         in the callable.
         
        repeated .tensorflow.TensorConnection tensor_connection = 5;
      • getTensorConnectionCount

        int getTensorConnectionCount()
         Tensors to be connected in the callable. Each TensorConnection denotes
         a pair of tensors in the graph, between which an edge will be created
         in the callable.
         
        repeated .tensorflow.TensorConnection tensor_connection = 5;
      • getTensorConnectionOrBuilderList

        List<? extends TensorConnectionOrBuilder> getTensorConnectionOrBuilderList()
         Tensors to be connected in the callable. Each TensorConnection denotes
         a pair of tensors in the graph, between which an edge will be created
         in the callable.
         
        repeated .tensorflow.TensorConnection tensor_connection = 5;
      • getTensorConnectionOrBuilder

        TensorConnectionOrBuilder getTensorConnectionOrBuilder​(int index)
         Tensors to be connected in the callable. Each TensorConnection denotes
         a pair of tensors in the graph, between which an edge will be created
         in the callable.
         
        repeated .tensorflow.TensorConnection tensor_connection = 5;