package
0.15.0
Repository: https://github.com/baidu/paddle.git
Documentation: pkg.go.dev

# Functions

GetKey gets the value by the specify key.
NewClient creates a new Client.
NewEtcdClient creates a new EtcdClient.
NewService creates a new service.
WithAddr sets the client to use fixed master address.
WithBuffer sets the client to buffer the training record.
WithEtcd sets the client to use etcd for master discovery.

# Constants

DefaultAddrPath is the default etcd key for master address.
DefaultLockPath is the default etcd master lock path.
DefaultStatePath is the default etcd key for master state.

# Variables

ErrAllTaskFailed occur when tasks are in done or failed state.
ErrNoMoreAvailable occur when no task in todo and yet not all done or fail.
ErrPassAfter client side pass number does not match with master counter.
ErrPassBefore client side pass number does not match with master counter.

# Structs

Chunk is a chunk of data consisted of several data instances.
Client is the client of the master server.
EtcdClient is the etcd client that the master uses for fault tolerance and service registry.
InMemStore is an in memory implementation of Store interface.
SaveModelRequest is the request for saving model.
Service is the master server service.
Task is the basic unit of data instances assigned to trainers.
TaskMeta is a struct which stores task's meta info.

# Interfaces

Store is the interface for save and load the master state.