networkspb

package
v0.0.0-...-8022e88 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetNeurons

func (x *Layer) GetNeurons() []*Neuron

func (*Layer) ProtoMessage

func (*Layer) ProtoMessage()

func (*Layer) ProtoReflect

func (x *Layer) ProtoReflect() protoreflect.Message

func (*Layer) Reset

func (x *Layer) Reset()

func (*Layer) String

func (x *Layer) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Network.ProtoReflect.Descriptor instead.

func (*Network) GetActivationFunctionName

func (x *Network) GetActivationFunctionName() string

func (*Network) GetLayers

func (x *Network) GetLayers() []*Layer

func (*Network) ProtoMessage

func (*Network) ProtoMessage()

func (*Network) ProtoReflect

func (x *Network) ProtoReflect() protoreflect.Message

func (*Network) Reset

func (x *Network) Reset()

func (*Network) String

func (x *Network) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Neuron.ProtoReflect.Descriptor instead.

func (*Neuron) GetBias

func (x *Neuron) GetBias() float64

func (*Neuron) GetConnections

func (x *Neuron) GetConnections() []*Connection

func (*Neuron) GetLabel

func (x *Neuron) GetLabel() string

func (*Neuron) ProtoMessage

func (*Neuron) ProtoMessage()

func (*Neuron) ProtoReflect

func (x *Neuron) ProtoReflect() protoreflect.Message

func (*Neuron) Reset

func (x *Neuron) Reset()

func (*Neuron) String

func (x *Neuron) String() string

Jump to

Keyboard shortcuts

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