Class/Object

io.hydrosphere.serving.tensorflow.api.predict

PredictRequest

Related Docs: object PredictRequest | package predict

Permalink

final case class PredictRequest(modelSpec: Option[ModelSpec] = None, inputs: Map[String, TensorProto] = ...) extends GeneratedMessage with Message[PredictRequest] with Updatable[PredictRequest] with Product with Serializable

PredictRequest specifies which TensorFlow model to run, as well as how inputs are mapped to tensors and how outputs are filtered before returning to user.

modelSpec

Model Specification.

inputs

Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[PredictRequest], Message[PredictRequest], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PredictRequest
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PredictRequest(modelSpec: Option[ModelSpec] = None, inputs: Map[String, TensorProto] = ...)

    Permalink

    modelSpec

    Model Specification.

    inputs

    Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllInputs(__vs: TraversableOnce[(String, TensorProto)]): PredictRequest

    Permalink
  5. def addInputs(__vs: (String, TensorProto)*): PredictRequest

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearInputs: PredictRequest

    Permalink
  8. def clearModelSpec: PredictRequest

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def companion: PredictRequest.type

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  16. def getModelSpec: ModelSpec

    Permalink
  17. val inputs: Map[String, TensorProto]

    Permalink

    Input tensors.

    Input tensors. Names of input tensor are alias names. The mapping from aliases to real input tensor names is stored in the SavedModel export as a prediction SignatureDef under the 'inputs' field.

  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def mergeFrom(_input__: CodedInputStream): PredictRequest

    Permalink
    Definition Classes
    PredictRequest → Message
  20. val modelSpec: Option[ModelSpec]

    Permalink

    Model Specification.

  21. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def serializedSize: Int

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  27. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  29. def toProtoString: String

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  30. def update(ms: (Lens[PredictRequest, PredictRequest]) ⇒ Mutation[PredictRequest]*): PredictRequest

    Permalink
    Definition Classes
    Updatable
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withInputs(__v: Map[String, TensorProto]): PredictRequest

    Permalink
  35. def withModelSpec(__v: ModelSpec): PredictRequest

    Permalink
  36. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  37. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    PredictRequest → GeneratedMessage
  38. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[PredictRequest]

Inherited from Message[PredictRequest]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped