Class RemoteFusedGraphExecuteInfo

  • All Implemented Interfaces:
    Serializable, org.nd4j.shade.protobuf.Message, org.nd4j.shade.protobuf.MessageLite, org.nd4j.shade.protobuf.MessageLiteOrBuilder, org.nd4j.shade.protobuf.MessageOrBuilder, RemoteFusedGraphExecuteInfoOrBuilder

    public final class RemoteFusedGraphExecuteInfo
    extends org.nd4j.shade.protobuf.GeneratedMessageV3
    implements RemoteFusedGraphExecuteInfoOrBuilder
     Protocol buffer representing a handle to a tensorflow resource. Handles are
     not valid across executions, but can be serialized back and forth from within
     a single run.
     
    Protobuf type tensorflow.RemoteFusedGraphExecuteInfo
    See Also:
    Serialized Form
    • Field Detail

      • REMOTE_GRAPH_FIELD_NUMBER

        public static final int REMOTE_GRAPH_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GRAPH_INPUT_NODE_NAME_FIELD_NUMBER

        public static final int GRAPH_INPUT_NODE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • GRAPH_OUTPUT_NODE_NAME_FIELD_NUMBER

        public static final int GRAPH_OUTPUT_NODE_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • EXECUTOR_NAME_FIELD_NUMBER

        public static final int EXECUTOR_NAME_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SERIALIZED_EXECUTOR_PARAMETERS_FIELD_NUMBER

        public static final int SERIALIZED_EXECUTOR_PARAMETERS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_GRAPH_INPUT_TENSOR_SHAPE_FIELD_NUMBER

        public static final int DEFAULT_GRAPH_INPUT_TENSOR_SHAPE_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_GRAPH_OUTPUT_TENSOR_SHAPE_FIELD_NUMBER

        public static final int DEFAULT_GRAPH_OUTPUT_TENSOR_SHAPE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getGraphInputNodeNameList

        public org.nd4j.shade.protobuf.ProtocolStringList getGraphInputNodeNameList()
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeNameList in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        A list containing the graphInputNodeName.
      • getGraphInputNodeName

        public String getGraphInputNodeName​(int index)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeName in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The graphInputNodeName at the given index.
      • getGraphInputNodeNameBytes

        public org.nd4j.shade.protobuf.ByteString getGraphInputNodeNameBytes​(int index)
         Remote fused graph input node name
         
        repeated string graph_input_node_name = 2;
        Specified by:
        getGraphInputNodeNameBytes in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the graphInputNodeName at the given index.
      • getGraphOutputNodeNameList

        public org.nd4j.shade.protobuf.ProtocolStringList getGraphOutputNodeNameList()
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeNameList in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        A list containing the graphOutputNodeName.
      • getGraphOutputNodeName

        public String getGraphOutputNodeName​(int index)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeName in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The graphOutputNodeName at the given index.
      • getGraphOutputNodeNameBytes

        public org.nd4j.shade.protobuf.ByteString getGraphOutputNodeNameBytes​(int index)
         Remote fused graph output node name
         
        repeated string graph_output_node_name = 3;
        Specified by:
        getGraphOutputNodeNameBytes in interface RemoteFusedGraphExecuteInfoOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the graphOutputNodeName at the given index.
      • getSerializedExecutorParameters

        public org.nd4j.shade.protobuf.ByteString getSerializedExecutorParameters()
         Optional: Parameters given to the executor
         
        bytes serialized_executor_parameters = 5;
        Specified by:
        getSerializedExecutorParameters in interface RemoteFusedGraphExecuteInfoOrBuilder
        Returns:
        The serializedExecutorParameters.
      • getDefaultGraphInputTensorShapeCount

        public int getDefaultGraphInputTensorShapeCount()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_input_tensor_shape = 6;
        Specified by:
        getDefaultGraphInputTensorShapeCount in interface RemoteFusedGraphExecuteInfoOrBuilder
      • getDefaultGraphOutputTensorShapeCount

        public int getDefaultGraphOutputTensorShapeCount()
         Optional: Default graph input tensor shape used to allocate memory
         before executing op
         TODO(satok): Remote output tensor shape once shape information is stored
         in NodeDef
         
        repeated .tensorflow.RemoteFusedGraphExecuteInfo.TensorShapeTypeProto default_graph_output_tensor_shape = 7;
        Specified by:
        getDefaultGraphOutputTensorShapeCount in interface RemoteFusedGraphExecuteInfoOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(org.nd4j.shade.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        writeTo in class org.nd4j.shade.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface org.nd4j.shade.protobuf.Message
        Overrides:
        equals in class org.nd4j.shade.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.nd4j.shade.protobuf.Message
        Overrides:
        hashCode in class org.nd4j.shade.protobuf.AbstractMessage
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(ByteBuffer data)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(ByteBuffer data,
                                                            org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(org.nd4j.shade.protobuf.ByteString data)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(org.nd4j.shade.protobuf.ByteString data,
                                                            org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(byte[] data)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RemoteFusedGraphExecuteInfo parseFrom​(byte[] data,
                                                            org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
        Throws:
        org.nd4j.shade.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public RemoteFusedGraphExecuteInfo.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        newBuilderForType in interface org.nd4j.shade.protobuf.MessageLite
      • toBuilder

        public RemoteFusedGraphExecuteInfo.Builder toBuilder()
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.Message
        Specified by:
        toBuilder in interface org.nd4j.shade.protobuf.MessageLite
      • newBuilderForType

        protected RemoteFusedGraphExecuteInfo.Builder newBuilderForType​(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getParserForType

        public org.nd4j.shade.protobuf.Parser<RemoteFusedGraphExecuteInfo> getParserForType()
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.Message
        Specified by:
        getParserForType in interface org.nd4j.shade.protobuf.MessageLite
        Overrides:
        getParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public RemoteFusedGraphExecuteInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilder