Create a basic data type.
Create a basic data type.
Basic data types are string, long, double, boolean.
string, long, double, or boolean
data type for the basic type
Create a boolean value.
Create a boolean value.
value to wrap
wrapped value
Create a list of booleans value.
Create a list of booleans value.
Scala boolean list
wrapped value
Converts a Scala value to a protobuf value.
Converts a Scala value to a protobuf value.
type of Scala value
Scala value to convert
bundle registry for custom types
protobuf value of the Scala value
Create a byte value.
Create a byte value.
value to wrap
wrapped value
Create a list of byte value.
Create a list of byte value.
Scala byte list
wrapped value
Create a byte string value.
Create a byte string value.
byte string
value with byte string
Create a list of byte string.
Create a list of byte string.
data types
value with data types
Create a custom value.
Create a custom value.
Scala class of the custom value
value to wrap
bundle registry for custom value serializer
wrapped custom value
Create a custom data type.
Create a custom data type.
Custom data types are used to store arbitrary Scala objects.
Scala class of the custom value
bundle registry for custom value serializer
data type for the custom value
Create a list of custom objects value.
Create a list of custom objects value.
Scala class of the custom values
Scala list of custom objects
bundle registry for constructing custom data type
wrapped custom list
Construct a nested list of custom values.
Construct a nested list of custom values.
See Value.listN for example usage.
Scala class of the custom data
depth of nesting
Scala nested list of custom objects
bundle registry needed for custom data type
wrapped nested list of custom values
Create a data type value.
Create a data type value.
data type to store
value with data type
Create a list of data types.
Create a list of data types.
data types
value with data types
Create a double value.
Create a double value.
value to wrap
wrapped value
Create a list of doubles value.
Create a list of doubles value.
Scala double list
wrapped value
Create a float value.
Create a float value.
value to wrap
wrapped value
Create a list of float value.
Create a list of float value.
Scala float list
wrapped value
Convert a ml.bundle.Value.Value into a ml.combust.bundle.dsl.Value.
Convert a ml.bundle.Value.Value into a ml.combust.bundle.dsl.Value.
data type of the protobuf value
protobuf value to convert
bundle registry for custom types
wrapped Scala value of protobuf object
Convert a ml.bundle.Value.Value.ListValue into a Scala Seq.
Convert a ml.bundle.Value.Value.ListValue into a Scala Seq.
Lists can be of any depth, and so can be decoded to Seq[Seq[Seq[String\]\]\] for example.
list type to extract to a Scala value
protobuf list to extract to Scala value
bundle registry for custom types
Scala value of protobuf object
Convert from a ml.bundle.Tensor.Tensor to a ml.combust.mleap.tensor.Tensor.
Convert from a ml.bundle.Tensor.Tensor to a ml.combust.mleap.tensor.Tensor.
bundle type of tensor
bundle tensor
mleap tensor
Create an int value.
Create an int value.
value to wrap
wrapped value
Create a list of int value.
Create a list of int value.
Scala int list
wrapped value
Create a list data type.
Create a list data type.
Use ml.combust.bundle.dsl.Value.listDataTypeN for nested lists.
type of values held within list
list data type for the base type
Create a nested list data type of any depth.
Create a nested list data type of any depth.
To represent a Seq[Seq[Seq[Long\]\]\] from Scala, pass in a longDataType for base and n = 3.
data type of the nested list
depth of the nested list
data type for a nested list
Construct a nested list of any value.
Construct a nested list of any value.
For custom values use Value.customListN Example to construct a nested list of Double.
scala> import ml.bundle.BasicType.BasicType import ml.bundle.dsl._ val list: Seq[Seq[Seq[Double]]] = Seq(Seq( Seq(45.6, 77.8, 34.5), Seq(2.3, 5.6, 44.5) )) scala> val value = Value.listN(Value.doubleDataType, 3, list) value: ml.bundle.dsl.Value = Value(DataType(List(ListType(DataType(List(ListType(DataType(List(ListType(DataType(Basic(DOUBLE))))))))))),List(List(List(45.6, 77.8, 34.5), List(2.3, 5.6, 44.5))))
data type of the list
depth of the nested list
Scala nested list with base values in it
wrapped nested list
Create a list value.
Create a list value.
value can be a nested list, as long as lt is also nested. For example, lt can be a list of list of double then value should be a Seq[Seq[Double]].
list type
Scala list
bundle registry for custom types
list protobuf object of the Scala list
Create a long value.
Create a long value.
value to wrap
wrapped value
Create a list of longs value.
Create a list of longs value.
Scala long list
wrapped value
Create a short value.
Create a short value.
value to wrap
wrapped value
Create a list of short value.
Create a list of short value.
Scala long list
wrapped value
Create a string value.
Create a string value.
value to wrap
wrapped value
Create a list of strings value.
Create a list of strings value.
Scala string list
wrapped value
Create a tensor value.
Create a tensor value.
Dimensions must have size greater than 0. Use -1 for dimensions that can be any size.
tensor value
tensor value
Create a tensor data type.
Create a tensor data type.
basic data type of the tensor
tensor data type
Create a list of tensors.
Create a list of tensors.
Dimensions of a tensor indicate how many values are in each dimension. Each dimension must be a positive integer. Use -1 if the dimension can have any number of values in it.
tensors in the list
wrapped list of tensors
Convert ml.combust.mleap.tensor.Tensor to ml.bundle.Tensor.Tensor.
Convert ml.combust.mleap.tensor.Tensor to ml.bundle.Tensor.Tensor.
mleap tensor
bundle tensor
Create a tensor value with 1 dimension.
Create a tensor value with 1 dimension.
type of vector
values of vector
tensor with vector
Provides a set of helper methods for easily creating ml.combust.bundle.dsl.Value objects.
Easily create ml.combust.bundle.dsl.Value objects of any type using the helper methods provided here. The helper methods will wrap a Scala value for later serializing into Bundle.ML.
Also provides several helper methods for converting from Bundle.ML protobuf objects back into wrapped Scala objects.