com.intel.analytics.bigdl.optim
In this service, concurrency is kept not greater than numThreads by a BlockingQueue,
which contains available model instances.
In this service, concurrency is kept not greater than numThreads by a BlockingQueue,
which contains available model instances.
If exceptions caught during predict,
a scalar Tensor[String] will be returned with thrown message.
BigDL model used to do predictions
max concurrency
a PredictionService instance
For now, Tensor and Table[primitive|Tensor, Tensor] are supported.
Bigdl.proto. For now, Tensor and Table[primitive|Tensor, Tensor] are supported.
It will convert AttrValue(Array(BigdlTensor)) to a Table.
It will convert AttrValue(BigdlTensor) to a Tensor.
bytes data for Activity to be deserialized
For now, Tensor and Table[primitive|Tensor, Tensor] are supported.
Bigdl.proto. For now, Tensor and Table[primitive|Tensor, Tensor] are supported.
activity to be serialized