Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ types & classes
Types & classes
1,602 in github.com/NVIDIA/TensorRT
⨍
Functions
8,179
◇
Types & classes
1,602
↳
Endpoints
43
↓ 208 callers
Class
PluginField
\class PluginField \brief Structure containing plugin attribute field names and associated data This information can be parsed to decode necessary pl
include/NvInferRuntimePlugin.h:754
↓ 155 callers
Class
Variable
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/tensor.py:153
↓ 84 callers
Class
Node
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/node.py:26
↓ 81 callers
Class
expr
Temporary half-precision expression. This class represents a half-precision expression which just stores a single-precision value internally.
samples/common/half.h:444
↓ 81 callers
Class
expr
Temporary half-precision expression. This class represents a half-precision expression which just stores a single-precision value internally.
parsers/common/ieee_half.h:370
↓ 76 callers
Class
LayerConfig
Internal dataclass for a single layer config. Args: name (str): Name of the layer. As seen from utilities such as `model.summary()`
tools/tensorflow-quantization/tensorflow_quantization/quantize.py:41
↓ 68 callers
Class
Graph
Represents a graph containing nodes and tensors.
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:45
↓ 54 callers
Class
TensorMetadata
An OrderedDict[str, MetadataTuple] that maps input names to their data types and shapes. Shapes may include negative values, ``None``, or st
tools/Polygraphy/polygraphy/common/struct.py:66
↓ 53 callers
Class
CreateConfig
Functor that creates a TensorRT IBuilderConfig.
tools/Polygraphy/polygraphy/backend/trt/config.py:30
↓ 45 callers
Class
IterationResult
An ordered dictionary containing the result of a running a single iteration of a runner. This maps output names to NumPy arrays, and preserv
tools/Polygraphy/polygraphy/comparator/struct.py:78
↓ 42 callers
Class
ArgGroupTestHelper
tools/Polygraphy/tests/tools/args/helper.py:22
↓ 41 callers
Class
ModelArgs
Model: the model Depends on: - RunnerSelectArgs: if guess_model_type_from_runners == True
tools/Polygraphy/polygraphy/tools/args/model.py:28
↓ 39 callers
Class
TrtRunner
Runs inference using TensorRT. Note that runners are not designed for production deployment and should generally be used only for protot
tools/Polygraphy/polygraphy/backend/trt/runner.py:58
↓ 37 callers
Class
Example
tools/Polygraphy/tests/test_examples.py:146
↓ 34 callers
Class
QuantizationSpec
Helper class holding config objects for all layers to quantize.
tools/tensorflow-quantization/tensorflow_quantization/quantize.py:66
↓ 34 callers
Class
half
samples/common/half.h:281
↓ 34 callers
Class
half
parsers/common/ieee_half.h:281
↓ 33 callers
Class
OnnxLoadArgs
ONNX Model Loading: loading ONNX models. Depends on: - ModelArgs - OnnxInferShapesArgs: if allow_shape_inference == True
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:394
↓ 31 callers
Class
Script
Represents a Python script that uses the Polygraphy API.
tools/Polygraphy/polygraphy/tools/script.py:197
↓ 29 callers
Class
EngineFromNetwork
Functor similar to EngineBytesFromNetwork, but deserializes the engine before returning.
tools/Polygraphy/polygraphy/backend/trt/loader.py:579
↓ 29 callers
Class
MeasureTime
demo/Tacotron2/inference.py:165
↓ 28 callers
Class
Profile
An ordered dictionary that represents a single optimization profile that can be used to build an engine. More specifically, it is an ``O
tools/Polygraphy/polygraphy/backend/trt/profile.py:51
↓ 27 callers
Class
Model
tools/Polygraphy/tests/models/meta.py:34
↓ 26 callers
Class
NetworkFromOnnxBytes
Functor that parses an ONNX model to create a trt.INetworkDefinition.
tools/Polygraphy/polygraphy/backend/trt/loader.py:140
↓ 24 callers
Class
Constant
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/tensor.py:223
↓ 20 callers
Class
DataLoader
Generates synthetic input data.
tools/Polygraphy/polygraphy/comparator/data_loader.py:29
↓ 20 callers
Class
QuantLeNet
tools/pytorch-quantization/tests/fixtures/models.py:45
↓ 20 callers
Class
TensorQuantizer
Tensor quantizer module This module uses tensor_quant or fake_tensor_quant function to quantize a tensor. And wrappers variable, moving stati
tools/pytorch-quantization/pytorch_quantization/nn/modules/tensor_quantizer.py:35
↓ 19 callers
Class
SessionFromOnnx
Functor that builds an ONNX-Runtime inference session.
tools/Polygraphy/polygraphy/backend/onnxrt/loader.py:25
↓ 18 callers
Class
OnnxInferShapesArgs
ONNX Shape Inference: ONNX shape inference. Depends on: - OnnxLoadArgs - DataLoaderArgs: if allow_force_fallback == True
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:35
↓ 17 callers
Class
OnnxrtRunner
Runs inference using an ONNX-Runtime inference session.
tools/Polygraphy/polygraphy/backend/onnxrt/runner.py:28
↓ 17 callers
Class
TrtConfigArgs
TensorRT Builder Configuration: creating the TensorRT BuilderConfig. Depends on: - DataLoaderArgs - ModelArgs: if allow_cus
tools/Polygraphy/polygraphy/tools/args/backend/trt/config.py:89
↓ 16 callers
Class
Artifact
tools/onnx-graphsurgeon/tests/test_examples.py:35
↓ 16 callers
Class
OnnxFromPath
Functor that loads an ONNX model from a file.
tools/Polygraphy/polygraphy/backend/onnx/loader.py:122
↓ 16 callers
Class
TrtLoadNetworkArgs
TensorRT Network Loading: loading TensorRT networks. Depends on: - ModelArgs - TrtLoadPluginsArgs - OnnxLoadArgs: i
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:117
↓ 16 callers
Class
TrtLoadPluginsArgs
TensorRT Plugin Loading: loading TensorRT plugins.
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:33
↓ 16 callers
Class
TrtOnnxFlagArgs
ONNX-TRT Parser Flags: setting flags for TensorRT's ONNX parser Depends on: - TrtConfigArgs: If NATIVE_INSTANCENORM should be autom
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:65
↓ 15 callers
Class
Dims
Helper class for interfacing dimension constructs with Polygraphy and PyTorch.
demo/HuggingFace/NNDF/networks.py:79
↓ 15 callers
Class
Precision
[EXPERIMENTAL] Iteratively mark layers to run in a higher precision to find a compromise between performance and quality. `debug precision`
tools/Polygraphy/polygraphy/tools/debug/subtool/precision.py:114
↓ 13 callers
Class
Dims3
\class Dims3 \brief Descriptor for three-dimensional data.
include/NvInferLegacyDims.h:136
↓ 12 callers
Class
DeviceArray
An array on the GPU.
tools/Polygraphy/polygraphy/cuda/cuda.py:356
↓ 12 callers
Class
OnnxSaveArgs
ONNX Model Saving: saving ONNX models. Depends on: - OnnxInferShapesArgs: if allow_shape_inference == True
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:208
↓ 11 callers
Class
DataLoaderArgs
Data Loader: loading or generating input data for inference. Depends on: - ModelArgs: if allow_custom_input_shapes == True
tools/Polygraphy/polygraphy/tools/args/comparator/data_loader.py:29
↓ 11 callers
Class
Dims2
\class Dims2 \brief Descriptor for two-dimensional data.
include/NvInferLegacyDims.h:36
↓ 11 callers
Class
PortDesc
A port identifies a specific layer input or output.
tools/experimental/trt-engine-explorer/trex/graphing.py:36
↓ 10 callers
Class
CreateAssetsFolders
Create empty folders to save the original and quantized TensorFlow models and their respective ONNX models for each experiment. The following
tools/tensorflow-quantization/tensorflow_quantization/utils.py:71
↓ 9 callers
Class
Model
tools/onnx-graphsurgeon/tests/onnx_models.py:36
↓ 9 callers
Class
PluginRefRunner
Runs inference using custom CPU reference implementations
tools/Polygraphy/polygraphy/backend/pluginref/runner.py:32
↓ 9 callers
Class
RunResults
Maps runners to per-iteration outputs (in the form of a ``List[IterationResult]``). For example, if ``results`` is an instance of ``RunResul
tools/Polygraphy/polygraphy/comparator/struct.py:181
↓ 8 callers
Class
ComparatorCompareArgs
Comparator Comparisons: inference output comparisons. Depends on: - CompareFuncSimpleArgs - CompareFuncIndicesArgs
tools/Polygraphy/polygraphy/tools/args/comparator/comparator.py:111
↓ 8 callers
Class
GsFromOnnx
Functor that creates an ONNX-GraphSurgeon graph from an ONNX ModelProto.
tools/Polygraphy/polygraphy/backend/onnx/loader.py:96
↓ 8 callers
Class
InferDeleter
samples/common/common.h:365
↓ 8 callers
Class
TensorInfo
Tracks information about a tensor, such as format and data type.
tools/Polygraphy/polygraphy/backend/trt/algorithm_selector.py:44
↓ 7 callers
Class
CompareFuncIndicesArgs
Comparison Function: `indices`: the `CompareFunc.indices` comparison function. Depends on: - ComparatorCompareArgs
tools/Polygraphy/polygraphy/tools/args/comparator/compare.py:174
↓ 7 callers
Class
CompareFuncSimpleArgs
Comparison Function: `simple`: the `CompareFunc.simple` comparison function. Depends on: - ComparatorCompareArgs
tools/Polygraphy/polygraphy/tools/args/comparator/compare.py:31
↓ 7 callers
Class
EngineFromBytes
Functor that deserializes an engine from a buffer.
tools/Polygraphy/polygraphy/backend/trt/loader.py:621
↓ 7 callers
Class
InteractiveDiagram
A dropdown widget wrapper
tools/experimental/trt-engine-explorer/trex/interactive.py:29
↓ 7 callers
Class
LinearNorm
demo/Tacotron2/common/layers.py:24
↓ 7 callers
Class
TacticReplayData
Maps layer names to corresponding tactics. More specifically, it is an ``OrderedDict[str, Algorithm]``.
tools/Polygraphy/polygraphy/backend/trt/algorithm_selector.py:214
↓ 7 callers
Class
TfRunner
Runs inference using a TensorFlow session.
tools/Polygraphy/polygraphy/backend/tf/runner.py:31
↓ 6 callers
Class
Activation
Convenience class wrapping activation regions.
tools/experimental/trt-engine-explorer/trex/activations.py:62
↓ 6 callers
Class
LogStreamConsumer
\class LogStreamConsumer \brief Convenience object used to facilitate use of C++ stream syntax when logging messages. Order of base classes is LogStre
samples/common/logging.h:142
↓ 6 callers
Class
LogStreamConsumer
\class LogStreamConsumer \brief Convenience object used to facilitate use of C++ stream syntax when logging messages. Order of base classes is LogStre
quickstart/common/logging.h:133
↓ 6 callers
Class
NNFolderWorkspace
For keeping track of workspace folder and for cleaning them up. Due to potential corruption of ONNX model conversion, the workspace is split
demo/HuggingFace/NNDF/general_utils.py:208
↓ 6 callers
Class
NetworkFromOnnxPath
Functor that parses an ONNX model to create a trt.INetworkDefinition. This loader supports models with weights stored in an external location
tools/Polygraphy/polygraphy/backend/trt/loader.py:176
↓ 6 callers
Class
SessionFromGraph
Functor that creates a TensorFlow session that can be used for inference.
tools/Polygraphy/polygraphy/backend/tf/loader.py:435
↓ 6 callers
Class
TrtLoadEngineBytesArgs
TensorRT Engine: loading or building TensorRT engines. Depends on: - ModelArgs - TrtLoadPluginsArgs - TrtLoadNetwor
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:491
↓ 5 callers
Class
ConvNorm
demo/Tacotron2/common/layers.py:37
↓ 5 callers
Class
DataLoaderCache
tools/Polygraphy/polygraphy/comparator/data_loader.py:276
↓ 5 callers
Class
DeviceBuffer
demo/BERT/perf.py:30
↓ 5 callers
Class
DeviceBuffer
demo/BERT/perf_varseqlen.py:30
↓ 5 callers
Class
DeviceView
A read-only view of a GPU memory region.
tools/Polygraphy/polygraphy/cuda/cuda.py:241
↓ 5 callers
Class
FileSection
tools/experimental/trt-engine-explorer/utils/parse_trtexec_log.py:52
↓ 5 callers
Class
ImageBatcher
Creates batches of pre-processed images.
samples/python/efficientdet/image_batcher.py:26
↓ 5 callers
Class
ImageBatcher
Creates batches of pre-processed images.
samples/python/tensorflow_object_detection_api/image_batcher.py:25
↓ 5 callers
Class
InteractiveDiagram_2
A dropdown widget wrapper
tools/experimental/trt-engine-explorer/trex/interactive.py:69
↓ 5 callers
Class
Logger
Global logging interface. Do **not** construct a logger manually. Instead, use ``G_LOGGER``, the global logger.
tools/Polygraphy/polygraphy/logger/logger.py:138
↓ 5 callers
Class
LoggerArgs
Logging: logging and debug output
tools/Polygraphy/polygraphy/tools/args/logger/logger.py:24
↓ 5 callers
Class
ResNetV1QDQCase
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:225
↓ 5 callers
Class
TfLoadArgs
TensorFlow Model Loading: loading TensorFlow models. Depends on: - ModelArgs - TfTrtArgs: if allow_tftrt == True -
tools/Polygraphy/polygraphy/tools/args/backend/tf/loader.py:96
↓ 4 callers
Class
BARTDecoderONNXFile
demo/HuggingFace/BART/export.py:194
↓ 4 callers
Class
Denoiser
Removes model bias from audio produced with waveglow
demo/Tacotron2/waveglow/denoiser.py:24
↓ 4 callers
Class
Edge
An edge in a PlanGraph graph. The src and dst are names of engine layers or regions.
tools/experimental/trt-engine-explorer/trex/graphing.py:42
↓ 4 callers
Class
EfficientNetQDQCase
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:283
↓ 4 callers
Class
FindStrInIterableCase
tools/Polygraphy/tests/util/test_util.py:42
↓ 4 callers
Class
FormatTestCase
tools/Polygraphy/tests/util/test_format.py:24
↓ 4 callers
Class
GraphFromFrozen
Functor that loads a TensorFlow frozen model.
tools/Polygraphy/polygraphy/backend/tf/loader.py:148
↓ 4 callers
Class
ImageBatcher
Creates batches of pre-processed images.
samples/python/efficientnet/image_batcher.py:25
↓ 4 callers
Class
InvokeFromScript
Functor that invokes a function from a Python script.
tools/Polygraphy/polygraphy/backend/common/loader.py:75
↓ 4 callers
Class
LazyNumpyArray
Represents a lazily loaded NumPy array. For example, large NumPy arrays may be serialized to temporary files on the disk to save memory.
tools/Polygraphy/polygraphy/comparator/struct.py:28
↓ 4 callers
Class
LeNet
tools/pytorch-quantization/tests/fixtures/models.py:27
↓ 4 callers
Class
QuantModuleReplacementHelper
To help replace torch.nn modules with quantized versions. This module is used to replace (by monkey patching) the torch.nn modules with their
tools/pytorch-quantization/pytorch_quantization/quant_modules.py:43
↓ 4 callers
Class
ResidualConnectionQDQCase
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:119
↓ 4 callers
Class
SampleBuffer
samples/sampleIOFormats/sampleIOFormats.cpp:147
↓ 4 callers
Class
TrtLoadEngineArgs
TensorRT Engine: loading TensorRT engines. Depends on: - TrtLoadEngineBytesArgs - TrtLoadPluginsArgs
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:579
↓ 3 callers
Class
AddCoords
samples/sampleOnnxMnistCoordConvAC/coord_conv.py:23
↓ 3 callers
Class
Algorithm
Represents a TensorRT algorithm variant, which can be uniquely represented by an implementation ID, tactic ID, and I/O tensor information.
tools/Polygraphy/polygraphy/backend/trt/algorithm_selector.py:125
↓ 3 callers
Class
ArtifactSortArgs
Artifact Sorting: sorting artifacts into good/bad directories based on pass/fail status.
tools/Polygraphy/polygraphy/tools/debug/subtool/iterative_debug_args.py:239
↓ 3 callers
Class
BoundedShape
Represents a shape with min/max bounds.
tools/Polygraphy/polygraphy/common/struct.py:25
↓ 3 callers
Class
CheckCmdArgs
Pass/Fail Reporting: reporting pass/fail status during iterative debugging.
tools/Polygraphy/polygraphy/tools/debug/subtool/iterative_debug_args.py:74
next →
1–100 of 1,602, ranked by callers