Documentation
¶
Index ¶
- Variables
- type Dense
- type Layer
- func (*Layer) Descriptor() ([]byte, []int)deprecated
- func (x *Layer) GetArgs() map[string]float32
- func (x *Layer) GetClass() string
- func (x *Layer) GetName() string
- func (x *Layer) GetParams() map[string]*Dense
- func (*Layer) ProtoMessage()
- func (x *Layer) ProtoReflect() protoreflect.Message
- func (x *Layer) Reset()
- func (x *Layer) String() string
- type Net
Constants ¶
This section is empty.
Variables ¶
View Source
var File_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Dense ¶
type Dense struct {
Shape []int32 `protobuf:"varint,1,rep,packed,name=shape,proto3" json:"shape,omitempty"`
Data []float32 `protobuf:"fixed32,2,rep,packed,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*Dense) Descriptor
deprecated
func (*Dense) ProtoMessage ¶
func (*Dense) ProtoMessage()
func (*Dense) ProtoReflect ¶
func (x *Dense) ProtoReflect() protoreflect.Message
type Layer ¶
type Layer struct {
Class string `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Params map[string]*Dense `` /* 153-byte string literal not displayed */
Args map[string]float32 `` /* 151-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Layer) Descriptor
deprecated
func (*Layer) ProtoMessage ¶
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶
func (x *Layer) ProtoReflect() protoreflect.Message
type Net ¶ added in v1.0.0
type Net struct {
Layers []*Layer `protobuf:"bytes,1,rep,name=layers,proto3" json:"layers,omitempty"`
// contains filtered or unexported fields
}
func (*Net) Descriptor
deprecated
added in
v1.0.0
func (*Net) ProtoMessage ¶ added in v1.0.0
func (*Net) ProtoMessage()
func (*Net) ProtoReflect ¶ added in v1.0.0
func (x *Net) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.