pb

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 4 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Dense.ProtoReflect.Descriptor instead.

func (*Dense) GetData

func (x *Dense) GetData() []float32

func (*Dense) GetShape added in v1.0.0

func (x *Dense) GetShape() []int32

func (*Dense) ProtoMessage

func (*Dense) ProtoMessage()

func (*Dense) ProtoReflect

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

func (*Dense) Reset

func (x *Dense) Reset()

func (*Dense) String

func (x *Dense) String() string

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

Deprecated: Use Layer.ProtoReflect.Descriptor instead.

func (*Layer) GetArgs

func (x *Layer) GetArgs() map[string]float32

func (*Layer) GetClass

func (x *Layer) GetClass() string

func (*Layer) GetName

func (x *Layer) GetName() string

func (*Layer) GetParams

func (x *Layer) GetParams() map[string]*Dense

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

Deprecated: Use Net.ProtoReflect.Descriptor instead.

func (*Net) GetLayers added in v1.0.0

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

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

func (*Net) Reset added in v1.0.0

func (x *Net) Reset()

func (*Net) String added in v1.0.0

func (x *Net) String() string

Jump to

Keyboard shortcuts

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