FlowerServiceRunnable

class FlowerServiceRunnable<X : Any, Y : Any>(val flowerClient: FlowerClient<X, Y>, val callback: (String) -> Unit)

Start communication with Flower server and training in the background. Note: constructing an instance of this class immediately starts training.

Use createFlowerService to create a FlowerServiceRunnable instance using Flower server address.

Parameters

flowerServerChannel

Channel already connected to Flower server.

callback

Called with information on training events.

Constructors

Link copied to clipboard
constructor(flowerClient: FlowerClient<X, Y>, callback: (String) -> Unit)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val callback: (String) -> Unit
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard