MCPcopy Create free account

hub / github.com/NVIDIA/TensorRT / functions

Functions8,179 in github.com/NVIDIA/TensorRT

↓ 2 callersMethod__init__
(self, in_channels, out_channels, kernel_size=1, stride=1, padding=None, dilation=1, bias=Tru
demo/Tacotron2/common/layers.py:38
↓ 2 callersFunction__parse_log_file
(file_name: str, sections: List)
tools/experimental/trt-engine-explorer/utils/parse_trtexec_log.py:85
↓ 2 callersMethod__polygraphy_import_mod
(self)
tools/Polygraphy/polygraphy/mod/importer.py:209
↓ 2 callersMethod__setattr__
(self, name, value)
tools/Polygraphy/polygraphy/mod/importer.py:218
↓ 2 callersMethod__str__
(self)
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/tensor.py:138
↓ 2 callersMethod_add_modify_onnx_outputs
(self, script, loader_name, disable_custom_outputs: bool = None)
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:525
↓ 2 callersFunction_add_to_all
(symbol, module)
tools/Polygraphy/polygraphy/mod/exporter.py:29
↓ 2 callersMethod_add_to_script_helper
(self, script, user_input_metadata_str=None)
tools/Polygraphy/polygraphy/tools/args/comparator/data_loader.py:188
↓ 2 callersMethod_allocate_memory
Helper function for binding several inputs at once and pre-allocating the results.
demo/HuggingFace/BART/trt.py:92
↓ 2 callersFunction_aspect_preserving_resize
Resize images preserving the original aspect ratio. Args: image (tf.Tensor): A 3-D image `Tensor`. resize_min (int): A python int
tools/tensorflow-quantization/examples/data/data_loader.py:159
↓ 2 callersFunction_central_crop
(image, crop_height, crop_width)
tools/tensorflow-quantization/examples/data/data_loader.py:197
↓ 2 callersFunction_check_ext_weights_model
(model)
tools/Polygraphy/tests/tools/args/backend/onnx/test_loader.py:33
↓ 2 callersFunction_check_has_tensors
(model, outputs)
tools/Polygraphy/polygraphy/backend/onnx/util.py:54
↓ 2 callersMethod_check_host_buffer
(self, host_buffer, copying_from)
tools/Polygraphy/polygraphy/cuda/cuda.py:262
↓ 2 callersMethod_check_types
(self, key, val)
tools/Polygraphy/polygraphy/common/interface.py:53
↓ 2 callersFunction_clean_text
(text, cleaner_names)
demo/Tacotron2/tacotron2/text/__init__.py:56
↓ 2 callersFunction_compute_amax_mse
Returns amax that minimizes MSE of the collected histogram
tools/pytorch-quantization/pytorch_quantization/calib/histogram.py:258
↓ 2 callersFunction_compute_amax_percentile
Returns amax that clips the percentile fraction of collected data
tools/pytorch-quantization/pytorch_quantization/calib/histogram.py:288
↓ 2 callersFunction_define_in_module
(name, symbol, module)
tools/Polygraphy/polygraphy/mod/exporter.py:36
↓ 2 callersFunction_do_inference_base
(inputs, outputs, stream, execute_async)
samples/python/common.py:235
↓ 2 callersFunction_get_best_indexes
Get the n-best logits from a list.
demo/BERT/helpers/data_processing.py:212
↓ 2 callersMethod_get_file_list
(self)
tools/Polygraphy/tests/test_examples.py:153
↓ 2 callersFunction_get_previous_layers_class_and_module_and_name
For a given layer return a dictionary with name, module and class information of all previous layers.
tools/tensorflow-quantization/tensorflow_quantization/utils.py:275
↓ 2 callersMethod_get_range
(self, name, cast_type)
tools/Polygraphy/polygraphy/comparator/data_loader.py:121
↓ 2 callersMethod_get_tf_name_of_node
(self, onnx_node)
tools/tensorflow-quantization/tests/onnx_graph_qdq_validator.py:135
↓ 2 callersMethod_get_used_node_ids
(self)
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:223
↓ 2 callersMethod_is_valid_filename
Checks if a given filename is valid, helpful for cross platform dependencies.
demo/HuggingFace/NNDF/networks.py:183
↓ 2 callersFunction_loadYAML
(yaml_path)
samples/python/downloader.py:57
↓ 2 callersFunction_merge_keys_values
( keys_lists: List[List], values_lists: List[List], empty_placeholder: object )
tools/experimental/trt-engine-explorer/trex/misc.py:43
↓ 2 callersFunction_normalize_distr
(distr)
tools/pytorch-quantization/pytorch_quantization/calib/histogram.py:191
↓ 2 callersFunction_parse_cmudict
(file)
demo/Tacotron2/tacotron2/text/cmudict.py:61
↓ 2 callersMethod_parse_constant
(const)
tools/experimental/trt-engine-explorer/trex/layer.py:51
↓ 2 callersFunction_print_model_weights_shapes
Print shapes of all weights Args: model: Keras model
tools/tensorflow-quantization/tests/quantize_test.py:39
↓ 2 callersMethod_remove_artifacts
(self, must_exist=True)
tools/Polygraphy/tests/test_examples.py:156
↓ 2 callersMethod_render
(self, choice, values)
tools/experimental/trt-engine-explorer/trex/interactive.py:56
↓ 2 callersMethod_render
(self, title, renderer)
tools/experimental/trt-engine-explorer/trex/interactive.py:92
↓ 2 callersMethod_set_power_limit
(self, power_limit: float)
tools/experimental/trt-engine-explorer/utils/config_gpu.py:179
↓ 2 callersMethod_setup_engines
( self, metadata: NetworkMetadata, hash_onnx_fpath: Dict[str, NetworkModel], b
demo/HuggingFace/T5/trt.py:630
↓ 2 callersMethod_setup_engines
( self, metadata: NetworkMetadata, hash_onnx_fpath: Dict[str, NetworkModel], b
demo/HuggingFace/BART/trt.py:825
↓ 2 callersMethod_setup_engines
( self, metadata: NetworkMetadata, hash_onnx_fpath: Dict[str, NetworkModel], b
demo/HuggingFace/GPT2/trt.py:484
↓ 2 callersFunction_shorten_text
(w)
demo/HuggingFace/NNDF/general_utils.py:84
↓ 2 callersMethod_should_quantization_this_index
(self, i)
tools/tensorflow-quantization/tensorflow_quantization/quantize_wrappers.py:417
↓ 2 callersMethod_split_path
(self, path)
tools/Polygraphy/polygraphy/logger/logger.py:90
↓ 2 callersMethod_str_from_module_info
(self, module, name=None)
tools/Polygraphy/polygraphy/logger/logger.py:610
↓ 2 callersFunction_strip_spaces
(text)
demo/BERT/helpers/data_processing.py:253
↓ 2 callersMethod_to_lazy
(nparray)
tools/Polygraphy/polygraphy/comparator/struct.py:92
↓ 2 callersMethod_to_lazy_dict
(nparray_dict)
tools/Polygraphy/polygraphy/comparator/struct.py:98
↓ 2 callersMethod_travel
Gets layer info by dissecting the model (need for multi-layered models) Args: keras_model (tf.keras.Model): Keras model
tools/tensorflow-quantization/tensorflow_quantization/utils.py:212
↓ 2 callersMethodactivate
Activate the runner for inference. For example, this may involve allocating CPU or GPU memory. Generally, you should use a context m
tools/Polygraphy/polygraphy/backend/base/runner.py:74
↓ 2 callersMethodadd
A helper to create a ``List[IterationResult]`` and map it to the specified runner_name. This method cannot be used to modify an exis
tools/Polygraphy/polygraphy/comparator/struct.py:234
↓ 2 callersMethodaddBinding
samples/common/sampleInference.cpp:1376
↓ 2 callersMethodaddConvolution
\brief Add a convolution layer to the network. \param input The input tensor to the convolution. \param nbOutputMaps The number of output feature map
include/NvInfer.h:6941
↓ 2 callersMethodaddDeconvolution
\brief Add a deconvolution layer to the network. \param input The input tensor to the layer. \param nbOutputMaps The number of output feature maps. \
include/NvInfer.h:7102
↓ 2 callersMethodaddFullyConnected
\brief Add a fully connected layer to the network. \param input The input tensor to the layer. \param nbOutputs The number of outputs of the layer. \
include/NvInfer.h:6964
↓ 2 callersMethodaddGather
\brief Add gather with mode GatherMode::kDEFAULT and specified axis and nbElementWiseDims=0. \param data The tensor to gather values from. \param ind
include/NvInfer.h:7374
↓ 2 callersMethodaddOptimizationProfile
\brief Adds an optimization profile for dynamic shapes
samples/sampleNamedDimensions/sampleNamedDimensions.cpp:226
↓ 2 callersMethodaddRecurrence
\brief Create a recurrence layer for this loop with initialValue as its first input. IRecurrenceLayer requires exactly two inputs. The 2nd input mus
include/NvInfer.h:5664
↓ 2 callersMethodaddReduce
\brief Add a reduce layer to the network. \param input The input tensor to the layer. \param operation The reduction operation to perform. \param red
include/NvInfer.h:7323
↓ 2 callersMethodaddSoftMax
\brief Add a SoftMax layer to the network. \see ISoftMaxLayer \warning Int32 tensors are not valid input tensors. \return The new SoftMax layer, or
include/NvInfer.h:7062
↓ 2 callersMethodaddUnary
\brief Add a unary layer to the network. \param input The input tensor to the layer. \param operation The operation to apply. \see IUnaryLayer Gene
include/NvInfer.h:7152
↓ 2 callersFunctionadd_binding_to_metadata
(engine, binding, metadata, name_binding)
tools/Polygraphy/polygraphy/backend/trt/util.py:730
↓ 2 callersMethodadd_cmd_args
Add the args to `self.cmd_args`. The function handles both args and kwargs
tools/polygraphy-extension-trtexec/polygraphy_trtexec/backend/runner.py:264
↓ 2 callersFunctionadd_extra_fp32
Force operations involved in layer norm to run in FP32 precision.
demo/HuggingFace/T5/export.py:57
↓ 2 callersFunctionadd_extra_fp32
Force operations involved in layer norm to run in FP32 precision.
demo/HuggingFace/BART/export.py:54
↓ 2 callersFunctionadd_matmul_as_fc
(net, input, outputs, w, b)
samples/python/network_api_pytorch_mnist/sample.py:46
↓ 2 callersMethodadd_to_script_impl
(self, script, *args, **kwargs)
tools/Polygraphy/polygraphy/tools/args/base.py:155
↓ 2 callersFunctionaligned_merge_plans
Return a dataframe containing merged layers from the two plans, after their layers have been aligned.
tools/experimental/trt-engine-explorer/trex/compare_engines.py:400
↓ 2 callersMethodallInputDimensionsSpecified
\brief Whether all dynamic dimensions of input tensors have been specified \return True if all dynamic dimensions of input tensors have been specifie
include/NvInferRuntime.h:3003
↓ 2 callersFunctionall_default
(arg_list)
tools/Polygraphy/polygraphy/util/util.py:1011
↓ 2 callersFunctionall_tensor_names
(model, include_inputs=None)
tools/Polygraphy/polygraphy/backend/onnx/util.py:44
↓ 2 callersFunctionallocate_buffers
Function to allocate buffers and bindings for TensorRT inference. Args: engine (trt.ICudaEngine): batch_size (int): batch si
tools/tensorflow-quantization/examples/infer_engine.py:49
↓ 2 callersMethodamax
(self)
tools/pytorch-quantization/pytorch_quantization/tensor_quant.py:124
↓ 2 callersMethodappend_preimport
Append a line to the pre-import prefix of the script. Args: line (str): The line to append.
tools/Polygraphy/polygraphy/tools/script.py:360
↓ 2 callersFunctionappend_trtexec_args
(trt_args: Dict, cmd_line: List[str])
tools/experimental/trt-engine-explorer/utils/process_engine.py:301
↓ 2 callersFunctionapply_no_ans_threshold
(scores, na_probs, qid_to_has_ans, na_prob_thresh)
demo/BERT/squad/evaluate-v2.0.py:122
↓ 2 callersFunctionapply_repr
(obj)
tools/Polygraphy/polygraphy/util/util.py:978
↓ 2 callersMethodargs_to_network_models
Converts argparse arguments into a list of valid NetworkModel fpaths. Specifically for ONNX. Invokes conversion scripts if not.
demo/HuggingFace/NNDF/interface.py:437
↓ 2 callersMethodargs_to_network_models
Converts argparse arguments into a list of valid NetworkModel fpaths. Specifically for ONNX. Invokes conversion scripts if not.
demo/HuggingFace/NNDF/interface.py:525
↓ 2 callersFunctionassert_add_bn_expected_layers
( r, expected_add_layer_behavior, expected_bn_layer_behavior, expected_mp_layer_behavior )
tools/tensorflow-quantization/tests/custom_qdq_cases_test.py:65
↓ 2 callersFunctionattrs_to_dict
(attrs)
tools/Polygraphy/polygraphy/backend/onnx/util.py:251
↓ 2 callersMethodbacktrace
(self, depth=0, limit=None, severity=ERROR)
tools/Polygraphy/polygraphy/logger/logger.py:455
↓ 2 callersFunctionbatch_to_gpu
(batch)
demo/Tacotron2/waveglow/data_function.py:73
↓ 2 callersMethodbeginCapture
samples/common/sampleDevice.h:182
↓ 2 callersFunctionbinary
(mode)
tools/Polygraphy/polygraphy/util/util.py:423
↓ 2 callersMethodbuild
\brief Creates the network, configures the builder and creates the network engine \details This function creates the single layer network by manual i
samples/sampleIOFormats/sampleIOFormats.cpp:303
↓ 2 callersFunctionbuildBetaAndGamma
plugin/skipLayerNormPlugin/skipLayerNormInt8InterleavedPlugin.cpp:498
↓ 2 callersFunctionbuild_engine
(batch_sizes, workspace_size, sequence_lengths, config, weights_dict, squad_json, vocab_file, calibrationCache
demo/BERT/builder.py:401
↓ 2 callersFunctionbuild_heatmaps
Display an array as an image or set of images. The last two dimensions are interpreted as the height and width and the leading dimensions are
tools/Polygraphy/polygraphy/comparator/util.py:173
↓ 2 callersMethodcachedModelName
(self, model_name)
demo/Diffusion/stable_diffusion_pipeline.py:173
↓ 2 callersFunctioncalcIndex
samples/sampleIOFormats/sampleIOFormats.cpp:519
↓ 2 callersFunctioncalculate_perplexity
( t5_encoder, t5_decoder, tokenizer, input_ids, decoder_input_ids, max_seq_len=None,
demo/HuggingFace/T5/measurements.py:104
↓ 2 callersFunctioncalculate_perplexity
( BART_encoder, BART_decoder, tokenizer, input_ids, decoder_input_ids, max_seq_len=Non
demo/HuggingFace/BART/measurements.py:247
↓ 2 callersFunctioncalculate_perplexity
(gpt2, input_ids, max_seq_len=None, use_cuda=True)
demo/HuggingFace/GPT2/measurements.py:87
↓ 2 callersMethodcall_impl
Returns: trt.ICudaEngine: The engine that was saved.
tools/Polygraphy/polygraphy/backend/trt/loader.py:726
↓ 2 callersFunctioncallee
()
tools/Polygraphy/tests/util/test_util.py:254
↓ 2 callersMethodcase
( self, keras_model: tf.keras.Model, qspec: QuantizationSpec )
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:202
↓ 2 callersMethodcase
( self, keras_model: tf.keras.Model, qspec: QuantizationSpec )
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:235
↓ 2 callersFunctionchange_col_order
Change the dataframe columns-order (place common fields earlier)
tools/experimental/trt-engine-explorer/trex/df_preprocessing.py:230
↓ 2 callersFunctioncheckConfigurationInputs
plugin/embLayerNormPlugin/embLayerNormVarSeqlenPlugin.cpp:268
↓ 2 callersFunctioncheckDescs
plugin/skipLayerNormPlugin/skipLayerNormInt8InterleavedPlugin.cpp:234
← previousnext →901–1,000 of 8,179, ranked by callers