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
- Alphabetic
- By Inheritance
- Value
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Value(value: bundle.Value)
- value
bundle protobuf value
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
getBasicType: BasicType
Get value as a data type.
Get value as a data type.
- returns
data type
-
def
getBasicTypeList: Seq[BasicType]
Get list of data types.
Get list of data types.
- returns
list of data types
-
def
getBoolean: Boolean
Get value as a boolean.
Get value as a boolean.
- returns
boolean value
-
def
getBooleanList: Seq[Boolean]
Get list of booleans.
Get list of booleans.
- returns
list of booleans
-
def
getByte: Byte
Get value as a byte.
Get value as a byte.
- returns
byte value
-
def
getByteList: Seq[Byte]
Get list of bytes.
Get list of bytes.
- returns
list of bytes
-
def
getByteString: ByteString
Get value as a byte string.
Get value as a byte string.
- returns
byte string
-
def
getByteStringList: Seq[ByteString]
Get list of byte strings.
Get list of byte strings.
- returns
list of byte strings
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDataShape: DataShape
Get value as a data shape.
Get value as a data shape.
- returns
data shape
-
def
getDataShapeList: Seq[DataShape]
Get list of data shapes.
Get list of data shapes.
- returns
list of data shapes
-
def
getDouble: Double
Get value as a double.
Get value as a double.
- returns
double value
-
def
getDoubleList: Seq[Double]
Get list of doubles.
Get list of doubles.
- returns
list of doubles
-
def
getFloat: Float
Get value as a float.
Get value as a float.
- returns
float value
-
def
getFloatList: Seq[Float]
Get list of floats.
Get list of floats.
- returns
list of floats
-
def
getInt: Int
Get value as an int.
Get value as an int.
- returns
int value
-
def
getIntList: Seq[Int]
Get list of ints.
Get list of ints.
- returns
list of ints
-
def
getLong: Long
Get value as a long.
Get value as a long.
- returns
long value
-
def
getLongList: Seq[Long]
Get list of longs.
Get list of longs.
- returns
list of longs
-
def
getModel: Model
Get value as a model.
Get value as a model.
- returns
model
-
def
getModelList: Seq[Model]
Get model list.
Get model list.
- returns
list of models
-
def
getShort: Short
Get value as a short.
Get value as a short.
- returns
short value
-
def
getShortList: Seq[Short]
Get list of shorts.
Get list of shorts.
- returns
list of shorts
-
def
getString: String
Get value as a string.
Get value as a string.
- returns
string value
-
def
getStringList: Seq[String]
Get list of strings.
Get list of strings.
- returns
list of strings
-
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.
-
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
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val value: bundle.Value
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()