Packages

final case class Scalar(b: Boolean = false, s: String = "", i: Int = 0, l: Long = 0L, f: Float = 0.0f, d: Double = 0.0, bs: ByteString = ..., t: Option[Tensor] = None, bt: BasicType = ml.bundle.BasicType.UNDEFINED, ds: Option[DataShape] = None, m: Option[Model] = None) extends GeneratedMessage with Message[Scalar] with Updatable[Scalar] with Product with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Scalar], Message[Scalar], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scalar
  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 Scalar(b: Boolean = false, s: String = "", i: Int = 0, l: Long = 0L, f: Float = 0.0f, d: Double = 0.0, bs: ByteString = ..., t: Option[Tensor] = None, bt: BasicType = ml.bundle.BasicType.UNDEFINED, ds: Option[DataShape] = None, m: Option[Model] = None)

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. val b: Boolean
  6. val bs: ByteString
  7. val bt: BasicType
  8. def clearDs: Scalar
  9. def clearM: Scalar
  10. def clearT: Scalar
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def companion: Scalar.type
    Definition Classes
    Scalar → GeneratedMessage
  13. val d: Double
  14. val ds: Option[DataShape]
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. val f: Float
  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getDs: DataShape
  20. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Scalar → GeneratedMessage
  21. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Scalar → GeneratedMessage
  22. def getM: Model
  23. def getT: Tensor
  24. val i: Int
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. val l: Long
  27. val m: Option[Model]
  28. def mergeFrom(_input__: CodedInputStream): Scalar
    Definition Classes
    Scalar → Message
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. val s: String
  33. final def serializedSize: Int
    Definition Classes
    Scalar → GeneratedMessage
  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. val t: Option[Tensor]
  36. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  37. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  38. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  39. def toProtoString: String
    Definition Classes
    Scalar → GeneratedMessage
  40. def update(ms: (Lens[Scalar, Scalar]) ⇒ Mutation[Scalar]*): Scalar
    Definition Classes
    Updatable
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  44. def withB(__v: Boolean): Scalar
  45. def withBs(__v: ByteString): Scalar
  46. def withBt(__v: BasicType): Scalar
  47. def withD(__v: Double): Scalar
  48. def withDs(__v: DataShape): Scalar
  49. def withF(__v: Float): Scalar
  50. def withI(__v: Int): Scalar
  51. def withL(__v: Long): Scalar
  52. def withM(__v: Model): Scalar
  53. def withS(__v: String): Scalar
  54. def withT(__v: Tensor): Scalar
  55. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  56. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Scalar → GeneratedMessage
  57. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any
    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[Scalar]

Inherited from Message[Scalar]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped