service

package
v2.1.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1

type V1 struct {
	// contains filtered or unexported fields
}

V1 is the interface for v1 version of the service.

func NewV1

func NewV1(
	cfg *config.Config,
	storage storage.Storage,
	training training.Training,
) *V1

New v1 version of service instance.

func (*V1) Train

func (v *V1) Train(stream trainerv1.Trainer_TrainServer) error

Train implements the Trainer.Train method.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL