Documentation ¶
Index ¶
- Variables
- type Connection
- type Layer
- type Network
- type Neuron
- func (*Neuron) Descriptor() ([]byte, []int)deprecated
- func (x *Neuron) GetBias() float64
- func (x *Neuron) GetConnections() []*Connection
- func (x *Neuron) GetLabel() string
- func (*Neuron) ProtoMessage()
- func (x *Neuron) ProtoReflect() protoreflect.Message
- func (x *Neuron) Reset()
- func (x *Neuron) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_model_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Weight float64 `protobuf:"fixed64,1,opt,name=weight,proto3" json:"weight,omitempty"` // contains filtered or unexported fields }
func (*Connection) Descriptor
deprecated
func (*Connection) Descriptor() ([]byte, []int)
Deprecated: Use Connection.ProtoReflect.Descriptor instead.
func (*Connection) GetWeight ¶
func (x *Connection) GetWeight() float64
func (*Connection) ProtoMessage ¶
func (*Connection) ProtoMessage()
func (*Connection) ProtoReflect ¶
func (x *Connection) ProtoReflect() protoreflect.Message
func (*Connection) Reset ¶
func (x *Connection) Reset()
func (*Connection) String ¶
func (x *Connection) String() string
type Layer ¶
type Layer struct { Neurons []*Neuron `protobuf:"bytes,1,rep,name=neurons,proto3" json:"neurons,omitempty"` // contains filtered or unexported fields }
func (*Layer) Descriptor
deprecated
func (*Layer) GetNeurons ¶
func (*Layer) ProtoMessage ¶
func (*Layer) ProtoMessage()
func (*Layer) ProtoReflect ¶
func (x *Layer) ProtoReflect() protoreflect.Message
type Network ¶
type Network struct { ActivationFunctionName string `protobuf:"bytes,1,opt,name=activationFunctionName,proto3" json:"activationFunctionName,omitempty"` Layers []*Layer `protobuf:"bytes,2,rep,name=layers,proto3" json:"layers,omitempty"` // contains filtered or unexported fields }
func (*Network) Descriptor
deprecated
func (*Network) GetActivationFunctionName ¶
func (*Network) ProtoMessage ¶
func (*Network) ProtoMessage()
func (*Network) ProtoReflect ¶
func (x *Network) ProtoReflect() protoreflect.Message
type Neuron ¶
type Neuron struct { Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` Bias float64 `protobuf:"fixed64,2,opt,name=bias,proto3" json:"bias,omitempty"` Connections []*Connection `protobuf:"bytes,3,rep,name=connections,proto3" json:"connections,omitempty"` // contains filtered or unexported fields }
func (*Neuron) Descriptor
deprecated
func (*Neuron) GetConnections ¶
func (x *Neuron) GetConnections() []*Connection
func (*Neuron) ProtoMessage ¶
func (*Neuron) ProtoMessage()
func (*Neuron) ProtoReflect ¶
func (x *Neuron) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.