Package

io.hydrosphere.serving.tensorflow

tensor

Permalink

package tensor

Visibility
  1. Public
  2. All

Type Members

  1. final case class TensorProto(dtype: DataType = ..., tensorShape: Option[TensorShapeProto] = None, versionNumber: Int = 0, tensorContent: ByteString = ..., halfVal: Seq[Int] = _root_.scala.collection.Seq.empty, floatVal: Seq[Float] = _root_.scala.collection.Seq.empty, doubleVal: Seq[Double] = _root_.scala.collection.Seq.empty, intVal: Seq[Int] = _root_.scala.collection.Seq.empty, stringVal: Seq[ByteString] = _root_.scala.collection.Seq.empty, scomplexVal: Seq[Float] = _root_.scala.collection.Seq.empty, int64Val: Seq[Long] = _root_.scala.collection.Seq.empty, boolVal: Seq[Boolean] = _root_.scala.collection.Seq.empty, dcomplexVal: Seq[Double] = _root_.scala.collection.Seq.empty, variantVal: Seq[VariantTensorDataProto] = _root_.scala.collection.Seq.empty, uint32Val: Seq[Int] = _root_.scala.collection.Seq.empty, uint64Val: Seq[Long] = _root_.scala.collection.Seq.empty, mapVal: Map[String, TensorProto] = ...) extends GeneratedMessage with Message[TensorProto] with Updatable[TensorProto] with Product with Serializable

    Permalink

    Protocol buffer representing a tensor.

    Protocol buffer representing a tensor.

    tensorShape

    Shape of the tensor.

    versionNumber

    Version number. In version 0, if the "repeated xxx" representations contain only one element, that element is repeated to fill the shape. This makes it easy to represent a constant Tensor with a single value.

    tensorContent

    Serialized raw tensor content from either Tensor::AsProtoTensorContent or memcpy in tensorflow::grpc::EncodeTensorToByteBuffer. This representation can be used for all tensor types. The purpose of this representation is to reduce serialization overhead during RPC call by avoiding serialization of many repeated small items.

    halfVal

    DT_HALF. Note that since protobuf has no int16 type, we'll have some pointless zero padding for each value here.

    floatVal

    DT_FLOAT.

    doubleVal

    DT_DOUBLE.

    intVal

    DT_INT32, DT_INT16, DT_INT8, DT_UINT8.

    stringVal

    DT_STRING

    scomplexVal

    DT_COMPLEX64. scomplex_val(2*i) and scomplex_val(2*i+1) are real and imaginary parts of i-th single precision complex.

    int64Val

    DT_INT64

    boolVal

    DT_BOOL

    dcomplexVal

    DT_COMPLEX128. dcomplex_val(2*i) and dcomplex_val(2*i+1) are real and imaginary parts of i-th double precision complex.

    variantVal

    DT_VARIANT

    uint32Val

    DT_UINT32

    uint64Val

    DT_UINT64

    mapVal

    Hydroserving

    Annotations
    @SerialVersionUID()
  2. final case class VariantTensorDataProto(typeName: String = "", metadata: ByteString = ..., tensors: Seq[TensorProto] = _root_.scala.collection.Seq.empty) extends GeneratedMessage with Message[VariantTensorDataProto] with Updatable[VariantTensorDataProto] with Product with Serializable

    Permalink

    Protocol buffer representing the serialization format of DT_VARIANT tensors.

    Protocol buffer representing the serialization format of DT_VARIANT tensors.

    typeName

    Name of the type of objects being serialized.

    metadata

    Portions of the object that are not Tensors.

    tensors

    Tensors contained within objects being serialized.

    Annotations
    @SerialVersionUID()

Value Members

  1. object TensorProto extends GeneratedMessageCompanion[TensorProto] with Serializable

    Permalink
  2. object TensorProtoCompanion extends GeneratedFileObject

    Permalink
  3. object VariantTensorDataProto extends GeneratedMessageCompanion[VariantTensorDataProto] with Serializable

    Permalink

Ungrouped