Documentation ¶
Index ¶
- Variables
- func AssociatedFileAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
- func AssociatedFileAddLocale(builder *flatbuffers.Builder, locale flatbuffers.UOffsetT)
- func AssociatedFileAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func AssociatedFileAddType(builder *flatbuffers.Builder, type_ AssociatedFileType)
- func AssociatedFileEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func AssociatedFileStart(builder *flatbuffers.Builder)
- func AudioPropertiesAddChannels(builder *flatbuffers.Builder, channels uint32)
- func AudioPropertiesAddSampleRate(builder *flatbuffers.Builder, sampleRate uint32)
- func AudioPropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func AudioPropertiesStart(builder *flatbuffers.Builder)
- func BertTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
- func BertTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func BertTokenizerOptionsStart(builder *flatbuffers.Builder)
- func BertTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func BoundingBoxPropertiesAddCoordinateType(builder *flatbuffers.Builder, coordinateType CoordinateType)
- func BoundingBoxPropertiesAddIndex(builder *flatbuffers.Builder, index flatbuffers.UOffsetT)
- func BoundingBoxPropertiesAddType(builder *flatbuffers.Builder, type_ BoundingBoxType)
- func BoundingBoxPropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func BoundingBoxPropertiesStart(builder *flatbuffers.Builder)
- func BoundingBoxPropertiesStartIndexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ContentAddContentProperties(builder *flatbuffers.Builder, contentProperties flatbuffers.UOffsetT)
- func ContentAddContentPropertiesType(builder *flatbuffers.Builder, contentPropertiesType ContentProperties)
- func ContentAddRange(builder *flatbuffers.Builder, range_ flatbuffers.UOffsetT)
- func ContentEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ContentStart(builder *flatbuffers.Builder)
- func FeaturePropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func FeaturePropertiesStart(builder *flatbuffers.Builder)
- func ImagePropertiesAddColorSpace(builder *flatbuffers.Builder, colorSpace ColorSpaceType)
- func ImagePropertiesAddDefaultSize(builder *flatbuffers.Builder, defaultSize flatbuffers.UOffsetT)
- func ImagePropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ImagePropertiesStart(builder *flatbuffers.Builder)
- func ImageSizeAddHeight(builder *flatbuffers.Builder, height uint32)
- func ImageSizeAddWidth(builder *flatbuffers.Builder, width uint32)
- func ImageSizeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ImageSizeStart(builder *flatbuffers.Builder)
- func ModelMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
- func ModelMetadataAddAuthor(builder *flatbuffers.Builder, author flatbuffers.UOffsetT)
- func ModelMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
- func ModelMetadataAddLicense(builder *flatbuffers.Builder, license flatbuffers.UOffsetT)
- func ModelMetadataAddMinParserVersion(builder *flatbuffers.Builder, minParserVersion flatbuffers.UOffsetT)
- func ModelMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func ModelMetadataAddSubgraphMetadata(builder *flatbuffers.Builder, subgraphMetadata flatbuffers.UOffsetT)
- func ModelMetadataAddVersion(builder *flatbuffers.Builder, version flatbuffers.UOffsetT)
- func ModelMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ModelMetadataStart(builder *flatbuffers.Builder)
- func ModelMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ModelMetadataStartSubgraphMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func NormalizationOptionsAddMean(builder *flatbuffers.Builder, mean flatbuffers.UOffsetT)
- func NormalizationOptionsAddStd(builder *flatbuffers.Builder, std flatbuffers.UOffsetT)
- func NormalizationOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func NormalizationOptionsStart(builder *flatbuffers.Builder)
- func NormalizationOptionsStartMeanVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func NormalizationOptionsStartStdVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ProcessUnitAddOptions(builder *flatbuffers.Builder, options flatbuffers.UOffsetT)
- func ProcessUnitAddOptionsType(builder *flatbuffers.Builder, optionsType ProcessUnitOptions)
- func ProcessUnitEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ProcessUnitStart(builder *flatbuffers.Builder)
- func RegexTokenizerOptionsAddDelimRegexPattern(builder *flatbuffers.Builder, delimRegexPattern flatbuffers.UOffsetT)
- func RegexTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
- func RegexTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func RegexTokenizerOptionsStart(builder *flatbuffers.Builder)
- func RegexTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ScoreCalibrationOptionsAddDefaultScore(builder *flatbuffers.Builder, defaultScore float32)
- func ScoreCalibrationOptionsAddScoreTransformation(builder *flatbuffers.Builder, scoreTransformation ScoreTransformationType)
- func ScoreCalibrationOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ScoreCalibrationOptionsStart(builder *flatbuffers.Builder)
- func ScoreThresholdingOptionsAddGlobalScoreThreshold(builder *flatbuffers.Builder, globalScoreThreshold float32)
- func ScoreThresholdingOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ScoreThresholdingOptionsStart(builder *flatbuffers.Builder)
- func SentencePieceTokenizerOptionsAddSentencePieceModel(builder *flatbuffers.Builder, sentencePieceModel flatbuffers.UOffsetT)
- func SentencePieceTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
- func SentencePieceTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func SentencePieceTokenizerOptionsStart(builder *flatbuffers.Builder)
- func SentencePieceTokenizerOptionsStartSentencePieceModelVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SentencePieceTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func StatsAddMax(builder *flatbuffers.Builder, max flatbuffers.UOffsetT)
- func StatsAddMin(builder *flatbuffers.Builder, min flatbuffers.UOffsetT)
- func StatsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func StatsStart(builder *flatbuffers.Builder)
- func StatsStartMaxVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func StatsStartMinVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
- func SubGraphMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
- func SubGraphMetadataAddInputProcessUnits(builder *flatbuffers.Builder, inputProcessUnits flatbuffers.UOffsetT)
- func SubGraphMetadataAddInputTensorGroups(builder *flatbuffers.Builder, inputTensorGroups flatbuffers.UOffsetT)
- func SubGraphMetadataAddInputTensorMetadata(builder *flatbuffers.Builder, inputTensorMetadata flatbuffers.UOffsetT)
- func SubGraphMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func SubGraphMetadataAddOutputProcessUnits(builder *flatbuffers.Builder, outputProcessUnits flatbuffers.UOffsetT)
- func SubGraphMetadataAddOutputTensorGroups(builder *flatbuffers.Builder, outputTensorGroups flatbuffers.UOffsetT)
- func SubGraphMetadataAddOutputTensorMetadata(builder *flatbuffers.Builder, outputTensorMetadata flatbuffers.UOffsetT)
- func SubGraphMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func SubGraphMetadataStart(builder *flatbuffers.Builder)
- func SubGraphMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartInputProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartInputTensorGroupsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartInputTensorMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartOutputProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartOutputTensorGroupsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func SubGraphMetadataStartOutputTensorMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TensorGroupAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func TensorGroupAddTensorNames(builder *flatbuffers.Builder, tensorNames flatbuffers.UOffsetT)
- func TensorGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TensorGroupStart(builder *flatbuffers.Builder)
- func TensorGroupStartTensorNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TensorMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
- func TensorMetadataAddContent(builder *flatbuffers.Builder, content flatbuffers.UOffsetT)
- func TensorMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
- func TensorMetadataAddDimensionNames(builder *flatbuffers.Builder, dimensionNames flatbuffers.UOffsetT)
- func TensorMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
- func TensorMetadataAddProcessUnits(builder *flatbuffers.Builder, processUnits flatbuffers.UOffsetT)
- func TensorMetadataAddStats(builder *flatbuffers.Builder, stats flatbuffers.UOffsetT)
- func TensorMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func TensorMetadataStart(builder *flatbuffers.Builder)
- func TensorMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TensorMetadataStartDimensionNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func TensorMetadataStartProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
- func ValueRangeAddMax(builder *flatbuffers.Builder, max int32)
- func ValueRangeAddMin(builder *flatbuffers.Builder, min int32)
- func ValueRangeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
- func ValueRangeStart(builder *flatbuffers.Builder)
- type AssociatedFile
- func (rcv *AssociatedFile) Description() []byte
- func (rcv *AssociatedFile) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *AssociatedFile) Locale() []byte
- func (rcv *AssociatedFile) MutateType(n AssociatedFileType) bool
- func (rcv *AssociatedFile) Name() []byte
- func (rcv *AssociatedFile) Table() flatbuffers.Table
- func (rcv *AssociatedFile) Type() AssociatedFileType
- func (rcv *AssociatedFile) UnPack() *AssociatedFileT
- func (rcv *AssociatedFile) UnPackTo(t *AssociatedFileT)
- type AssociatedFileT
- type AssociatedFileType
- type AudioProperties
- func (rcv *AudioProperties) Channels() uint32
- func (rcv *AudioProperties) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *AudioProperties) MutateChannels(n uint32) bool
- func (rcv *AudioProperties) MutateSampleRate(n uint32) bool
- func (rcv *AudioProperties) SampleRate() uint32
- func (rcv *AudioProperties) Table() flatbuffers.Table
- func (rcv *AudioProperties) UnPack() *AudioPropertiesT
- func (rcv *AudioProperties) UnPackTo(t *AudioPropertiesT)
- type AudioPropertiesT
- type BertTokenizerOptions
- func (rcv *BertTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *BertTokenizerOptions) Table() flatbuffers.Table
- func (rcv *BertTokenizerOptions) UnPack() *BertTokenizerOptionsT
- func (rcv *BertTokenizerOptions) UnPackTo(t *BertTokenizerOptionsT)
- func (rcv *BertTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
- func (rcv *BertTokenizerOptions) VocabFileLength() int
- type BertTokenizerOptionsT
- type BoundingBoxProperties
- func (rcv *BoundingBoxProperties) CoordinateType() CoordinateType
- func (rcv *BoundingBoxProperties) Index(j int) uint32
- func (rcv *BoundingBoxProperties) IndexLength() int
- func (rcv *BoundingBoxProperties) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *BoundingBoxProperties) MutateCoordinateType(n CoordinateType) bool
- func (rcv *BoundingBoxProperties) MutateIndex(j int, n uint32) bool
- func (rcv *BoundingBoxProperties) MutateType(n BoundingBoxType) bool
- func (rcv *BoundingBoxProperties) Table() flatbuffers.Table
- func (rcv *BoundingBoxProperties) Type() BoundingBoxType
- func (rcv *BoundingBoxProperties) UnPack() *BoundingBoxPropertiesT
- func (rcv *BoundingBoxProperties) UnPackTo(t *BoundingBoxPropertiesT)
- type BoundingBoxPropertiesT
- type BoundingBoxType
- type ColorSpaceType
- type Content
- func (rcv *Content) ContentProperties(obj *flatbuffers.Table) bool
- func (rcv *Content) ContentPropertiesType() ContentProperties
- func (rcv *Content) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Content) MutateContentPropertiesType(n ContentProperties) bool
- func (rcv *Content) Range(obj *ValueRange) *ValueRange
- func (rcv *Content) Table() flatbuffers.Table
- func (rcv *Content) UnPack() *ContentT
- func (rcv *Content) UnPackTo(t *ContentT)
- type ContentProperties
- type ContentPropertiesT
- type ContentT
- type CoordinateType
- type FeatureProperties
- type FeaturePropertiesT
- type ImageProperties
- func (rcv *ImageProperties) ColorSpace() ColorSpaceType
- func (rcv *ImageProperties) DefaultSize(obj *ImageSize) *ImageSize
- func (rcv *ImageProperties) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ImageProperties) MutateColorSpace(n ColorSpaceType) bool
- func (rcv *ImageProperties) Table() flatbuffers.Table
- func (rcv *ImageProperties) UnPack() *ImagePropertiesT
- func (rcv *ImageProperties) UnPackTo(t *ImagePropertiesT)
- type ImagePropertiesT
- type ImageSize
- func (rcv *ImageSize) Height() uint32
- func (rcv *ImageSize) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ImageSize) MutateHeight(n uint32) bool
- func (rcv *ImageSize) MutateWidth(n uint32) bool
- func (rcv *ImageSize) Table() flatbuffers.Table
- func (rcv *ImageSize) UnPack() *ImageSizeT
- func (rcv *ImageSize) UnPackTo(t *ImageSizeT)
- func (rcv *ImageSize) Width() uint32
- type ImageSizeT
- type ModelMetadata
- func (rcv *ModelMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
- func (rcv *ModelMetadata) AssociatedFilesLength() int
- func (rcv *ModelMetadata) Author() []byte
- func (rcv *ModelMetadata) Description() []byte
- func (rcv *ModelMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ModelMetadata) License() []byte
- func (rcv *ModelMetadata) MinParserVersion() []byte
- func (rcv *ModelMetadata) Name() []byte
- func (rcv *ModelMetadata) SubgraphMetadata(obj *SubGraphMetadata, j int) bool
- func (rcv *ModelMetadata) SubgraphMetadataLength() int
- func (rcv *ModelMetadata) Table() flatbuffers.Table
- func (rcv *ModelMetadata) UnPack() *ModelMetadataT
- func (rcv *ModelMetadata) UnPackTo(t *ModelMetadataT)
- func (rcv *ModelMetadata) Version() []byte
- type ModelMetadataT
- type NormalizationOptions
- func (rcv *NormalizationOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *NormalizationOptions) Mean(j int) float32
- func (rcv *NormalizationOptions) MeanLength() int
- func (rcv *NormalizationOptions) MutateMean(j int, n float32) bool
- func (rcv *NormalizationOptions) MutateStd(j int, n float32) bool
- func (rcv *NormalizationOptions) Std(j int) float32
- func (rcv *NormalizationOptions) StdLength() int
- func (rcv *NormalizationOptions) Table() flatbuffers.Table
- func (rcv *NormalizationOptions) UnPack() *NormalizationOptionsT
- func (rcv *NormalizationOptions) UnPackTo(t *NormalizationOptionsT)
- type NormalizationOptionsT
- type ProcessUnit
- func (rcv *ProcessUnit) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ProcessUnit) MutateOptionsType(n ProcessUnitOptions) bool
- func (rcv *ProcessUnit) Options(obj *flatbuffers.Table) bool
- func (rcv *ProcessUnit) OptionsType() ProcessUnitOptions
- func (rcv *ProcessUnit) Table() flatbuffers.Table
- func (rcv *ProcessUnit) UnPack() *ProcessUnitT
- func (rcv *ProcessUnit) UnPackTo(t *ProcessUnitT)
- type ProcessUnitOptions
- type ProcessUnitOptionsT
- type ProcessUnitT
- type RegexTokenizerOptions
- func (rcv *RegexTokenizerOptions) DelimRegexPattern() []byte
- func (rcv *RegexTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *RegexTokenizerOptions) Table() flatbuffers.Table
- func (rcv *RegexTokenizerOptions) UnPack() *RegexTokenizerOptionsT
- func (rcv *RegexTokenizerOptions) UnPackTo(t *RegexTokenizerOptionsT)
- func (rcv *RegexTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
- func (rcv *RegexTokenizerOptions) VocabFileLength() int
- type RegexTokenizerOptionsT
- type ScoreCalibrationOptions
- func (rcv *ScoreCalibrationOptions) DefaultScore() float32
- func (rcv *ScoreCalibrationOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ScoreCalibrationOptions) MutateDefaultScore(n float32) bool
- func (rcv *ScoreCalibrationOptions) MutateScoreTransformation(n ScoreTransformationType) bool
- func (rcv *ScoreCalibrationOptions) ScoreTransformation() ScoreTransformationType
- func (rcv *ScoreCalibrationOptions) Table() flatbuffers.Table
- func (rcv *ScoreCalibrationOptions) UnPack() *ScoreCalibrationOptionsT
- func (rcv *ScoreCalibrationOptions) UnPackTo(t *ScoreCalibrationOptionsT)
- type ScoreCalibrationOptionsT
- type ScoreThresholdingOptions
- func (rcv *ScoreThresholdingOptions) GlobalScoreThreshold() float32
- func (rcv *ScoreThresholdingOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ScoreThresholdingOptions) MutateGlobalScoreThreshold(n float32) bool
- func (rcv *ScoreThresholdingOptions) Table() flatbuffers.Table
- func (rcv *ScoreThresholdingOptions) UnPack() *ScoreThresholdingOptionsT
- func (rcv *ScoreThresholdingOptions) UnPackTo(t *ScoreThresholdingOptionsT)
- type ScoreThresholdingOptionsT
- type ScoreTransformationType
- type SentencePieceTokenizerOptions
- func (rcv *SentencePieceTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *SentencePieceTokenizerOptions) SentencePieceModel(obj *AssociatedFile, j int) bool
- func (rcv *SentencePieceTokenizerOptions) SentencePieceModelLength() int
- func (rcv *SentencePieceTokenizerOptions) Table() flatbuffers.Table
- func (rcv *SentencePieceTokenizerOptions) UnPack() *SentencePieceTokenizerOptionsT
- func (rcv *SentencePieceTokenizerOptions) UnPackTo(t *SentencePieceTokenizerOptionsT)
- func (rcv *SentencePieceTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
- func (rcv *SentencePieceTokenizerOptions) VocabFileLength() int
- type SentencePieceTokenizerOptionsT
- type Stats
- func (rcv *Stats) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *Stats) Max(j int) float32
- func (rcv *Stats) MaxLength() int
- func (rcv *Stats) Min(j int) float32
- func (rcv *Stats) MinLength() int
- func (rcv *Stats) MutateMax(j int, n float32) bool
- func (rcv *Stats) MutateMin(j int, n float32) bool
- func (rcv *Stats) Table() flatbuffers.Table
- func (rcv *Stats) UnPack() *StatsT
- func (rcv *Stats) UnPackTo(t *StatsT)
- type StatsT
- type SubGraphMetadata
- func (rcv *SubGraphMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
- func (rcv *SubGraphMetadata) AssociatedFilesLength() int
- func (rcv *SubGraphMetadata) Description() []byte
- func (rcv *SubGraphMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *SubGraphMetadata) InputProcessUnits(obj *ProcessUnit, j int) bool
- func (rcv *SubGraphMetadata) InputProcessUnitsLength() int
- func (rcv *SubGraphMetadata) InputTensorGroups(obj *TensorGroup, j int) bool
- func (rcv *SubGraphMetadata) InputTensorGroupsLength() int
- func (rcv *SubGraphMetadata) InputTensorMetadata(obj *TensorMetadata, j int) bool
- func (rcv *SubGraphMetadata) InputTensorMetadataLength() int
- func (rcv *SubGraphMetadata) Name() []byte
- func (rcv *SubGraphMetadata) OutputProcessUnits(obj *ProcessUnit, j int) bool
- func (rcv *SubGraphMetadata) OutputProcessUnitsLength() int
- func (rcv *SubGraphMetadata) OutputTensorGroups(obj *TensorGroup, j int) bool
- func (rcv *SubGraphMetadata) OutputTensorGroupsLength() int
- func (rcv *SubGraphMetadata) OutputTensorMetadata(obj *TensorMetadata, j int) bool
- func (rcv *SubGraphMetadata) OutputTensorMetadataLength() int
- func (rcv *SubGraphMetadata) Table() flatbuffers.Table
- func (rcv *SubGraphMetadata) UnPack() *SubGraphMetadataT
- func (rcv *SubGraphMetadata) UnPackTo(t *SubGraphMetadataT)
- type SubGraphMetadataT
- type TensorGroup
- func (rcv *TensorGroup) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *TensorGroup) Name() []byte
- func (rcv *TensorGroup) Table() flatbuffers.Table
- func (rcv *TensorGroup) TensorNames(j int) []byte
- func (rcv *TensorGroup) TensorNamesLength() int
- func (rcv *TensorGroup) UnPack() *TensorGroupT
- func (rcv *TensorGroup) UnPackTo(t *TensorGroupT)
- type TensorGroupT
- type TensorMetadata
- func (rcv *TensorMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
- func (rcv *TensorMetadata) AssociatedFilesLength() int
- func (rcv *TensorMetadata) Content(obj *Content) *Content
- func (rcv *TensorMetadata) Description() []byte
- func (rcv *TensorMetadata) DimensionNames(j int) []byte
- func (rcv *TensorMetadata) DimensionNamesLength() int
- func (rcv *TensorMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *TensorMetadata) Name() []byte
- func (rcv *TensorMetadata) ProcessUnits(obj *ProcessUnit, j int) bool
- func (rcv *TensorMetadata) ProcessUnitsLength() int
- func (rcv *TensorMetadata) Stats(obj *Stats) *Stats
- func (rcv *TensorMetadata) Table() flatbuffers.Table
- func (rcv *TensorMetadata) UnPack() *TensorMetadataT
- func (rcv *TensorMetadata) UnPackTo(t *TensorMetadataT)
- type TensorMetadataT
- type ValueRange
- func (rcv *ValueRange) Init(buf []byte, i flatbuffers.UOffsetT)
- func (rcv *ValueRange) Max() int32
- func (rcv *ValueRange) Min() int32
- func (rcv *ValueRange) MutateMax(n int32) bool
- func (rcv *ValueRange) MutateMin(n int32) bool
- func (rcv *ValueRange) Table() flatbuffers.Table
- func (rcv *ValueRange) UnPack() *ValueRangeT
- func (rcv *ValueRange) UnPackTo(t *ValueRangeT)
- type ValueRangeT
Constants ¶
This section is empty.
Variables ¶
View Source
var EnumNamesAssociatedFileType = map[AssociatedFileType]string{ AssociatedFileTypeUNKNOWN: "UNKNOWN", AssociatedFileTypeDESCRIPTIONS: "DESCRIPTIONS", AssociatedFileTypeTENSOR_AXIS_LABELS: "TENSOR_AXIS_LABELS", AssociatedFileTypeTENSOR_VALUE_LABELS: "TENSOR_VALUE_LABELS", AssociatedFileTypeTENSOR_AXIS_SCORE_CALIBRATION: "TENSOR_AXIS_SCORE_CALIBRATION", AssociatedFileTypeVOCABULARY: "VOCABULARY", AssociatedFileTypeSCANN_INDEX_FILE: "SCANN_INDEX_FILE", }
View Source
var EnumNamesBoundingBoxType = map[BoundingBoxType]string{ BoundingBoxTypeUNKNOWN: "UNKNOWN", BoundingBoxTypeBOUNDARIES: "BOUNDARIES", BoundingBoxTypeUPPER_LEFT: "UPPER_LEFT", BoundingBoxTypeCENTER: "CENTER", }
View Source
var EnumNamesColorSpaceType = map[ColorSpaceType]string{ ColorSpaceTypeUNKNOWN: "UNKNOWN", ColorSpaceTypeRGB: "RGB", ColorSpaceTypeGRAYSCALE: "GRAYSCALE", }
View Source
var EnumNamesContentProperties = map[ContentProperties]string{ ContentPropertiesNONE: "NONE", ContentPropertiesFeatureProperties: "FeatureProperties", ContentPropertiesImageProperties: "ImageProperties", ContentPropertiesBoundingBoxProperties: "BoundingBoxProperties", ContentPropertiesAudioProperties: "AudioProperties", }
View Source
var EnumNamesCoordinateType = map[CoordinateType]string{ CoordinateTypeRATIO: "RATIO", CoordinateTypePIXEL: "PIXEL", }
View Source
var EnumNamesProcessUnitOptions = map[ProcessUnitOptions]string{ ProcessUnitOptionsNONE: "NONE", ProcessUnitOptionsNormalizationOptions: "NormalizationOptions", ProcessUnitOptionsScoreCalibrationOptions: "ScoreCalibrationOptions", ProcessUnitOptionsScoreThresholdingOptions: "ScoreThresholdingOptions", ProcessUnitOptionsBertTokenizerOptions: "BertTokenizerOptions", ProcessUnitOptionsSentencePieceTokenizerOptions: "SentencePieceTokenizerOptions", ProcessUnitOptionsRegexTokenizerOptions: "RegexTokenizerOptions", }
View Source
var EnumNamesScoreTransformationType = map[ScoreTransformationType]string{ ScoreTransformationTypeIDENTITY: "IDENTITY", ScoreTransformationTypeLOG: "LOG", ScoreTransformationTypeINVERSE_LOGISTIC: "INVERSE_LOGISTIC", }
View Source
var EnumValuesAssociatedFileType = map[string]AssociatedFileType{ "UNKNOWN": AssociatedFileTypeUNKNOWN, "DESCRIPTIONS": AssociatedFileTypeDESCRIPTIONS, "TENSOR_AXIS_LABELS": AssociatedFileTypeTENSOR_AXIS_LABELS, "TENSOR_VALUE_LABELS": AssociatedFileTypeTENSOR_VALUE_LABELS, "TENSOR_AXIS_SCORE_CALIBRATION": AssociatedFileTypeTENSOR_AXIS_SCORE_CALIBRATION, "VOCABULARY": AssociatedFileTypeVOCABULARY, "SCANN_INDEX_FILE": AssociatedFileTypeSCANN_INDEX_FILE, }
View Source
var EnumValuesBoundingBoxType = map[string]BoundingBoxType{ "UNKNOWN": BoundingBoxTypeUNKNOWN, "BOUNDARIES": BoundingBoxTypeBOUNDARIES, "UPPER_LEFT": BoundingBoxTypeUPPER_LEFT, "CENTER": BoundingBoxTypeCENTER, }
View Source
var EnumValuesColorSpaceType = map[string]ColorSpaceType{ "UNKNOWN": ColorSpaceTypeUNKNOWN, "RGB": ColorSpaceTypeRGB, "GRAYSCALE": ColorSpaceTypeGRAYSCALE, }
View Source
var EnumValuesContentProperties = map[string]ContentProperties{ "NONE": ContentPropertiesNONE, "FeatureProperties": ContentPropertiesFeatureProperties, "ImageProperties": ContentPropertiesImageProperties, "BoundingBoxProperties": ContentPropertiesBoundingBoxProperties, "AudioProperties": ContentPropertiesAudioProperties, }
View Source
var EnumValuesCoordinateType = map[string]CoordinateType{ "RATIO": CoordinateTypeRATIO, "PIXEL": CoordinateTypePIXEL, }
View Source
var EnumValuesProcessUnitOptions = map[string]ProcessUnitOptions{ "NONE": ProcessUnitOptionsNONE, "NormalizationOptions": ProcessUnitOptionsNormalizationOptions, "ScoreCalibrationOptions": ProcessUnitOptionsScoreCalibrationOptions, "ScoreThresholdingOptions": ProcessUnitOptionsScoreThresholdingOptions, "BertTokenizerOptions": ProcessUnitOptionsBertTokenizerOptions, "SentencePieceTokenizerOptions": ProcessUnitOptionsSentencePieceTokenizerOptions, "RegexTokenizerOptions": ProcessUnitOptionsRegexTokenizerOptions, }
View Source
var EnumValuesScoreTransformationType = map[string]ScoreTransformationType{ "IDENTITY": ScoreTransformationTypeIDENTITY, "LOG": ScoreTransformationTypeLOG, "INVERSE_LOGISTIC": ScoreTransformationTypeINVERSE_LOGISTIC, }
Functions ¶
func AssociatedFileAddDescription ¶
func AssociatedFileAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
func AssociatedFileAddLocale ¶
func AssociatedFileAddLocale(builder *flatbuffers.Builder, locale flatbuffers.UOffsetT)
func AssociatedFileAddName ¶
func AssociatedFileAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func AssociatedFileAddType ¶
func AssociatedFileAddType(builder *flatbuffers.Builder, type_ AssociatedFileType)
func AssociatedFileEnd ¶
func AssociatedFileEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func AssociatedFileStart ¶
func AssociatedFileStart(builder *flatbuffers.Builder)
func AudioPropertiesAddChannels ¶
func AudioPropertiesAddChannels(builder *flatbuffers.Builder, channels uint32)
func AudioPropertiesAddSampleRate ¶
func AudioPropertiesAddSampleRate(builder *flatbuffers.Builder, sampleRate uint32)
func AudioPropertiesEnd ¶
func AudioPropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func AudioPropertiesStart ¶
func AudioPropertiesStart(builder *flatbuffers.Builder)
func BertTokenizerOptionsAddVocabFile ¶
func BertTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
func BertTokenizerOptionsEnd ¶
func BertTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func BertTokenizerOptionsStart ¶
func BertTokenizerOptionsStart(builder *flatbuffers.Builder)
func BertTokenizerOptionsStartVocabFileVector ¶
func BertTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func BoundingBoxPropertiesAddCoordinateType ¶
func BoundingBoxPropertiesAddCoordinateType(builder *flatbuffers.Builder, coordinateType CoordinateType)
func BoundingBoxPropertiesAddIndex ¶
func BoundingBoxPropertiesAddIndex(builder *flatbuffers.Builder, index flatbuffers.UOffsetT)
func BoundingBoxPropertiesAddType ¶
func BoundingBoxPropertiesAddType(builder *flatbuffers.Builder, type_ BoundingBoxType)
func BoundingBoxPropertiesEnd ¶
func BoundingBoxPropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func BoundingBoxPropertiesStart ¶
func BoundingBoxPropertiesStart(builder *flatbuffers.Builder)
func BoundingBoxPropertiesStartIndexVector ¶
func BoundingBoxPropertiesStartIndexVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ContentAddContentProperties ¶
func ContentAddContentProperties(builder *flatbuffers.Builder, contentProperties flatbuffers.UOffsetT)
func ContentAddContentPropertiesType ¶
func ContentAddContentPropertiesType(builder *flatbuffers.Builder, contentPropertiesType ContentProperties)
func ContentAddRange ¶
func ContentAddRange(builder *flatbuffers.Builder, range_ flatbuffers.UOffsetT)
func ContentEnd ¶
func ContentEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ContentStart ¶
func ContentStart(builder *flatbuffers.Builder)
func FeaturePropertiesEnd ¶
func FeaturePropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func FeaturePropertiesStart ¶
func FeaturePropertiesStart(builder *flatbuffers.Builder)
func ImagePropertiesAddColorSpace ¶
func ImagePropertiesAddColorSpace(builder *flatbuffers.Builder, colorSpace ColorSpaceType)
func ImagePropertiesAddDefaultSize ¶
func ImagePropertiesAddDefaultSize(builder *flatbuffers.Builder, defaultSize flatbuffers.UOffsetT)
func ImagePropertiesEnd ¶
func ImagePropertiesEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ImagePropertiesStart ¶
func ImagePropertiesStart(builder *flatbuffers.Builder)
func ImageSizeAddHeight ¶
func ImageSizeAddHeight(builder *flatbuffers.Builder, height uint32)
func ImageSizeAddWidth ¶
func ImageSizeAddWidth(builder *flatbuffers.Builder, width uint32)
func ImageSizeEnd ¶
func ImageSizeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ImageSizeStart ¶
func ImageSizeStart(builder *flatbuffers.Builder)
func ModelMetadataAddAssociatedFiles ¶
func ModelMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
func ModelMetadataAddAuthor ¶
func ModelMetadataAddAuthor(builder *flatbuffers.Builder, author flatbuffers.UOffsetT)
func ModelMetadataAddDescription ¶
func ModelMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
func ModelMetadataAddLicense ¶
func ModelMetadataAddLicense(builder *flatbuffers.Builder, license flatbuffers.UOffsetT)
func ModelMetadataAddMinParserVersion ¶
func ModelMetadataAddMinParserVersion(builder *flatbuffers.Builder, minParserVersion flatbuffers.UOffsetT)
func ModelMetadataAddName ¶
func ModelMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func ModelMetadataAddSubgraphMetadata ¶
func ModelMetadataAddSubgraphMetadata(builder *flatbuffers.Builder, subgraphMetadata flatbuffers.UOffsetT)
func ModelMetadataAddVersion ¶
func ModelMetadataAddVersion(builder *flatbuffers.Builder, version flatbuffers.UOffsetT)
func ModelMetadataEnd ¶
func ModelMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ModelMetadataStart ¶
func ModelMetadataStart(builder *flatbuffers.Builder)
func ModelMetadataStartAssociatedFilesVector ¶
func ModelMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ModelMetadataStartSubgraphMetadataVector ¶
func ModelMetadataStartSubgraphMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func NormalizationOptionsAddMean ¶
func NormalizationOptionsAddMean(builder *flatbuffers.Builder, mean flatbuffers.UOffsetT)
func NormalizationOptionsAddStd ¶
func NormalizationOptionsAddStd(builder *flatbuffers.Builder, std flatbuffers.UOffsetT)
func NormalizationOptionsEnd ¶
func NormalizationOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func NormalizationOptionsStart ¶
func NormalizationOptionsStart(builder *flatbuffers.Builder)
func NormalizationOptionsStartMeanVector ¶
func NormalizationOptionsStartMeanVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func NormalizationOptionsStartStdVector ¶
func NormalizationOptionsStartStdVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ProcessUnitAddOptions ¶
func ProcessUnitAddOptions(builder *flatbuffers.Builder, options flatbuffers.UOffsetT)
func ProcessUnitAddOptionsType ¶
func ProcessUnitAddOptionsType(builder *flatbuffers.Builder, optionsType ProcessUnitOptions)
func ProcessUnitEnd ¶
func ProcessUnitEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ProcessUnitStart ¶
func ProcessUnitStart(builder *flatbuffers.Builder)
func RegexTokenizerOptionsAddDelimRegexPattern ¶
func RegexTokenizerOptionsAddDelimRegexPattern(builder *flatbuffers.Builder, delimRegexPattern flatbuffers.UOffsetT)
func RegexTokenizerOptionsAddVocabFile ¶
func RegexTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
func RegexTokenizerOptionsEnd ¶
func RegexTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func RegexTokenizerOptionsStart ¶
func RegexTokenizerOptionsStart(builder *flatbuffers.Builder)
func RegexTokenizerOptionsStartVocabFileVector ¶
func RegexTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ScoreCalibrationOptionsAddDefaultScore ¶
func ScoreCalibrationOptionsAddDefaultScore(builder *flatbuffers.Builder, defaultScore float32)
func ScoreCalibrationOptionsAddScoreTransformation ¶
func ScoreCalibrationOptionsAddScoreTransformation(builder *flatbuffers.Builder, scoreTransformation ScoreTransformationType)
func ScoreCalibrationOptionsEnd ¶
func ScoreCalibrationOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ScoreCalibrationOptionsStart ¶
func ScoreCalibrationOptionsStart(builder *flatbuffers.Builder)
func ScoreThresholdingOptionsAddGlobalScoreThreshold ¶
func ScoreThresholdingOptionsAddGlobalScoreThreshold(builder *flatbuffers.Builder, globalScoreThreshold float32)
func ScoreThresholdingOptionsEnd ¶
func ScoreThresholdingOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ScoreThresholdingOptionsStart ¶
func ScoreThresholdingOptionsStart(builder *flatbuffers.Builder)
func SentencePieceTokenizerOptionsAddSentencePieceModel ¶
func SentencePieceTokenizerOptionsAddSentencePieceModel(builder *flatbuffers.Builder, sentencePieceModel flatbuffers.UOffsetT)
func SentencePieceTokenizerOptionsAddVocabFile ¶
func SentencePieceTokenizerOptionsAddVocabFile(builder *flatbuffers.Builder, vocabFile flatbuffers.UOffsetT)
func SentencePieceTokenizerOptionsEnd ¶
func SentencePieceTokenizerOptionsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func SentencePieceTokenizerOptionsStart ¶
func SentencePieceTokenizerOptionsStart(builder *flatbuffers.Builder)
func SentencePieceTokenizerOptionsStartSentencePieceModelVector ¶
func SentencePieceTokenizerOptionsStartSentencePieceModelVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SentencePieceTokenizerOptionsStartVocabFileVector ¶
func SentencePieceTokenizerOptionsStartVocabFileVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func StatsAddMax ¶
func StatsAddMax(builder *flatbuffers.Builder, max flatbuffers.UOffsetT)
func StatsAddMin ¶
func StatsAddMin(builder *flatbuffers.Builder, min flatbuffers.UOffsetT)
func StatsEnd ¶
func StatsEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func StatsStart ¶
func StatsStart(builder *flatbuffers.Builder)
func StatsStartMaxVector ¶
func StatsStartMaxVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func StatsStartMinVector ¶
func StatsStartMinVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataAddAssociatedFiles ¶
func SubGraphMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
func SubGraphMetadataAddDescription ¶
func SubGraphMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
func SubGraphMetadataAddInputProcessUnits ¶
func SubGraphMetadataAddInputProcessUnits(builder *flatbuffers.Builder, inputProcessUnits flatbuffers.UOffsetT)
func SubGraphMetadataAddInputTensorGroups ¶
func SubGraphMetadataAddInputTensorGroups(builder *flatbuffers.Builder, inputTensorGroups flatbuffers.UOffsetT)
func SubGraphMetadataAddInputTensorMetadata ¶
func SubGraphMetadataAddInputTensorMetadata(builder *flatbuffers.Builder, inputTensorMetadata flatbuffers.UOffsetT)
func SubGraphMetadataAddName ¶
func SubGraphMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func SubGraphMetadataAddOutputProcessUnits ¶
func SubGraphMetadataAddOutputProcessUnits(builder *flatbuffers.Builder, outputProcessUnits flatbuffers.UOffsetT)
func SubGraphMetadataAddOutputTensorGroups ¶
func SubGraphMetadataAddOutputTensorGroups(builder *flatbuffers.Builder, outputTensorGroups flatbuffers.UOffsetT)
func SubGraphMetadataAddOutputTensorMetadata ¶
func SubGraphMetadataAddOutputTensorMetadata(builder *flatbuffers.Builder, outputTensorMetadata flatbuffers.UOffsetT)
func SubGraphMetadataEnd ¶
func SubGraphMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func SubGraphMetadataStart ¶
func SubGraphMetadataStart(builder *flatbuffers.Builder)
func SubGraphMetadataStartAssociatedFilesVector ¶
func SubGraphMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartInputProcessUnitsVector ¶
func SubGraphMetadataStartInputProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartInputTensorGroupsVector ¶
func SubGraphMetadataStartInputTensorGroupsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartInputTensorMetadataVector ¶
func SubGraphMetadataStartInputTensorMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartOutputProcessUnitsVector ¶
func SubGraphMetadataStartOutputProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartOutputTensorGroupsVector ¶
func SubGraphMetadataStartOutputTensorGroupsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func SubGraphMetadataStartOutputTensorMetadataVector ¶
func SubGraphMetadataStartOutputTensorMetadataVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TensorGroupAddName ¶
func TensorGroupAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func TensorGroupAddTensorNames ¶
func TensorGroupAddTensorNames(builder *flatbuffers.Builder, tensorNames flatbuffers.UOffsetT)
func TensorGroupEnd ¶
func TensorGroupEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TensorGroupStart ¶
func TensorGroupStart(builder *flatbuffers.Builder)
func TensorGroupStartTensorNamesVector ¶
func TensorGroupStartTensorNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TensorMetadataAddAssociatedFiles ¶
func TensorMetadataAddAssociatedFiles(builder *flatbuffers.Builder, associatedFiles flatbuffers.UOffsetT)
func TensorMetadataAddContent ¶
func TensorMetadataAddContent(builder *flatbuffers.Builder, content flatbuffers.UOffsetT)
func TensorMetadataAddDescription ¶
func TensorMetadataAddDescription(builder *flatbuffers.Builder, description flatbuffers.UOffsetT)
func TensorMetadataAddDimensionNames ¶
func TensorMetadataAddDimensionNames(builder *flatbuffers.Builder, dimensionNames flatbuffers.UOffsetT)
func TensorMetadataAddName ¶
func TensorMetadataAddName(builder *flatbuffers.Builder, name flatbuffers.UOffsetT)
func TensorMetadataAddProcessUnits ¶
func TensorMetadataAddProcessUnits(builder *flatbuffers.Builder, processUnits flatbuffers.UOffsetT)
func TensorMetadataAddStats ¶
func TensorMetadataAddStats(builder *flatbuffers.Builder, stats flatbuffers.UOffsetT)
func TensorMetadataEnd ¶
func TensorMetadataEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func TensorMetadataStart ¶
func TensorMetadataStart(builder *flatbuffers.Builder)
func TensorMetadataStartAssociatedFilesVector ¶
func TensorMetadataStartAssociatedFilesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TensorMetadataStartDimensionNamesVector ¶
func TensorMetadataStartDimensionNamesVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func TensorMetadataStartProcessUnitsVector ¶
func TensorMetadataStartProcessUnitsVector(builder *flatbuffers.Builder, numElems int) flatbuffers.UOffsetT
func ValueRangeAddMax ¶
func ValueRangeAddMax(builder *flatbuffers.Builder, max int32)
func ValueRangeAddMin ¶
func ValueRangeAddMin(builder *flatbuffers.Builder, min int32)
func ValueRangeEnd ¶
func ValueRangeEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT
func ValueRangeStart ¶
func ValueRangeStart(builder *flatbuffers.Builder)
Types ¶
type AssociatedFile ¶
type AssociatedFile struct {
// contains filtered or unexported fields
}
func GetRootAsAssociatedFile ¶
func GetRootAsAssociatedFile(buf []byte, offset flatbuffers.UOffsetT) *AssociatedFile
func GetSizePrefixedRootAsAssociatedFile ¶
func GetSizePrefixedRootAsAssociatedFile(buf []byte, offset flatbuffers.UOffsetT) *AssociatedFile
func (*AssociatedFile) Description ¶
func (rcv *AssociatedFile) Description() []byte
func (*AssociatedFile) Init ¶
func (rcv *AssociatedFile) Init(buf []byte, i flatbuffers.UOffsetT)
func (*AssociatedFile) Locale ¶
func (rcv *AssociatedFile) Locale() []byte
func (*AssociatedFile) MutateType ¶
func (rcv *AssociatedFile) MutateType(n AssociatedFileType) bool
func (*AssociatedFile) Name ¶
func (rcv *AssociatedFile) Name() []byte
func (*AssociatedFile) Table ¶
func (rcv *AssociatedFile) Table() flatbuffers.Table
func (*AssociatedFile) Type ¶
func (rcv *AssociatedFile) Type() AssociatedFileType
func (*AssociatedFile) UnPack ¶
func (rcv *AssociatedFile) UnPack() *AssociatedFileT
func (*AssociatedFile) UnPackTo ¶
func (rcv *AssociatedFile) UnPackTo(t *AssociatedFileT)
type AssociatedFileT ¶
type AssociatedFileT struct { Name string Description string Type AssociatedFileType Locale string }
func (*AssociatedFileT) Pack ¶
func (t *AssociatedFileT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type AssociatedFileType ¶
type AssociatedFileType int8
const ( AssociatedFileTypeUNKNOWN AssociatedFileType = 0 AssociatedFileTypeDESCRIPTIONS AssociatedFileType = 1 AssociatedFileTypeTENSOR_AXIS_LABELS AssociatedFileType = 2 AssociatedFileTypeTENSOR_VALUE_LABELS AssociatedFileType = 3 AssociatedFileTypeTENSOR_AXIS_SCORE_CALIBRATION AssociatedFileType = 4 AssociatedFileTypeVOCABULARY AssociatedFileType = 5 AssociatedFileTypeSCANN_INDEX_FILE AssociatedFileType = 6 )
func (AssociatedFileType) String ¶
func (v AssociatedFileType) String() string
type AudioProperties ¶
type AudioProperties struct {
// contains filtered or unexported fields
}
func GetRootAsAudioProperties ¶
func GetRootAsAudioProperties(buf []byte, offset flatbuffers.UOffsetT) *AudioProperties
func GetSizePrefixedRootAsAudioProperties ¶
func GetSizePrefixedRootAsAudioProperties(buf []byte, offset flatbuffers.UOffsetT) *AudioProperties
func (*AudioProperties) Channels ¶
func (rcv *AudioProperties) Channels() uint32
func (*AudioProperties) Init ¶
func (rcv *AudioProperties) Init(buf []byte, i flatbuffers.UOffsetT)
func (*AudioProperties) MutateChannels ¶
func (rcv *AudioProperties) MutateChannels(n uint32) bool
func (*AudioProperties) MutateSampleRate ¶
func (rcv *AudioProperties) MutateSampleRate(n uint32) bool
func (*AudioProperties) SampleRate ¶
func (rcv *AudioProperties) SampleRate() uint32
func (*AudioProperties) Table ¶
func (rcv *AudioProperties) Table() flatbuffers.Table
func (*AudioProperties) UnPack ¶
func (rcv *AudioProperties) UnPack() *AudioPropertiesT
func (*AudioProperties) UnPackTo ¶
func (rcv *AudioProperties) UnPackTo(t *AudioPropertiesT)
type AudioPropertiesT ¶
func (*AudioPropertiesT) Pack ¶
func (t *AudioPropertiesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type BertTokenizerOptions ¶
type BertTokenizerOptions struct {
// contains filtered or unexported fields
}
func GetRootAsBertTokenizerOptions ¶
func GetRootAsBertTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *BertTokenizerOptions
func GetSizePrefixedRootAsBertTokenizerOptions ¶
func GetSizePrefixedRootAsBertTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *BertTokenizerOptions
func (*BertTokenizerOptions) Init ¶
func (rcv *BertTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*BertTokenizerOptions) Table ¶
func (rcv *BertTokenizerOptions) Table() flatbuffers.Table
func (*BertTokenizerOptions) UnPack ¶
func (rcv *BertTokenizerOptions) UnPack() *BertTokenizerOptionsT
func (*BertTokenizerOptions) UnPackTo ¶
func (rcv *BertTokenizerOptions) UnPackTo(t *BertTokenizerOptionsT)
func (*BertTokenizerOptions) VocabFile ¶
func (rcv *BertTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
func (*BertTokenizerOptions) VocabFileLength ¶
func (rcv *BertTokenizerOptions) VocabFileLength() int
type BertTokenizerOptionsT ¶
type BertTokenizerOptionsT struct {
VocabFile []*AssociatedFileT
}
func (*BertTokenizerOptionsT) Pack ¶
func (t *BertTokenizerOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type BoundingBoxProperties ¶
type BoundingBoxProperties struct {
// contains filtered or unexported fields
}
func GetRootAsBoundingBoxProperties ¶
func GetRootAsBoundingBoxProperties(buf []byte, offset flatbuffers.UOffsetT) *BoundingBoxProperties
func GetSizePrefixedRootAsBoundingBoxProperties ¶
func GetSizePrefixedRootAsBoundingBoxProperties(buf []byte, offset flatbuffers.UOffsetT) *BoundingBoxProperties
func (*BoundingBoxProperties) CoordinateType ¶
func (rcv *BoundingBoxProperties) CoordinateType() CoordinateType
func (*BoundingBoxProperties) Index ¶
func (rcv *BoundingBoxProperties) Index(j int) uint32
func (*BoundingBoxProperties) IndexLength ¶
func (rcv *BoundingBoxProperties) IndexLength() int
func (*BoundingBoxProperties) Init ¶
func (rcv *BoundingBoxProperties) Init(buf []byte, i flatbuffers.UOffsetT)
func (*BoundingBoxProperties) MutateCoordinateType ¶
func (rcv *BoundingBoxProperties) MutateCoordinateType(n CoordinateType) bool
func (*BoundingBoxProperties) MutateIndex ¶
func (rcv *BoundingBoxProperties) MutateIndex(j int, n uint32) bool
func (*BoundingBoxProperties) MutateType ¶
func (rcv *BoundingBoxProperties) MutateType(n BoundingBoxType) bool
func (*BoundingBoxProperties) Table ¶
func (rcv *BoundingBoxProperties) Table() flatbuffers.Table
func (*BoundingBoxProperties) Type ¶
func (rcv *BoundingBoxProperties) Type() BoundingBoxType
func (*BoundingBoxProperties) UnPack ¶
func (rcv *BoundingBoxProperties) UnPack() *BoundingBoxPropertiesT
func (*BoundingBoxProperties) UnPackTo ¶
func (rcv *BoundingBoxProperties) UnPackTo(t *BoundingBoxPropertiesT)
type BoundingBoxPropertiesT ¶
type BoundingBoxPropertiesT struct { Index []uint32 Type BoundingBoxType CoordinateType CoordinateType }
func (*BoundingBoxPropertiesT) Pack ¶
func (t *BoundingBoxPropertiesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type BoundingBoxType ¶
type BoundingBoxType int8
const ( BoundingBoxTypeUNKNOWN BoundingBoxType = 0 BoundingBoxTypeBOUNDARIES BoundingBoxType = 1 BoundingBoxTypeUPPER_LEFT BoundingBoxType = 2 BoundingBoxTypeCENTER BoundingBoxType = 3 )
func (BoundingBoxType) String ¶
func (v BoundingBoxType) String() string
type ColorSpaceType ¶
type ColorSpaceType int8
const ( ColorSpaceTypeUNKNOWN ColorSpaceType = 0 ColorSpaceTypeRGB ColorSpaceType = 1 ColorSpaceTypeGRAYSCALE ColorSpaceType = 2 )
func (ColorSpaceType) String ¶
func (v ColorSpaceType) String() string
type Content ¶
type Content struct {
// contains filtered or unexported fields
}
func GetRootAsContent ¶
func GetRootAsContent(buf []byte, offset flatbuffers.UOffsetT) *Content
func GetSizePrefixedRootAsContent ¶
func GetSizePrefixedRootAsContent(buf []byte, offset flatbuffers.UOffsetT) *Content
func (*Content) ContentProperties ¶
func (rcv *Content) ContentProperties(obj *flatbuffers.Table) bool
func (*Content) ContentPropertiesType ¶
func (rcv *Content) ContentPropertiesType() ContentProperties
func (*Content) MutateContentPropertiesType ¶
func (rcv *Content) MutateContentPropertiesType(n ContentProperties) bool
func (*Content) Range ¶
func (rcv *Content) Range(obj *ValueRange) *ValueRange
func (*Content) Table ¶
func (rcv *Content) Table() flatbuffers.Table
type ContentProperties ¶
type ContentProperties byte
const ( ContentPropertiesNONE ContentProperties = 0 ContentPropertiesFeatureProperties ContentProperties = 1 ContentPropertiesImageProperties ContentProperties = 2 ContentPropertiesBoundingBoxProperties ContentProperties = 3 ContentPropertiesAudioProperties ContentProperties = 4 )
func (ContentProperties) String ¶
func (v ContentProperties) String() string
func (ContentProperties) UnPack ¶
func (rcv ContentProperties) UnPack(table flatbuffers.Table) *ContentPropertiesT
type ContentPropertiesT ¶
type ContentPropertiesT struct { Type ContentProperties Value interface{} }
func (*ContentPropertiesT) Pack ¶
func (t *ContentPropertiesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ContentT ¶
type ContentT struct { ContentProperties *ContentPropertiesT Range *ValueRangeT }
func (*ContentT) Pack ¶
func (t *ContentT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type CoordinateType ¶
type CoordinateType int8
const ( CoordinateTypeRATIO CoordinateType = 0 CoordinateTypePIXEL CoordinateType = 1 )
func (CoordinateType) String ¶
func (v CoordinateType) String() string
type FeatureProperties ¶
type FeatureProperties struct {
// contains filtered or unexported fields
}
func GetRootAsFeatureProperties ¶
func GetRootAsFeatureProperties(buf []byte, offset flatbuffers.UOffsetT) *FeatureProperties
func GetSizePrefixedRootAsFeatureProperties ¶
func GetSizePrefixedRootAsFeatureProperties(buf []byte, offset flatbuffers.UOffsetT) *FeatureProperties
func (*FeatureProperties) Init ¶
func (rcv *FeatureProperties) Init(buf []byte, i flatbuffers.UOffsetT)
func (*FeatureProperties) Table ¶
func (rcv *FeatureProperties) Table() flatbuffers.Table
func (*FeatureProperties) UnPack ¶
func (rcv *FeatureProperties) UnPack() *FeaturePropertiesT
func (*FeatureProperties) UnPackTo ¶
func (rcv *FeatureProperties) UnPackTo(t *FeaturePropertiesT)
type FeaturePropertiesT ¶
type FeaturePropertiesT struct { }
func (*FeaturePropertiesT) Pack ¶
func (t *FeaturePropertiesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ImageProperties ¶
type ImageProperties struct {
// contains filtered or unexported fields
}
func GetRootAsImageProperties ¶
func GetRootAsImageProperties(buf []byte, offset flatbuffers.UOffsetT) *ImageProperties
func GetSizePrefixedRootAsImageProperties ¶
func GetSizePrefixedRootAsImageProperties(buf []byte, offset flatbuffers.UOffsetT) *ImageProperties
func (*ImageProperties) ColorSpace ¶
func (rcv *ImageProperties) ColorSpace() ColorSpaceType
func (*ImageProperties) DefaultSize ¶
func (rcv *ImageProperties) DefaultSize(obj *ImageSize) *ImageSize
func (*ImageProperties) Init ¶
func (rcv *ImageProperties) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ImageProperties) MutateColorSpace ¶
func (rcv *ImageProperties) MutateColorSpace(n ColorSpaceType) bool
func (*ImageProperties) Table ¶
func (rcv *ImageProperties) Table() flatbuffers.Table
func (*ImageProperties) UnPack ¶
func (rcv *ImageProperties) UnPack() *ImagePropertiesT
func (*ImageProperties) UnPackTo ¶
func (rcv *ImageProperties) UnPackTo(t *ImagePropertiesT)
type ImagePropertiesT ¶
type ImagePropertiesT struct { ColorSpace ColorSpaceType DefaultSize *ImageSizeT }
func (*ImagePropertiesT) Pack ¶
func (t *ImagePropertiesT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ImageSize ¶
type ImageSize struct {
// contains filtered or unexported fields
}
func GetRootAsImageSize ¶
func GetRootAsImageSize(buf []byte, offset flatbuffers.UOffsetT) *ImageSize
func GetSizePrefixedRootAsImageSize ¶
func GetSizePrefixedRootAsImageSize(buf []byte, offset flatbuffers.UOffsetT) *ImageSize
func (*ImageSize) MutateHeight ¶
func (*ImageSize) MutateWidth ¶
func (*ImageSize) Table ¶
func (rcv *ImageSize) Table() flatbuffers.Table
func (*ImageSize) UnPack ¶
func (rcv *ImageSize) UnPack() *ImageSizeT
func (*ImageSize) UnPackTo ¶
func (rcv *ImageSize) UnPackTo(t *ImageSizeT)
type ImageSizeT ¶
func (*ImageSizeT) Pack ¶
func (t *ImageSizeT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ModelMetadata ¶
type ModelMetadata struct {
// contains filtered or unexported fields
}
func GetRootAsModelMetadata ¶
func GetRootAsModelMetadata(buf []byte, offset flatbuffers.UOffsetT) *ModelMetadata
func GetSizePrefixedRootAsModelMetadata ¶
func GetSizePrefixedRootAsModelMetadata(buf []byte, offset flatbuffers.UOffsetT) *ModelMetadata
func (*ModelMetadata) AssociatedFiles ¶
func (rcv *ModelMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
func (*ModelMetadata) AssociatedFilesLength ¶
func (rcv *ModelMetadata) AssociatedFilesLength() int
func (*ModelMetadata) Author ¶
func (rcv *ModelMetadata) Author() []byte
func (*ModelMetadata) Description ¶
func (rcv *ModelMetadata) Description() []byte
func (*ModelMetadata) Init ¶
func (rcv *ModelMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ModelMetadata) License ¶
func (rcv *ModelMetadata) License() []byte
func (*ModelMetadata) MinParserVersion ¶
func (rcv *ModelMetadata) MinParserVersion() []byte
func (*ModelMetadata) Name ¶
func (rcv *ModelMetadata) Name() []byte
func (*ModelMetadata) SubgraphMetadata ¶
func (rcv *ModelMetadata) SubgraphMetadata(obj *SubGraphMetadata, j int) bool
func (*ModelMetadata) SubgraphMetadataLength ¶
func (rcv *ModelMetadata) SubgraphMetadataLength() int
func (*ModelMetadata) Table ¶
func (rcv *ModelMetadata) Table() flatbuffers.Table
func (*ModelMetadata) UnPack ¶
func (rcv *ModelMetadata) UnPack() *ModelMetadataT
func (*ModelMetadata) UnPackTo ¶
func (rcv *ModelMetadata) UnPackTo(t *ModelMetadataT)
func (*ModelMetadata) Version ¶
func (rcv *ModelMetadata) Version() []byte
type ModelMetadataT ¶
type ModelMetadataT struct { Name string Description string Version string SubgraphMetadata []*SubGraphMetadataT Author string License string AssociatedFiles []*AssociatedFileT MinParserVersion string }
func (*ModelMetadataT) Pack ¶
func (t *ModelMetadataT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type NormalizationOptions ¶
type NormalizationOptions struct {
// contains filtered or unexported fields
}
func GetRootAsNormalizationOptions ¶
func GetRootAsNormalizationOptions(buf []byte, offset flatbuffers.UOffsetT) *NormalizationOptions
func GetSizePrefixedRootAsNormalizationOptions ¶
func GetSizePrefixedRootAsNormalizationOptions(buf []byte, offset flatbuffers.UOffsetT) *NormalizationOptions
func (*NormalizationOptions) Init ¶
func (rcv *NormalizationOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*NormalizationOptions) Mean ¶
func (rcv *NormalizationOptions) Mean(j int) float32
func (*NormalizationOptions) MeanLength ¶
func (rcv *NormalizationOptions) MeanLength() int
func (*NormalizationOptions) MutateMean ¶
func (rcv *NormalizationOptions) MutateMean(j int, n float32) bool
func (*NormalizationOptions) MutateStd ¶
func (rcv *NormalizationOptions) MutateStd(j int, n float32) bool
func (*NormalizationOptions) Std ¶
func (rcv *NormalizationOptions) Std(j int) float32
func (*NormalizationOptions) StdLength ¶
func (rcv *NormalizationOptions) StdLength() int
func (*NormalizationOptions) Table ¶
func (rcv *NormalizationOptions) Table() flatbuffers.Table
func (*NormalizationOptions) UnPack ¶
func (rcv *NormalizationOptions) UnPack() *NormalizationOptionsT
func (*NormalizationOptions) UnPackTo ¶
func (rcv *NormalizationOptions) UnPackTo(t *NormalizationOptionsT)
type NormalizationOptionsT ¶
func (*NormalizationOptionsT) Pack ¶
func (t *NormalizationOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ProcessUnit ¶
type ProcessUnit struct {
// contains filtered or unexported fields
}
func GetRootAsProcessUnit ¶
func GetRootAsProcessUnit(buf []byte, offset flatbuffers.UOffsetT) *ProcessUnit
func GetSizePrefixedRootAsProcessUnit ¶
func GetSizePrefixedRootAsProcessUnit(buf []byte, offset flatbuffers.UOffsetT) *ProcessUnit
func (*ProcessUnit) Init ¶
func (rcv *ProcessUnit) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ProcessUnit) MutateOptionsType ¶
func (rcv *ProcessUnit) MutateOptionsType(n ProcessUnitOptions) bool
func (*ProcessUnit) Options ¶
func (rcv *ProcessUnit) Options(obj *flatbuffers.Table) bool
func (*ProcessUnit) OptionsType ¶
func (rcv *ProcessUnit) OptionsType() ProcessUnitOptions
func (*ProcessUnit) Table ¶
func (rcv *ProcessUnit) Table() flatbuffers.Table
func (*ProcessUnit) UnPack ¶
func (rcv *ProcessUnit) UnPack() *ProcessUnitT
func (*ProcessUnit) UnPackTo ¶
func (rcv *ProcessUnit) UnPackTo(t *ProcessUnitT)
type ProcessUnitOptions ¶
type ProcessUnitOptions byte
const ( ProcessUnitOptionsNONE ProcessUnitOptions = 0 ProcessUnitOptionsNormalizationOptions ProcessUnitOptions = 1 ProcessUnitOptionsScoreCalibrationOptions ProcessUnitOptions = 2 ProcessUnitOptionsScoreThresholdingOptions ProcessUnitOptions = 3 ProcessUnitOptionsBertTokenizerOptions ProcessUnitOptions = 4 ProcessUnitOptionsSentencePieceTokenizerOptions ProcessUnitOptions = 5 ProcessUnitOptionsRegexTokenizerOptions ProcessUnitOptions = 6 )
func (ProcessUnitOptions) String ¶
func (v ProcessUnitOptions) String() string
func (ProcessUnitOptions) UnPack ¶
func (rcv ProcessUnitOptions) UnPack(table flatbuffers.Table) *ProcessUnitOptionsT
type ProcessUnitOptionsT ¶
type ProcessUnitOptionsT struct { Type ProcessUnitOptions Value interface{} }
func (*ProcessUnitOptionsT) Pack ¶
func (t *ProcessUnitOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ProcessUnitT ¶
type ProcessUnitT struct {
Options *ProcessUnitOptionsT
}
func (*ProcessUnitT) Pack ¶
func (t *ProcessUnitT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type RegexTokenizerOptions ¶
type RegexTokenizerOptions struct {
// contains filtered or unexported fields
}
func GetRootAsRegexTokenizerOptions ¶
func GetRootAsRegexTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *RegexTokenizerOptions
func GetSizePrefixedRootAsRegexTokenizerOptions ¶
func GetSizePrefixedRootAsRegexTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *RegexTokenizerOptions
func (*RegexTokenizerOptions) DelimRegexPattern ¶
func (rcv *RegexTokenizerOptions) DelimRegexPattern() []byte
func (*RegexTokenizerOptions) Init ¶
func (rcv *RegexTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*RegexTokenizerOptions) Table ¶
func (rcv *RegexTokenizerOptions) Table() flatbuffers.Table
func (*RegexTokenizerOptions) UnPack ¶
func (rcv *RegexTokenizerOptions) UnPack() *RegexTokenizerOptionsT
func (*RegexTokenizerOptions) UnPackTo ¶
func (rcv *RegexTokenizerOptions) UnPackTo(t *RegexTokenizerOptionsT)
func (*RegexTokenizerOptions) VocabFile ¶
func (rcv *RegexTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
func (*RegexTokenizerOptions) VocabFileLength ¶
func (rcv *RegexTokenizerOptions) VocabFileLength() int
type RegexTokenizerOptionsT ¶
type RegexTokenizerOptionsT struct { DelimRegexPattern string VocabFile []*AssociatedFileT }
func (*RegexTokenizerOptionsT) Pack ¶
func (t *RegexTokenizerOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ScoreCalibrationOptions ¶
type ScoreCalibrationOptions struct {
// contains filtered or unexported fields
}
func GetRootAsScoreCalibrationOptions ¶
func GetRootAsScoreCalibrationOptions(buf []byte, offset flatbuffers.UOffsetT) *ScoreCalibrationOptions
func GetSizePrefixedRootAsScoreCalibrationOptions ¶
func GetSizePrefixedRootAsScoreCalibrationOptions(buf []byte, offset flatbuffers.UOffsetT) *ScoreCalibrationOptions
func (*ScoreCalibrationOptions) DefaultScore ¶
func (rcv *ScoreCalibrationOptions) DefaultScore() float32
func (*ScoreCalibrationOptions) Init ¶
func (rcv *ScoreCalibrationOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ScoreCalibrationOptions) MutateDefaultScore ¶
func (rcv *ScoreCalibrationOptions) MutateDefaultScore(n float32) bool
func (*ScoreCalibrationOptions) MutateScoreTransformation ¶
func (rcv *ScoreCalibrationOptions) MutateScoreTransformation(n ScoreTransformationType) bool
func (*ScoreCalibrationOptions) ScoreTransformation ¶
func (rcv *ScoreCalibrationOptions) ScoreTransformation() ScoreTransformationType
func (*ScoreCalibrationOptions) Table ¶
func (rcv *ScoreCalibrationOptions) Table() flatbuffers.Table
func (*ScoreCalibrationOptions) UnPack ¶
func (rcv *ScoreCalibrationOptions) UnPack() *ScoreCalibrationOptionsT
func (*ScoreCalibrationOptions) UnPackTo ¶
func (rcv *ScoreCalibrationOptions) UnPackTo(t *ScoreCalibrationOptionsT)
type ScoreCalibrationOptionsT ¶
type ScoreCalibrationOptionsT struct { ScoreTransformation ScoreTransformationType DefaultScore float32 }
func (*ScoreCalibrationOptionsT) Pack ¶
func (t *ScoreCalibrationOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ScoreThresholdingOptions ¶
type ScoreThresholdingOptions struct {
// contains filtered or unexported fields
}
func GetRootAsScoreThresholdingOptions ¶
func GetRootAsScoreThresholdingOptions(buf []byte, offset flatbuffers.UOffsetT) *ScoreThresholdingOptions
func GetSizePrefixedRootAsScoreThresholdingOptions ¶
func GetSizePrefixedRootAsScoreThresholdingOptions(buf []byte, offset flatbuffers.UOffsetT) *ScoreThresholdingOptions
func (*ScoreThresholdingOptions) GlobalScoreThreshold ¶
func (rcv *ScoreThresholdingOptions) GlobalScoreThreshold() float32
func (*ScoreThresholdingOptions) Init ¶
func (rcv *ScoreThresholdingOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ScoreThresholdingOptions) MutateGlobalScoreThreshold ¶
func (rcv *ScoreThresholdingOptions) MutateGlobalScoreThreshold(n float32) bool
func (*ScoreThresholdingOptions) Table ¶
func (rcv *ScoreThresholdingOptions) Table() flatbuffers.Table
func (*ScoreThresholdingOptions) UnPack ¶
func (rcv *ScoreThresholdingOptions) UnPack() *ScoreThresholdingOptionsT
func (*ScoreThresholdingOptions) UnPackTo ¶
func (rcv *ScoreThresholdingOptions) UnPackTo(t *ScoreThresholdingOptionsT)
type ScoreThresholdingOptionsT ¶
type ScoreThresholdingOptionsT struct {
GlobalScoreThreshold float32
}
func (*ScoreThresholdingOptionsT) Pack ¶
func (t *ScoreThresholdingOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ScoreTransformationType ¶
type ScoreTransformationType int8
const ( ScoreTransformationTypeIDENTITY ScoreTransformationType = 0 ScoreTransformationTypeLOG ScoreTransformationType = 1 ScoreTransformationTypeINVERSE_LOGISTIC ScoreTransformationType = 2 )
func (ScoreTransformationType) String ¶
func (v ScoreTransformationType) String() string
type SentencePieceTokenizerOptions ¶
type SentencePieceTokenizerOptions struct {
// contains filtered or unexported fields
}
func GetRootAsSentencePieceTokenizerOptions ¶
func GetRootAsSentencePieceTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *SentencePieceTokenizerOptions
func GetSizePrefixedRootAsSentencePieceTokenizerOptions ¶
func GetSizePrefixedRootAsSentencePieceTokenizerOptions(buf []byte, offset flatbuffers.UOffsetT) *SentencePieceTokenizerOptions
func (*SentencePieceTokenizerOptions) Init ¶
func (rcv *SentencePieceTokenizerOptions) Init(buf []byte, i flatbuffers.UOffsetT)
func (*SentencePieceTokenizerOptions) SentencePieceModel ¶
func (rcv *SentencePieceTokenizerOptions) SentencePieceModel(obj *AssociatedFile, j int) bool
func (*SentencePieceTokenizerOptions) SentencePieceModelLength ¶
func (rcv *SentencePieceTokenizerOptions) SentencePieceModelLength() int
func (*SentencePieceTokenizerOptions) Table ¶
func (rcv *SentencePieceTokenizerOptions) Table() flatbuffers.Table
func (*SentencePieceTokenizerOptions) UnPack ¶
func (rcv *SentencePieceTokenizerOptions) UnPack() *SentencePieceTokenizerOptionsT
func (*SentencePieceTokenizerOptions) UnPackTo ¶
func (rcv *SentencePieceTokenizerOptions) UnPackTo(t *SentencePieceTokenizerOptionsT)
func (*SentencePieceTokenizerOptions) VocabFile ¶
func (rcv *SentencePieceTokenizerOptions) VocabFile(obj *AssociatedFile, j int) bool
func (*SentencePieceTokenizerOptions) VocabFileLength ¶
func (rcv *SentencePieceTokenizerOptions) VocabFileLength() int
type SentencePieceTokenizerOptionsT ¶
type SentencePieceTokenizerOptionsT struct { SentencePieceModel []*AssociatedFileT VocabFile []*AssociatedFileT }
func (*SentencePieceTokenizerOptionsT) Pack ¶
func (t *SentencePieceTokenizerOptionsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type Stats ¶
type Stats struct {
// contains filtered or unexported fields
}
func GetRootAsStats ¶
func GetRootAsStats(buf []byte, offset flatbuffers.UOffsetT) *Stats
func GetSizePrefixedRootAsStats ¶
func GetSizePrefixedRootAsStats(buf []byte, offset flatbuffers.UOffsetT) *Stats
func (*Stats) Table ¶
func (rcv *Stats) Table() flatbuffers.Table
type StatsT ¶
func (*StatsT) Pack ¶
func (t *StatsT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type SubGraphMetadata ¶
type SubGraphMetadata struct {
// contains filtered or unexported fields
}
func GetRootAsSubGraphMetadata ¶
func GetRootAsSubGraphMetadata(buf []byte, offset flatbuffers.UOffsetT) *SubGraphMetadata
func GetSizePrefixedRootAsSubGraphMetadata ¶
func GetSizePrefixedRootAsSubGraphMetadata(buf []byte, offset flatbuffers.UOffsetT) *SubGraphMetadata
func (*SubGraphMetadata) AssociatedFiles ¶
func (rcv *SubGraphMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
func (*SubGraphMetadata) AssociatedFilesLength ¶
func (rcv *SubGraphMetadata) AssociatedFilesLength() int
func (*SubGraphMetadata) Description ¶
func (rcv *SubGraphMetadata) Description() []byte
func (*SubGraphMetadata) Init ¶
func (rcv *SubGraphMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
func (*SubGraphMetadata) InputProcessUnits ¶
func (rcv *SubGraphMetadata) InputProcessUnits(obj *ProcessUnit, j int) bool
func (*SubGraphMetadata) InputProcessUnitsLength ¶
func (rcv *SubGraphMetadata) InputProcessUnitsLength() int
func (*SubGraphMetadata) InputTensorGroups ¶
func (rcv *SubGraphMetadata) InputTensorGroups(obj *TensorGroup, j int) bool
func (*SubGraphMetadata) InputTensorGroupsLength ¶
func (rcv *SubGraphMetadata) InputTensorGroupsLength() int
func (*SubGraphMetadata) InputTensorMetadata ¶
func (rcv *SubGraphMetadata) InputTensorMetadata(obj *TensorMetadata, j int) bool
func (*SubGraphMetadata) InputTensorMetadataLength ¶
func (rcv *SubGraphMetadata) InputTensorMetadataLength() int
func (*SubGraphMetadata) Name ¶
func (rcv *SubGraphMetadata) Name() []byte
func (*SubGraphMetadata) OutputProcessUnits ¶
func (rcv *SubGraphMetadata) OutputProcessUnits(obj *ProcessUnit, j int) bool
func (*SubGraphMetadata) OutputProcessUnitsLength ¶
func (rcv *SubGraphMetadata) OutputProcessUnitsLength() int
func (*SubGraphMetadata) OutputTensorGroups ¶
func (rcv *SubGraphMetadata) OutputTensorGroups(obj *TensorGroup, j int) bool
func (*SubGraphMetadata) OutputTensorGroupsLength ¶
func (rcv *SubGraphMetadata) OutputTensorGroupsLength() int
func (*SubGraphMetadata) OutputTensorMetadata ¶
func (rcv *SubGraphMetadata) OutputTensorMetadata(obj *TensorMetadata, j int) bool
func (*SubGraphMetadata) OutputTensorMetadataLength ¶
func (rcv *SubGraphMetadata) OutputTensorMetadataLength() int
func (*SubGraphMetadata) Table ¶
func (rcv *SubGraphMetadata) Table() flatbuffers.Table
func (*SubGraphMetadata) UnPack ¶
func (rcv *SubGraphMetadata) UnPack() *SubGraphMetadataT
func (*SubGraphMetadata) UnPackTo ¶
func (rcv *SubGraphMetadata) UnPackTo(t *SubGraphMetadataT)
type SubGraphMetadataT ¶
type SubGraphMetadataT struct { Name string Description string InputTensorMetadata []*TensorMetadataT OutputTensorMetadata []*TensorMetadataT AssociatedFiles []*AssociatedFileT InputProcessUnits []*ProcessUnitT OutputProcessUnits []*ProcessUnitT InputTensorGroups []*TensorGroupT OutputTensorGroups []*TensorGroupT }
func (*SubGraphMetadataT) Pack ¶
func (t *SubGraphMetadataT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type TensorGroup ¶
type TensorGroup struct {
// contains filtered or unexported fields
}
func GetRootAsTensorGroup ¶
func GetRootAsTensorGroup(buf []byte, offset flatbuffers.UOffsetT) *TensorGroup
func GetSizePrefixedRootAsTensorGroup ¶
func GetSizePrefixedRootAsTensorGroup(buf []byte, offset flatbuffers.UOffsetT) *TensorGroup
func (*TensorGroup) Init ¶
func (rcv *TensorGroup) Init(buf []byte, i flatbuffers.UOffsetT)
func (*TensorGroup) Name ¶
func (rcv *TensorGroup) Name() []byte
func (*TensorGroup) Table ¶
func (rcv *TensorGroup) Table() flatbuffers.Table
func (*TensorGroup) TensorNames ¶
func (rcv *TensorGroup) TensorNames(j int) []byte
func (*TensorGroup) TensorNamesLength ¶
func (rcv *TensorGroup) TensorNamesLength() int
func (*TensorGroup) UnPack ¶
func (rcv *TensorGroup) UnPack() *TensorGroupT
func (*TensorGroup) UnPackTo ¶
func (rcv *TensorGroup) UnPackTo(t *TensorGroupT)
type TensorGroupT ¶
func (*TensorGroupT) Pack ¶
func (t *TensorGroupT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type TensorMetadata ¶
type TensorMetadata struct {
// contains filtered or unexported fields
}
func GetRootAsTensorMetadata ¶
func GetRootAsTensorMetadata(buf []byte, offset flatbuffers.UOffsetT) *TensorMetadata
func GetSizePrefixedRootAsTensorMetadata ¶
func GetSizePrefixedRootAsTensorMetadata(buf []byte, offset flatbuffers.UOffsetT) *TensorMetadata
func (*TensorMetadata) AssociatedFiles ¶
func (rcv *TensorMetadata) AssociatedFiles(obj *AssociatedFile, j int) bool
func (*TensorMetadata) AssociatedFilesLength ¶
func (rcv *TensorMetadata) AssociatedFilesLength() int
func (*TensorMetadata) Content ¶
func (rcv *TensorMetadata) Content(obj *Content) *Content
func (*TensorMetadata) Description ¶
func (rcv *TensorMetadata) Description() []byte
func (*TensorMetadata) DimensionNames ¶
func (rcv *TensorMetadata) DimensionNames(j int) []byte
func (*TensorMetadata) DimensionNamesLength ¶
func (rcv *TensorMetadata) DimensionNamesLength() int
func (*TensorMetadata) Init ¶
func (rcv *TensorMetadata) Init(buf []byte, i flatbuffers.UOffsetT)
func (*TensorMetadata) Name ¶
func (rcv *TensorMetadata) Name() []byte
func (*TensorMetadata) ProcessUnits ¶
func (rcv *TensorMetadata) ProcessUnits(obj *ProcessUnit, j int) bool
func (*TensorMetadata) ProcessUnitsLength ¶
func (rcv *TensorMetadata) ProcessUnitsLength() int
func (*TensorMetadata) Stats ¶
func (rcv *TensorMetadata) Stats(obj *Stats) *Stats
func (*TensorMetadata) Table ¶
func (rcv *TensorMetadata) Table() flatbuffers.Table
func (*TensorMetadata) UnPack ¶
func (rcv *TensorMetadata) UnPack() *TensorMetadataT
func (*TensorMetadata) UnPackTo ¶
func (rcv *TensorMetadata) UnPackTo(t *TensorMetadataT)
type TensorMetadataT ¶
type TensorMetadataT struct { Name string Description string DimensionNames []string Content *ContentT ProcessUnits []*ProcessUnitT Stats *StatsT AssociatedFiles []*AssociatedFileT }
func (*TensorMetadataT) Pack ¶
func (t *TensorMetadataT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
type ValueRange ¶
type ValueRange struct {
// contains filtered or unexported fields
}
func GetRootAsValueRange ¶
func GetRootAsValueRange(buf []byte, offset flatbuffers.UOffsetT) *ValueRange
func GetSizePrefixedRootAsValueRange ¶
func GetSizePrefixedRootAsValueRange(buf []byte, offset flatbuffers.UOffsetT) *ValueRange
func (*ValueRange) Init ¶
func (rcv *ValueRange) Init(buf []byte, i flatbuffers.UOffsetT)
func (*ValueRange) Max ¶
func (rcv *ValueRange) Max() int32
func (*ValueRange) Min ¶
func (rcv *ValueRange) Min() int32
func (*ValueRange) MutateMax ¶
func (rcv *ValueRange) MutateMax(n int32) bool
func (*ValueRange) MutateMin ¶
func (rcv *ValueRange) MutateMin(n int32) bool
func (*ValueRange) Table ¶
func (rcv *ValueRange) Table() flatbuffers.Table
func (*ValueRange) UnPack ¶
func (rcv *ValueRange) UnPack() *ValueRangeT
func (*ValueRange) UnPackTo ¶
func (rcv *ValueRange) UnPackTo(t *ValueRangeT)
type ValueRangeT ¶
func (*ValueRangeT) Pack ¶
func (t *ValueRangeT) Pack(builder *flatbuffers.Builder) flatbuffers.UOffsetT
Source Files ¶
- AssociatedFile.go
- AssociatedFileType.go
- AudioProperties.go
- BertTokenizerOptions.go
- BoundingBoxProperties.go
- BoundingBoxType.go
- ColorSpaceType.go
- Content.go
- ContentProperties.go
- CoordinateType.go
- FeatureProperties.go
- ImageProperties.go
- ImageSize.go
- ModelMetadata.go
- NormalizationOptions.go
- ProcessUnit.go
- ProcessUnitOptions.go
- RegexTokenizerOptions.go
- ScoreCalibrationOptions.go
- ScoreThresholdingOptions.go
- ScoreTransformationType.go
- SentencePieceTokenizerOptions.go
- Stats.go
- SubGraphMetadata.go
- TensorGroup.go
- TensorMetadata.go
- ValueRange.go
Click to show internal directories.
Click to hide internal directories.