Documentation ¶
Overview ¶
Package proto is a generated protocol buffer package.
It is generated from these files:
regression.proto
It has these top-level messages:
Input Parameter Gradient
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRegressionServer ¶
func RegisterRegressionServer(s *grpc.Server, srv RegressionServer)
Types ¶
type Gradient ¶
type Gradient struct {
Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (*Gradient) ProtoMessage ¶
func (*Gradient) ProtoMessage()
type Parameter ¶
type Parameter struct {
Value int32 `protobuf:"varint,1,opt,name=value" json:"value,omitempty"`
}
func (*Parameter) ProtoMessage ¶
func (*Parameter) ProtoMessage()
type RegressionClient ¶
type RegressionClient interface { GetParameter(ctx context.Context, in *Input, opts ...grpc.CallOption) (*Parameter, error) GetGradient(ctx context.Context, in *Input, opts ...grpc.CallOption) (*Gradient, error) }
func NewRegressionClient ¶
func NewRegressionClient(cc *grpc.ClientConn) RegressionClient
Click to show internal directories.
Click to hide internal directories.