fb

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: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TriangleNOT_TRIANGLE = 0
	TriangleUPPER        = 1
	TriangleLOWER        = 2
	TriangleSYMMETRIC    = 3
)

Variables

View Source
var EnumNamesTriangle = map[int]string{
	TriangleNOT_TRIANGLE: "NOT_TRIANGLE",
	TriangleUPPER:        "UPPER",
	TriangleLOWER:        "LOWER",
	TriangleSYMMETRIC:    "SYMMETRIC",
}

Functions

func APAddO

func APAddO(builder *flatbuffers.Builder, o uint32)

func APAddShape

func APAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)

func APAddStrides

func APAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)

func APAddT

func APAddT(builder *flatbuffers.Builder, t int32)

func APEnd

func APEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func APStart

func APStart(builder *flatbuffers.Builder)

func APStartShapeVector

func APStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func APStartStridesVector

func APStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DenseAddData

func DenseAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)

func DenseAddO

func DenseAddO(builder *flatbuffers.Builder, o uint32)

func DenseAddShape

func DenseAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)

func DenseAddStrides

func DenseAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)

func DenseAddT

func DenseAddT(builder *flatbuffers.Builder, t int32)

func DenseAddType

func DenseAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)

func DenseEnd

func DenseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func DenseStart

func DenseStart(builder *flatbuffers.Builder)

func DenseStartDataVector

func DenseStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DenseStartShapeVector

func DenseStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func DenseStartStridesVector

func DenseStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MaskedDenseAddData

func MaskedDenseAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)

func MaskedDenseAddMask

func MaskedDenseAddMask(builder *flatbuffers.Builder, mask flatbuffers.UOffsetT)

func MaskedDenseAddMaskIsSoft

func MaskedDenseAddMaskIsSoft(builder *flatbuffers.Builder, maskIsSoft flatbuffers.UOffsetT)

func MaskedDenseAddO

func MaskedDenseAddO(builder *flatbuffers.Builder, o uint32)

func MaskedDenseAddShape

func MaskedDenseAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)

func MaskedDenseAddStrides

func MaskedDenseAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)

func MaskedDenseAddT

func MaskedDenseAddT(builder *flatbuffers.Builder, t int32)

func MaskedDenseAddType

func MaskedDenseAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)

func MaskedDenseEnd

func MaskedDenseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT

func MaskedDenseStart

func MaskedDenseStart(builder *flatbuffers.Builder)

func MaskedDenseStartDataVector

func MaskedDenseStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MaskedDenseStartMaskIsSoftVector

func MaskedDenseStartMaskIsSoftVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MaskedDenseStartMaskVector

func MaskedDenseStartMaskVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MaskedDenseStartShapeVector

func MaskedDenseStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

func MaskedDenseStartStridesVector

func MaskedDenseStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT

Types

type AP

type AP struct {
	// contains filtered or unexported fields
}

func GetRootAsAP

func GetRootAsAP(buf []byte, offset flatbuffers.UOffsetT) *AP

func (*AP) Init

func (rcv *AP) Init(buf []byte, i flatbuffers.UOffsetT)

func (*AP) MutateO

func (rcv *AP) MutateO(n uint32) bool

func (*AP) MutateT

func (rcv *AP) MutateT(n int32) bool

func (*AP) O

func (rcv *AP) O() uint32

func (*AP) Shape

func (rcv *AP) Shape(j int) int32

func (*AP) ShapeLength

func (rcv *AP) ShapeLength() int

func (*AP) Strides

func (rcv *AP) Strides(j int) int32

func (*AP) StridesLength

func (rcv *AP) StridesLength() int

func (*AP) T

func (rcv *AP) T() int32

func (*AP) Table

func (rcv *AP) Table() flatbuffers.Table

type Dense

type Dense struct {
	// contains filtered or unexported fields
}

func GetRootAsDense

func GetRootAsDense(buf []byte, offset flatbuffers.UOffsetT) *Dense

func (*Dense) Data

func (rcv *Dense) Data(j int) byte

func (*Dense) DataBytes

func (rcv *Dense) DataBytes() []byte

func (*Dense) DataLength

func (rcv *Dense) DataLength() int

func (*Dense) Init

func (rcv *Dense) Init(buf []byte, i flatbuffers.UOffsetT)

func (*Dense) MutateO

func (rcv *Dense) MutateO(n uint32) bool

func (*Dense) MutateT

func (rcv *Dense) MutateT(n int32) bool

func (*Dense) O

func (rcv *Dense) O() uint32

func (*Dense) Shape

func (rcv *Dense) Shape(j int) int32

func (*Dense) ShapeLength

func (rcv *Dense) ShapeLength() int

func (*Dense) Strides

func (rcv *Dense) Strides(j int) int32

func (*Dense) StridesLength

func (rcv *Dense) StridesLength() int

func (*Dense) T

func (rcv *Dense) T() int32

func (*Dense) Table

func (rcv *Dense) Table() flatbuffers.Table

func (*Dense) Type

func (rcv *Dense) Type() []byte

type MaskedDense

type MaskedDense struct {
	// contains filtered or unexported fields
}

func GetRootAsMaskedDense

func GetRootAsMaskedDense(buf []byte, offset flatbuffers.UOffsetT) *MaskedDense

func (*MaskedDense) Data

func (rcv *MaskedDense) Data(j int) byte

func (*MaskedDense) DataBytes

func (rcv *MaskedDense) DataBytes() []byte

func (*MaskedDense) DataLength

func (rcv *MaskedDense) DataLength() int

func (*MaskedDense) Init

func (rcv *MaskedDense) Init(buf []byte, i flatbuffers.UOffsetT)

func (*MaskedDense) Mask

func (rcv *MaskedDense) Mask(j int) byte

func (*MaskedDense) MaskIsSoft

func (rcv *MaskedDense) MaskIsSoft(j int) byte

func (*MaskedDense) MaskIsSoftLength

func (rcv *MaskedDense) MaskIsSoftLength() int

func (*MaskedDense) MaskLength

func (rcv *MaskedDense) MaskLength() int

func (*MaskedDense) MutateO

func (rcv *MaskedDense) MutateO(n uint32) bool

func (*MaskedDense) MutateT

func (rcv *MaskedDense) MutateT(n int32) bool

func (*MaskedDense) O

func (rcv *MaskedDense) O() uint32

func (*MaskedDense) Shape

func (rcv *MaskedDense) Shape(j int) int32

func (*MaskedDense) ShapeLength

func (rcv *MaskedDense) ShapeLength() int

func (*MaskedDense) Strides

func (rcv *MaskedDense) Strides(j int) int32

func (*MaskedDense) StridesLength

func (rcv *MaskedDense) StridesLength() int

func (*MaskedDense) T

func (rcv *MaskedDense) T() int32

func (*MaskedDense) Table

func (rcv *MaskedDense) Table() flatbuffers.Table

func (*MaskedDense) Type

func (rcv *MaskedDense) Type() []byte

Jump to

Keyboard shortcuts

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