Documentation ¶
Index ¶
- Constants
- Variables
- func APAddO(builder *flatbuffers.Builder, o uint32)
- func APAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)
- func APAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)
- func APAddT(builder *flatbuffers.Builder, t int32)
- func APEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func APStart(builder *flatbuffers.Builder)
- func APStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func APStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func DenseAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)
- func DenseAddO(builder *flatbuffers.Builder, o uint32)
- func DenseAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)
- func DenseAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)
- func DenseAddT(builder *flatbuffers.Builder, t int32)
- func DenseAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
- func DenseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func DenseStart(builder *flatbuffers.Builder)
- func DenseStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func DenseStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func DenseStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MaskedDenseAddData(builder *flatbuffers.Builder, data flatbuffers.UOffsetT)
- func MaskedDenseAddMask(builder *flatbuffers.Builder, mask flatbuffers.UOffsetT)
- func MaskedDenseAddMaskIsSoft(builder *flatbuffers.Builder, maskIsSoft flatbuffers.UOffsetT)
- func MaskedDenseAddO(builder *flatbuffers.Builder, o uint32)
- func MaskedDenseAddShape(builder *flatbuffers.Builder, shape flatbuffers.UOffsetT)
- func MaskedDenseAddStrides(builder *flatbuffers.Builder, strides flatbuffers.UOffsetT)
- func MaskedDenseAddT(builder *flatbuffers.Builder, t int32)
- func MaskedDenseAddType(builder *flatbuffers.Builder, type_ flatbuffers.UOffsetT)
- func MaskedDenseEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func MaskedDenseStart(builder *flatbuffers.Builder)
- func MaskedDenseStartDataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MaskedDenseStartMaskIsSoftVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MaskedDenseStartMaskVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MaskedDenseStartShapeVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func MaskedDenseStartStridesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- type AP
- func (rcv *AP) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *AP) MutateO(n uint32) bool
- func (rcv *AP) MutateT(n int32) bool
- func (rcv *AP) O() uint32
- func (rcv *AP) Shape(j int) int32
- func (rcv *AP) ShapeLength() int
- func (rcv *AP) Strides(j int) int32
- func (rcv *AP) StridesLength() int
- func (rcv *AP) T() int32
- func (rcv *AP) Table() flatbuffers.Table
- type Dense
- func (rcv *Dense) Data(j int) byte
- func (rcv *Dense) DataBytes() []byte
- func (rcv *Dense) DataLength() int
- func (rcv *Dense) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Dense) MutateO(n uint32) bool
- func (rcv *Dense) MutateT(n int32) bool
- func (rcv *Dense) O() uint32
- func (rcv *Dense) Shape(j int) int32
- func (rcv *Dense) ShapeLength() int
- func (rcv *Dense) Strides(j int) int32
- func (rcv *Dense) StridesLength() int
- func (rcv *Dense) T() int32
- func (rcv *Dense) Table() flatbuffers.Table
- func (rcv *Dense) Type() []byte
- type MaskedDense
- func (rcv *MaskedDense) Data(j int) byte
- func (rcv *MaskedDense) DataBytes() []byte
- func (rcv *MaskedDense) DataLength() int
- func (rcv *MaskedDense) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *MaskedDense) Mask(j int) byte
- func (rcv *MaskedDense) MaskIsSoft(j int) byte
- func (rcv *MaskedDense) MaskIsSoftLength() int
- func (rcv *MaskedDense) MaskLength() int
- func (rcv *MaskedDense) MutateO(n uint32) bool
- func (rcv *MaskedDense) MutateT(n int32) bool
- func (rcv *MaskedDense) O() uint32
- func (rcv *MaskedDense) Shape(j int) int32
- func (rcv *MaskedDense) ShapeLength() int
- func (rcv *MaskedDense) Strides(j int) int32
- func (rcv *MaskedDense) StridesLength() int
- func (rcv *MaskedDense) T() int32
- func (rcv *MaskedDense) Table() flatbuffers.Table
- func (rcv *MaskedDense) Type() []byte
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) ShapeLength ¶
func (*AP) StridesLength ¶
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) DataLength ¶
func (*Dense) ShapeLength ¶
func (*Dense) StridesLength ¶
func (*Dense) Table ¶
func (rcv *Dense) Table() flatbuffers.Table
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
Click to show internal directories.
Click to hide internal directories.