Documentation
¶
Index ¶
- Constants
- type Bracket
- type Evals
- type GridSuggestParameters
- type GridSuggestService
- func (s *GridSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
- func (s *GridSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
- type HyperBandParameters
- type HyperBandSuggestService
- func (h *HyperBandSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
- func (s *HyperBandSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
- type RandomSuggestService
- func (s *RandomSuggestService) DoubleRandom(min, max float64) float64
- func (s *RandomSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
- func (s *RandomSuggestService) IntRandom(min, max int) int
- func (s *RandomSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
- type SuggestService
Constants ¶
View Source
const (
// DefaultPort is the port to serve the suggestion service.
DefaultPort = "0.0.0.0:6789"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GridSuggestParameters ¶
type GridSuggestParameters struct { MaxParallel int // contains filtered or unexported fields }
type GridSuggestService ¶
type GridSuggestService struct { }
func NewGridSuggestService ¶
func NewGridSuggestService() *GridSuggestService
func (*GridSuggestService) GetSuggestions ¶
func (s *GridSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
func (*GridSuggestService) ValidateSuggestionParameters ¶
func (s *GridSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
type HyperBandParameters ¶
type HyperBandSuggestService ¶
type HyperBandSuggestService struct {
RandomSuggestService
}
func NewHyperBandSuggestService ¶
func NewHyperBandSuggestService() *HyperBandSuggestService
func (*HyperBandSuggestService) GetSuggestions ¶
func (h *HyperBandSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
func (*HyperBandSuggestService) ValidateSuggestionParameters ¶
func (s *HyperBandSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
type RandomSuggestService ¶
type RandomSuggestService struct { }
func NewRandomSuggestService ¶
func NewRandomSuggestService() *RandomSuggestService
func (*RandomSuggestService) DoubleRandom ¶
func (s *RandomSuggestService) DoubleRandom(min, max float64) float64
func (*RandomSuggestService) GetSuggestions ¶
func (s *RandomSuggestService) GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
func (*RandomSuggestService) IntRandom ¶
func (s *RandomSuggestService) IntRandom(min, max int) int
func (*RandomSuggestService) ValidateSuggestionParameters ¶
func (s *RandomSuggestService) ValidateSuggestionParameters(ctx context.Context, in *api.ValidateSuggestionParametersRequest) (*api.ValidateSuggestionParametersReply, error)
type SuggestService ¶
type SuggestService interface {
GetSuggestions(ctx context.Context, in *api.GetSuggestionsRequest) (*api.GetSuggestionsReply, error)
}
SuggestService is the interface for suggestion service.
Click to show internal directories.
Click to hide internal directories.