pb

package
v0.9.24 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package pb is a generated protocol buffer package.

It is generated from these files:

gorgonia.org/tensor/internal/serialization/pb/generated.proto

It has these top-level messages:

AP
Dense
MaskedDense

Index

Constants

View Source
const (
	RowMajorContiguous = iota
	RowMajorNonContiguous
	ColMajorContiguous
	ColMajorNonContiguous
)

the reason for spreading the states out is because proteaus cannot handle non-iota tates

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var Triangle_name = map[int32]string{
	0: "NOT_TRIANGLE",
	1: "UPPER",
	2: "LOWER",
	3: "SYMMETRIC",
}
View Source
var Triangle_value = map[string]int32{
	"NOT_TRIANGLE": 0,
	"UPPER":        1,
	"LOWER":        2,
	"SYMMETRIC":    3,
}

Functions

This section is empty.

Types

type AP

type AP struct {
	Shape   []int32
	Strides []int32

	O DataOrder
	T Triangle
}

func (*AP) Descriptor

func (*AP) Descriptor() ([]byte, []int)

func (*AP) Marshal

func (m *AP) Marshal() (dAtA []byte, err error)

func (*AP) MarshalTo

func (m *AP) MarshalTo(dAtA []byte) (int, error)

func (*AP) ProtoMessage

func (*AP) ProtoMessage()

func (*AP) ProtoSize

func (m *AP) ProtoSize() (n int)

func (*AP) Reset

func (m *AP) Reset()

func (*AP) String

func (m *AP) String() string

func (*AP) Unmarshal

func (m *AP) Unmarshal(dAtA []byte) error

type DataOrder

type DataOrder byte

type Dense

type Dense struct {
	AP
	Type string // type name
	Data []byte
}

func (*Dense) Descriptor

func (*Dense) Descriptor() ([]byte, []int)

func (*Dense) Marshal

func (m *Dense) Marshal() (dAtA []byte, err error)

func (*Dense) MarshalTo

func (m *Dense) MarshalTo(dAtA []byte) (int, error)

func (*Dense) ProtoMessage

func (*Dense) ProtoMessage()

func (*Dense) ProtoSize

func (m *Dense) ProtoSize() (n int)

func (*Dense) Reset

func (m *Dense) Reset()

func (*Dense) String

func (m *Dense) String() string

func (*Dense) Unmarshal

func (m *Dense) Unmarshal(dAtA []byte) error

type MaskedDense

type MaskedDense struct {
	Dense
	Mask       []bool
	MaskIsSoft []bool
}

func (*MaskedDense) Descriptor

func (*MaskedDense) Descriptor() ([]byte, []int)

func (*MaskedDense) Marshal

func (m *MaskedDense) Marshal() (dAtA []byte, err error)

func (*MaskedDense) MarshalTo

func (m *MaskedDense) MarshalTo(dAtA []byte) (int, error)

func (*MaskedDense) ProtoMessage

func (*MaskedDense) ProtoMessage()

func (*MaskedDense) ProtoSize

func (m *MaskedDense) ProtoSize() (n int)

func (*MaskedDense) Reset

func (m *MaskedDense) Reset()

func (*MaskedDense) String

func (m *MaskedDense) String() string

func (*MaskedDense) Unmarshal

func (m *MaskedDense) Unmarshal(dAtA []byte) error

type Triangle

type Triangle byte
const (
	NotTriangle Triangle = iota
	Upper
	Lower
	Symmetric
)

func (Triangle) EnumDescriptor

func (Triangle) EnumDescriptor() ([]byte, []int)

Jump to

Keyboard shortcuts

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