Packages

case class Value(value: bundle.Value) extends Product with Serializable

This class is used to wrap Scala objects for later serialization into Bundle.ML

value

bundle protobuf value

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Value(value: bundle.Value)

    value

    bundle protobuf value

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  8. def getAnyFromType(basicType: BasicType): Any

    Get value as an Any dependening on basicType

    Get value as an Any dependening on basicType

    returns

    the deserialized value

  9. def getBasicType: BasicType

    Get value as a data type.

    Get value as a data type.

    returns

    data type

  10. def getBasicTypeList: Seq[BasicType]

    Get list of data types.

    Get list of data types.

    returns

    list of data types

  11. def getBoolean: Boolean

    Get value as a boolean.

    Get value as a boolean.

    returns

    boolean value

  12. def getBooleanList: Seq[Boolean]

    Get list of booleans.

    Get list of booleans.

    returns

    list of booleans

  13. def getByte: Byte

    Get value as a byte.

    Get value as a byte.

    returns

    byte value

  14. def getByteList: Seq[Byte]

    Get list of bytes.

    Get list of bytes.

    returns

    list of bytes

  15. def getByteString: ByteString

    Get value as a byte string.

    Get value as a byte string.

    returns

    byte string

  16. def getByteStringList: Seq[ByteString]

    Get list of byte strings.

    Get list of byte strings.

    returns

    list of byte strings

  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getDataShape: DataShape

    Get value as a data shape.

    Get value as a data shape.

    returns

    data shape

  19. def getDataShapeList: Seq[DataShape]

    Get list of data shapes.

    Get list of data shapes.

    returns

    list of data shapes

  20. def getDouble: Double

    Get value as a double.

    Get value as a double.

    returns

    double value

  21. def getDoubleList: Seq[Double]

    Get list of doubles.

    Get list of doubles.

    returns

    list of doubles

  22. def getFloat: Float

    Get value as a float.

    Get value as a float.

    returns

    float value

  23. def getFloatList: Seq[Float]

    Get list of floats.

    Get list of floats.

    returns

    list of floats

  24. def getInt: Int

    Get value as an int.

    Get value as an int.

    returns

    int value

  25. def getIntList: Seq[Int]

    Get list of ints.

    Get list of ints.

    returns

    list of ints

  26. def getLong: Long

    Get value as a long.

    Get value as a long.

    returns

    long value

  27. def getLongList: Seq[Long]

    Get list of longs.

    Get list of longs.

    returns

    list of longs

  28. def getModel: Model

    Get value as a model.

    Get value as a model.

    returns

    model

  29. def getModelList: Seq[Model]

    Get model list.

    Get model list.

    returns

    list of models

  30. def getShort: Short

    Get value as a short.

    Get value as a short.

    returns

    short value

  31. def getShortList: Seq[Short]

    Get list of shorts.

    Get list of shorts.

    returns

    list of shorts

  32. def getString: String

    Get value as a string.

    Get value as a string.

    returns

    string value

  33. def getStringList: Seq[String]

    Get list of strings.

    Get list of strings.

    returns

    list of strings

  34. def getTensor[T]: Tensor[T]

    Get value as a tensor.

    Get value as a tensor.

    T

    base type of tensor Double or String

    returns

    Scala seq of tensor values.

  35. def getTensorList[T]: Seq[Tensor[T]]

    Get list of tensors.

    Get list of tensors.

    T

    Scala class of tensors Double or String

    returns

    list of tensors

  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. val value: bundle.Value
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped