logging

package
v2.14.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_lite_toco_logging_toco_conversion_log_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TocoConversionLog

type TocoConversionLog struct {

	// Total ops listed by name.
	OpList []string `protobuf:"bytes,1,rep,name=op_list,json=opList" json:"op_list,omitempty"`
	// Counts of built-in ops.
	// Key is op name and value is the count.
	BuiltInOps map[string]int32 `` /* 161-byte string literal not displayed */
	// Counts of custom ops.
	CustomOps map[string]int32 `` /* 156-byte string literal not displayed */
	// Counts of select ops.
	SelectOps map[string]int32 `` /* 156-byte string literal not displayed */
	// The signature of operators. Including ops input/output types and shapes,
	// op name and version.
	OpSignatures []string `protobuf:"bytes,5,rep,name=op_signatures,json=opSignatures" json:"op_signatures,omitempty"`
	// Input tensor types.
	InputTensorTypes []string `protobuf:"bytes,6,rep,name=input_tensor_types,json=inputTensorTypes" json:"input_tensor_types,omitempty"`
	// Output tensor types.
	OutputTensorTypes []string `protobuf:"bytes,7,rep,name=output_tensor_types,json=outputTensorTypes" json:"output_tensor_types,omitempty"`
	// Log generation time in micro-seconds.
	LogGenerationTs *int64 `protobuf:"varint,8,opt,name=log_generation_ts,json=logGenerationTs" json:"log_generation_ts,omitempty"`
	// Total number of ops in the model.
	ModelSize *int32 `protobuf:"varint,9,opt,name=model_size,json=modelSize" json:"model_size,omitempty"`
	// Tensorflow Lite runtime version.
	TfLiteVersion *string `protobuf:"bytes,10,opt,name=tf_lite_version,json=tfLiteVersion" json:"tf_lite_version,omitempty"`
	// Operating System info.
	OsVersion *string `protobuf:"bytes,11,opt,name=os_version,json=osVersion" json:"os_version,omitempty"`
	// Model hash string.
	ModelHash *string `protobuf:"bytes,12,opt,name=model_hash,json=modelHash" json:"model_hash,omitempty"`
	// Error messages emitted by TOCO during conversion.
	TocoErrLogs *string `protobuf:"bytes,13,opt,name=toco_err_logs,json=tocoErrLogs" json:"toco_err_logs,omitempty"`
	// contains filtered or unexported fields
}

TocoConversionLog contains the analytics to be gathered when user converts a model to TF Lite using TOCO. Next ID to USE: 14.

func (*TocoConversionLog) Descriptor deprecated

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

Deprecated: Use TocoConversionLog.ProtoReflect.Descriptor instead.

func (*TocoConversionLog) GetBuiltInOps

func (x *TocoConversionLog) GetBuiltInOps() map[string]int32

func (*TocoConversionLog) GetCustomOps

func (x *TocoConversionLog) GetCustomOps() map[string]int32

func (*TocoConversionLog) GetInputTensorTypes

func (x *TocoConversionLog) GetInputTensorTypes() []string

func (*TocoConversionLog) GetLogGenerationTs

func (x *TocoConversionLog) GetLogGenerationTs() int64

func (*TocoConversionLog) GetModelHash

func (x *TocoConversionLog) GetModelHash() string

func (*TocoConversionLog) GetModelSize

func (x *TocoConversionLog) GetModelSize() int32

func (*TocoConversionLog) GetOpList

func (x *TocoConversionLog) GetOpList() []string

func (*TocoConversionLog) GetOpSignatures

func (x *TocoConversionLog) GetOpSignatures() []string

func (*TocoConversionLog) GetOsVersion

func (x *TocoConversionLog) GetOsVersion() string

func (*TocoConversionLog) GetOutputTensorTypes

func (x *TocoConversionLog) GetOutputTensorTypes() []string

func (*TocoConversionLog) GetSelectOps

func (x *TocoConversionLog) GetSelectOps() map[string]int32

func (*TocoConversionLog) GetTfLiteVersion

func (x *TocoConversionLog) GetTfLiteVersion() string

func (*TocoConversionLog) GetTocoErrLogs

func (x *TocoConversionLog) GetTocoErrLogs() string

func (*TocoConversionLog) ProtoMessage

func (*TocoConversionLog) ProtoMessage()

func (*TocoConversionLog) ProtoReflect

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

func (*TocoConversionLog) Reset

func (x *TocoConversionLog) Reset()

func (*TocoConversionLog) String

func (x *TocoConversionLog) String() string

Jump to

Keyboard shortcuts

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