MCPcopy Create free account

hub / github.com/NVIDIA/TensorRT / functions

Functions8,179 in github.com/NVIDIA/TensorRT

↓ 3 callersMethodmake_graph
()
tools/onnx-graphsurgeon/tests/ir/test_graph.py:735
↓ 3 callersFunctionmake_invocable_impl
Generates a string that would invoke the type specified in type_str with the specified arguments. Skips keyword arguments that are set to
tools/Polygraphy/polygraphy/tools/script.py:99
↓ 3 callersFunctionmake_outputs
()
tools/Polygraphy/tests/comparator/test_struct.py:26
↓ 3 callersFunctionmake_precision_recall_eval
(scores, na_probs, num_true_pos, qid_to_has_ans, out_image=None, title=None)
demo/BERT/squad/evaluate-v2.0.py:163
↓ 3 callersFunctionmatch_layers
Align two plans by their layers. When comparing the layers of two engine plans, we want to find pairs of layers, one from each plan, that cor
tools/experimental/trt-engine-explorer/trex/compare_engines.py:286
↓ 3 callersFunctionmergeRow
Merge reference and target profile results into a single row
samples/trtexec/profiler.py:114
↓ 3 callersFunctionmerry_28_28
()
tools/tensorflow-quantization/tests/network_pool.py:247
↓ 3 callersFunctionmodf
Extract integer and fractional parts. \param arg number to decompress \param iptr address to store integer part at \return fractional part template<ty
samples/common/half.h:3652
↓ 3 callersFunctionmodf
Extract integer and fractional parts. \param arg number to decompress \param iptr address to store integer part at \return fractional part template<ty
parsers/common/ieee_half.h:2660
↓ 3 callersFunctionnpRound
Mimic np.round as in voxel generator in spconv implementation
plugin/voxelGeneratorPlugin/voxelGenerator.cpp:45
↓ 3 callersFunctionparse_dynamic_size
(dim)
demo/Tacotron2/tensorrt/trt_utils.py:26
↓ 3 callersFunctionpermute_args
* Exchange the block from nonopt_start to nonopt_end with the block * from nonopt_end to opt_end (keeping the same order of arguments * in each bloc
samples/common/getopt.c:153
↓ 3 callersFunctionpow
Power function. \param base first argument \param exp second argument \return \a base raised to \a exp template<typename T,typename U> typename enable
samples/common/half.h:3218
↓ 3 callersFunctionprintShapes
samples/common/sampleOptions.cpp:498
↓ 3 callersMethodprint_summary
(self, denoising_steps, tic, toc, vae_enc=False)
demo/Diffusion/stable_diffusion_pipeline.py:463
↓ 3 callersFunctionprocess_expected_engine_output
(output)
tools/Polygraphy/tests/tools/test_inspect.py:431
↓ 3 callersFunctionquestion_features
(tokens, question)
demo/BERT/inference_varseqlen.py:118
↓ 3 callersFunctionquestion_features
(tokens, question)
demo/BERT/inference_c.py:118
↓ 3 callersFunctionquestion_features
(tokens, question)
demo/BERT/inference.py:119
↓ 3 callersMethodraw
Creates an untyped device array of the specified shape. Args: shape (Tuple[int]): The initial shape of t
tools/Polygraphy/polygraphy/cuda/cuda.py:375
↓ 3 callersFunctionread
plugin/common/plugin.h:94
↓ 3 callersMethodrelease
samples/common/sampleEngines.cpp:155
↓ 3 callersFunctionremove
(conv_list)
demo/Tacotron2/waveglow/model.py:338
↓ 3 callersFunctionrender_dot
Render dot graph to an external file using the specified format.
tools/experimental/trt-engine-explorer/trex/graphing.py:394
↓ 3 callersMethodreportToProfiler
\brief Calculate layer timing info for the current optimization profile in IExecutionContext and update the profiler after one iteration of inference
include/NvInferRuntime.h:3203
↓ 3 callersMethodsave
Saves the Excel file. Once the file is saved, it cannot be updated using the same instance of the class. A new instance may
tools/experimental/trt-engine-explorer/trex/excel_summary.py:131
↓ 3 callersMethodsave_image
(self, images, pipeline, prompt)
demo/Diffusion/stable_diffusion_pipeline.py:476
↓ 3 callersFunctionsave_subgraph
Extracts a subgraph from the main graph and saves it to disk. Args: graph (onnx_graphsurgeon.Graph): The parent/main graph.
tools/Polygraphy/polygraphy/tools/inspect/subtool/capability.py:91
↓ 3 callersMethodsetAxes
\brief Set the axis along which softmax is computed. Currently, only one axis can be set. The axis is specified by setting the bit corresponding to t
include/NvInfer.h:2400
↓ 3 callersMethodsetBeta
\brief Set the LRN beta value. The valid range is [0.01, 1e5f]. \see getBeta()
include/NvInfer.h:2132
↓ 3 callersMethodsetBiasWeights
\brief Set the bias weights for the convolution. Bias is optional. To omit bias, set the count value of the weights structure to zero. The bias is a
include/NvInfer.h:1242
↓ 3 callersMethodsetCalibrationProfile
\brief Add a calibration profile. Calibration optimization profile must be set if int8 calibration is used to set scales for a network with runtime d
include/NvInfer.h:9518
↓ 3 callersMethodsetDLACore
\brief Sets the DLA core used by the network. Defaults to -1. \param dlaCore The DLA core to execute the engine on, in the range [0,getNbDlaCores()).
include/NvInfer.h:9355
↓ 3 callersMethodsetInput
\brief Replace an input of this layer with a specific tensor. \param index the index of the input to modify. \param tensor the new input tensor Exce
include/NvInfer.h:631
↓ 3 callersMethodsetMaxBatchSize
samples/common/sampleConfig.h:175
↓ 3 callersMethodsetMode
\brief Set the scale mode. \see getMode()
include/NvInfer.h:2230
↓ 3 callersMethodsetOutputType
\brief Set the output type of this layer Setting the output type constrains TensorRT to choose implementations which generate output data with the gi
include/NvInfer.h:731
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/normalizePlugin/normalizePlugin.cpp:184
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/gridAnchorPlugin/gridAnchorPlugin.cpp:299
↓ 3 callersMethodsetPluginNamespace
plugin/fcPlugin/fcPlugin.cpp:693
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/flattenConcat/flattenConcat.cpp:236
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/reorgPlugin/reorgPlugin.cpp:121
↓ 3 callersMethodsetPluginNamespace
plugin/disentangledAttentionPlugin/disentangledAttentionPlugin.cpp:256
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/priorBoxPlugin/priorBoxPlugin.cpp:294
↓ 3 callersMethodsetPluginNamespace
plugin/coordConvACPlugin/coordConvACPlugin.cpp:173
↓ 3 callersMethodsetPluginNamespace
plugin/groupNormalizationPlugin/groupNormalizationPlugin.cpp:331
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/regionPlugin/regionPlugin.cpp:421
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/nvFasterRCNN/nvFasterRCNNPlugin.cpp:310
↓ 3 callersMethodsetPluginNamespace
plugin/modulatedDeformConvPlugin/modulatedDeformConvPlugin.cpp:261
↓ 3 callersMethodsetPluginNamespace
Set plugin namespace
plugin/scatterPlugin/scatterPlugin.cpp:186
↓ 3 callersMethodsetPluginNamespace
samples/python/onnx_custom_plugin/plugin/customHardmaxPlugin.cpp:338
↓ 3 callersMethodsetPostPadding
\brief Set the multi-dimension post-padding for pooling. The end of the input will be padded by this number of elements in each dimension. Padding va
include/NvInfer.h:1946
↓ 3 callersMethodsetPrePadding
\brief Set the multi-dimension pre-padding for pooling. The start of the input will be padded by this number of elements in each dimension. Padding v
include/NvInfer.h:1918
↓ 3 callersMethodsetPrecision
\brief Set the computational precision of this layer Setting the precision allows TensorRT to choose an implementation which run at this computationa
include/NvInfer.h:659
↓ 3 callersMethodsetReshapeDimensions
\brief Set the reshaped dimensions. \param dimensions The reshaped dimensions. Two special values can be used as dimensions. Value 0 copies the cor
include/NvInfer.h:4057
↓ 3 callersMethodsetTensorAddress
\brief Set memory address for given input or output tensor. \param tensorName The name of an input or output tensor. \param data The pointer (void*)
include/NvInferRuntime.h:3245
↓ 3 callersMethodset_input_metadata
Sets the input metadata for the calibrator. This is passed along to the data loader and is also used for input d
tools/Polygraphy/polygraphy/backend/trt/calibrator.py:96
↓ 3 callersMethodset_model_path
Create subdirectory for models with different config(e.g. kv cache)
demo/HuggingFace/NNDF/general_utils.py:223
↓ 3 callersMethodset_profile
Sets the active optimization profile for this runner. The runner must already be active (see ``__enter__()`` or ``activate()``).
tools/Polygraphy/polygraphy/backend/trt/runner.py:169
↓ 3 callersMethodset_return_device
Sets the return device of the return via to(). Device name should be the same as torch devices: cuda, cpu, etc. This is used in our m
demo/HuggingFace/T5/trt.py:306
↓ 3 callersMethodsetup_parser
Set up a command-line argument parser. Args: subparsers (argparse.SubParsers): A subparser group fro
tools/Polygraphy/polygraphy/tools/base/tool.py:38
↓ 3 callersFunctionsin
Sine function. \param arg function argument \return sine value of \a arg template<typename T> typename enable<expr,T>::type sin(T arg) { return functi
samples/common/half.h:3243
↓ 3 callersFunctionsin
Sine function. \param arg function argument \return sine value of \a arg template<typename T> typename enable<expr,T>::type sin(T arg) { return functi
parsers/common/ieee_half.h:2434
↓ 3 callersFunctionsize
Returns the size in bytes of the specified data type.
python/src/utils.cpp:34
↓ 3 callersMethodsleep
samples/common/sampleDevice.h:90
↓ 3 callersFunctionsummary_dict
Create a dictionary of important attributes of the engine plan.
tools/experimental/trt-engine-explorer/trex/engine_plan.py:164
↓ 3 callersFunctionsupports_model
Invokes the ONNX parser's `supports_model` on the specified model. Args: path (str): The path to the ONNX model. Returns:
tools/Polygraphy/polygraphy/tools/inspect/subtool/capability.py:65
↓ 3 callersMethodterminate
plugin/fcPlugin/fcPlugin.cpp:658
↓ 3 callersFunctionthrowPyError
python/src/utils.cpp:100
↓ 3 callersFunctionto_dot
Convert plan-graph to dot format
tools/experimental/trt-engine-explorer/trex/graphing.py:778
↓ 3 callersMethodto_trt
Creates a TensorRT IOptimizationProfile based on the values set in this Profile. Args: builder (trt.Builder):
tools/Polygraphy/polygraphy/backend/trt/profile.py:145
↓ 3 callersMethodto_yaml
Create yaml serialization Some attributes need special treatment to have human readable form, including amax, axis.
tools/pytorch-quantization/pytorch_quantization/tensor_quant.py:200
↓ 3 callersFunctiontoposort_linear_graph
()
tools/onnx-graphsurgeon/tests/ir/test_graph.py:374
↓ 3 callersMethodtrain
(epoch)
samples/python/network_api_pytorch_mnist/model.py:85
↓ 3 callersFunctionvolume
(obj)
tools/Polygraphy/polygraphy/util/util.py:734
↓ 3 callersMethodweight_quantizer
(self)
tools/pytorch-quantization/pytorch_quantization/nn/modules/_utils.py:93
↓ 3 callersFunctionwhitespace_tokenize
Runs basic whitespace cleaning and splitting on a piece of text.
demo/BERT/helpers/tokenization.py:168
↓ 2 callersMethodCropAndResize
(self, unsqeeze_input, relu_node_outputs, cnr_num)
samples/python/tensorflow_object_detection_api/create_onnx.py:378
↓ 2 callersFunctionIPluginV2
include/NvInferRuntimePlugin.h:388
↓ 2 callersFunctionIPluginV2Ext
include/NvInferRuntimePlugin.h:571
↓ 2 callersMethodLogger
quickstart/common/logging.h:210
↓ 2 callersFunctionLtGemmSearch
plugin/fcPlugin/fcPlugin.h:186
↓ 2 callersMethodNMS
(self, boxes, scores, anchors, background_class, score_activation, max_proposals, iou_threshold, nms_score_thr
samples/python/detectron2/create_onnx.py:245
↓ 2 callersMethodNMS
(self, box_net_tensor, class_net_tensor, anchors_tensor, background_class, score_activation, iou_threshold, nm
samples/python/tensorflow_object_detection_api/create_onnx.py:324
↓ 2 callersFunctionPYBIND11_OVERLOAD_PURE_NAME
python/src/infer/pyCore.cpp:730
↓ 2 callersMethodROIAlign
(self, rois, p2, p3, p4, p5, pooled_size, sampling_ratio, roi_align_type, num_rois, ra_name)
samples/python/detectron2/create_onnx.py:300
↓ 2 callersFunction_QuantizeAndDequantize
Adds a fake quantization operation. Depending on value of per_channel, this operation may do global quantization or per channel quantization.
tools/tensorflow-quantization/tensorflow_quantization/quantizers.py:144
↓ 2 callersMethod__add_egress_edges
(self, region: Region, generation: RegionGeneration)
tools/experimental/trt-engine-explorer/trex/graphing.py:339
↓ 2 callersMethod__init__
(self, block: Type[Union[BasicBlock, Bottleneck]], layers: List[int],
tools/pytorch-quantization/examples/torchvision/models/classification/resnet.py:228
↓ 2 callersMethod__init__
( self, num_features: int, eps: float = 1e-5, momentum: float = 0.1, affine: bool = False,
tools/pytorch-quantization/pytorch_quantization/nn/modules/quant_instancenorm.py:37
↓ 2 callersMethod__init__
(self)
tools/Polygraphy/polygraphy/tools/debug/subtool/reduce.py:168
↓ 2 callersMethod__init__
(self)
tools/Polygraphy/polygraphy/tools/debug/subtool/precision.py:124
↓ 2 callersMethod__init__
Args: allow_custom_outputs (bool): Whether to allow marking custom output tensors. Defaul
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:129
↓ 2 callersMethod__init__
Args: allow_shape_inference (bool): Whether to allow shape inference when saving models.
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:217
↓ 2 callersMethod__init__
(self, path, shapes, outputs)
tools/Polygraphy/polygraphy/backend/trt_legacy.py:38
↓ 2 callersMethod__init__
(self, block: Type[Union[BasicBlock, Bottleneck]], layers: List[int],
tools/experimental/trt-engine-explorer/examples/pytorch/resnet/qat_model.py:221
↓ 2 callersMethod__init__
(self)
demo/HuggingFace/GPT2/trt.py:325
↓ 2 callersMethod__init__
( self, network_config: NNConfig, description: str, frameworks_cmd: FrameworkC
demo/HuggingFace/NNDF/interface.py:448
↓ 2 callersMethod__init__
(self, n_in_channels, n_mel_channels, n_layers, n_channels, kernel_size)
demo/Tacotron2/waveglow/model.py:92
↓ 2 callersMethod__init__
(self, tacotron2)
demo/Tacotron2/tensorrt/convert_tacotron22onnx.py:80
← previousnext →801–900 of 8,179, ranked by callers