utils

package
v0.0.0-...-3233e8b 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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_compiler_tf2tensorrt_utils_trt_engine_instance_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TRTEngineInstance

type TRTEngineInstance struct {

	// The input shapes of the TRT engine.
	InputShapes []*framework.TensorShapeProto `protobuf:"bytes,1,rep,name=input_shapes,json=inputShapes,proto3" json:"input_shapes,omitempty"`
	// The serialized TRT engine.
	//
	// TODO(laigd): consider using a more efficient in-memory representation
	// instead of string which is the default here.
	SerializedEngine []byte `protobuf:"bytes,2,opt,name=serialized_engine,json=serializedEngine,proto3" json:"serialized_engine,omitempty"`
	// contains filtered or unexported fields
}

Containing information for a serialized TensorRT engine.

func (*TRTEngineInstance) Descriptor deprecated

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

Deprecated: Use TRTEngineInstance.ProtoReflect.Descriptor instead.

func (*TRTEngineInstance) GetInputShapes

func (x *TRTEngineInstance) GetInputShapes() []*framework.TensorShapeProto

func (*TRTEngineInstance) GetSerializedEngine

func (x *TRTEngineInstance) GetSerializedEngine() []byte

func (*TRTEngineInstance) ProtoMessage

func (*TRTEngineInstance) ProtoMessage()

func (*TRTEngineInstance) ProtoReflect

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

func (*TRTEngineInstance) Reset

func (x *TRTEngineInstance) Reset()

func (*TRTEngineInstance) String

func (x *TRTEngineInstance) String() string

Jump to

Keyboard shortcuts

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