Package

io.hydrosphere.serving.tensorflow

tensor

Permalink

package tensor

Visibility
  1. Public
  2. All

Type Members

  1. case class BoolTensor(shape: TensorShape, data: Seq[Boolean]) extends TypedTensor[DT_BOOL.type] with Product with Serializable

    Permalink
  2. case class DComplexTensor(shape: TensorShape, data: Seq[Double]) extends TypedTensor[DT_COMPLEX128.type] with Product with Serializable

    Permalink
  3. case class DoubleTensor(shape: TensorShape, data: Seq[Double]) extends TypedTensor[DT_DOUBLE.type] with Product with Serializable

    Permalink
  4. case class FloatTensor(shape: TensorShape, data: Seq[Float]) extends TypedTensor[DT_FLOAT.type] with Product with Serializable

    Permalink
  5. case class Int16Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_INT16.type] with Product with Serializable

    Permalink
  6. case class Int32Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_INT32.type] with Product with Serializable

    Permalink
  7. case class Int64Tensor(shape: TensorShape, data: Seq[Long]) extends TypedTensor[DT_INT64.type] with Product with Serializable

    Permalink
  8. case class Int8Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_INT8.type] with Product with Serializable

    Permalink
  9. trait IntTensor[T <: DataType] extends TypedTensor[T]

    Permalink
  10. case class MapTensor(shape: TensorShape, data: Seq[Map[String, TypedTensor[_]]]) extends TypedTensor[DT_MAP.type] with Product with Serializable

    Permalink
  11. final case class MapTensorData(subtensors: Map[String, TensorProto] = ...) extends GeneratedMessage with Message[MapTensorData] with Updatable[MapTensorData] with Product with Serializable

    Permalink
    Annotations
    @SerialVersionUID()
  12. case class SComplexTensor(shape: TensorShape, data: Seq[Float]) extends TypedTensor[DT_COMPLEX64.type] with Product with Serializable

    Permalink
  13. case class StringTensor(shape: TensorShape, data: Seq[String]) extends TypedTensor[DT_STRING.type] with Product with Serializable

    Permalink
  14. 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: Seq[MapTensorData] = _root_.scala.collection.Seq.empty) 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()
  15. trait TensorProtoLens[T <: TypedTensor[_]] extends AnyRef

    Permalink
  16. trait TypedTensor[DTypeT] extends AnyRef

    Permalink
  17. trait TypedTensorFactory[TensorT <: TypedTensor[_]] extends AnyRef

    Permalink
  18. case class Uint16Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_UINT16.type] with Product with Serializable

    Permalink
  19. case class Uint32Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_UINT32.type] with Product with Serializable

    Permalink
  20. case class Uint64Tensor(shape: TensorShape, data: Seq[Long]) extends TypedTensor[DT_UINT64.type] with Product with Serializable

    Permalink
  21. case class Uint8Tensor(shape: TensorShape, data: Seq[Int]) extends IntTensor[DT_UINT8.type] with Product with Serializable

    Permalink
  22. 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 BoolTensor extends TypedTensorFactory[BoolTensor] with Serializable

    Permalink
  2. object DComplexTensor extends TypedTensorFactory[DComplexTensor] with Serializable

    Permalink
  3. object DoubleTensor extends TypedTensorFactory[DoubleTensor] with Serializable

    Permalink
  4. object FloatTensor extends TypedTensorFactory[FloatTensor] with Serializable

    Permalink
  5. object Int16Tensor extends TypedTensorFactory[Int16Tensor] with Serializable

    Permalink
  6. object Int32Tensor extends TypedTensorFactory[Int32Tensor] with Serializable

    Permalink
  7. object Int64Tensor extends TypedTensorFactory[Int64Tensor] with Serializable

    Permalink
  8. object Int8Tensor extends TypedTensorFactory[Int8Tensor] with Serializable

    Permalink
  9. object IntTensor

    Permalink
  10. object MapTensor extends TypedTensorFactory[MapTensor] with Serializable

    Permalink
  11. object MapTensorData extends GeneratedMessageCompanion[MapTensorData] with Serializable

    Permalink
  12. object SComplexTensor extends TypedTensorFactory[SComplexTensor] with Serializable

    Permalink
  13. object StringTensor extends TypedTensorFactory[StringTensor] with Serializable

    Permalink
  14. object TensorProto extends GeneratedMessageCompanion[TensorProto] with Serializable

    Permalink
  15. object TensorProtoCompanion extends GeneratedFileObject

    Permalink
  16. object TypedTensorFactory

    Permalink
  17. object Uint16Tensor extends TypedTensorFactory[Uint16Tensor] with Serializable

    Permalink
  18. object Uint32Tensor extends TypedTensorFactory[Uint32Tensor] with Serializable

    Permalink
  19. object Uint64Tensor extends TypedTensorFactory[Uint64Tensor] with Serializable

    Permalink
  20. object Uint8Tensor extends TypedTensorFactory[Uint8Tensor] with Serializable

    Permalink
  21. object UintTensor

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

    Permalink

Ungrouped