Documentation
¶
Index ¶
Constants ¶
View Source
const (
// DefaultPort is the port to serve the earlystopping service.
DefaultPort = "0.0.0.0:6789"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EarlyStoppingService ¶
type EarlyStoppingService interface {
GetEarlyStoppingParameters(ctx context.Context, in *api.GetEarlyStoppingParametersRequest) (api.GetEarlyStoppingParametersReply, error)
}
EarlyStoppingService is the interface for earlystopping service.
type MedianStoppingParam ¶
type MedianStoppingRule ¶
type MedianStoppingRule struct {
// contains filtered or unexported fields
}
func NewMedianStoppingRule ¶
func NewMedianStoppingRule() *MedianStoppingRule
func (*MedianStoppingRule) GetShouldStopWorkers ¶
func (m *MedianStoppingRule) GetShouldStopWorkers(ctx context.Context, in *api.GetShouldStopWorkersRequest) (*api.GetShouldStopWorkersReply, error)
Click to show internal directories.
Click to hide internal directories.