MCPcopy Create free account

hub / github.com/NVIDIA/TensorRT / functions

Functions8,179 in github.com/NVIDIA/TensorRT

↓ 5 callersMethodsetPluginNamespace
plugin/efficientNMSPlugin/efficientNMSPlugin.cpp:116
↓ 5 callersFunctionto_json
Encode an object to JSON. NOTE: For Polygraphy objects, you should use the ``to_json()`` method instead. Returns: str: A JSON r
tools/Polygraphy/polygraphy/json/serde.py:253
↓ 5 callersMethodto_variable
Modifies this tensor in-place to convert it to a Variable. This means that all consumers/producers of the tensor will see the update.
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/tensor.py:83
↓ 5 callersMethodtooltip
(self)
tools/experimental/trt-engine-explorer/trex/layer.py:79
↓ 5 callersMethodtransform
(self, input_data)
demo/Tacotron2/common/stft.py:94
↓ 5 callersMethodvalues
Creates a generator that yields runner outputs (List[IterationResult]).
tools/Polygraphy/polygraphy/comparator/struct.py:215
↓ 4 callersMethod__init__
Saves an ONNX model to the specified path. Args: model (Union[onnx.ModelProto, Callable() -> onnx.ModelProto]):
tools/Polygraphy/polygraphy/backend/onnx/loader.py:779
↓ 4 callersMethod__init__
(self, hf_token, device, verbose, path, max_batch_size, embedd
demo/Diffusion/models.py:328
↓ 4 callersMethod__init__
(self, model, network_metadata)
demo/HuggingFace/GPT2/export.py:107
↓ 4 callersMethod__init__
Since torch functions often allow for models to either be from disk as fpath or from a loaded object, we provide a similar option her
demo/HuggingFace/NNDF/models.py:160
↓ 4 callersMethod_add_to_elem
(self, elem)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:90
↓ 4 callersMethod_apply
(network, tensor_formats)
tools/Polygraphy/polygraphy/backend/trt/loader.py:394
↓ 4 callersMethod_check_type
(self, elem)
tools/Polygraphy/polygraphy/common/interface.py:135
↓ 4 callersFunction_get_layer_info
Returns the layer's class, module, and name
tools/tensorflow-quantization/tensorflow_quantization/utils.py:263
↓ 4 callersMethod_last_value_quantizer
Use currying to return True/False specialized fns to the cond.
tools/tensorflow-quantization/tensorflow_quantization/quantize_wrapper_base.py:171
↓ 4 callersMethod_make_layer
(self, block: Type[Union[BasicBlock, Bottleneck]], planes: int,
tools/pytorch-quantization/examples/torchvision/models/classification/resnet.py:313
↓ 4 callersMethod_make_layer
( self, block: Type[Union[BasicBlock, Bottleneck]], planes: int, blocks: int,
tools/experimental/trt-engine-explorer/examples/pytorch/resnet/qat_model.py:311
↓ 4 callersFunction_version_ok
(ver, preferred)
tools/Polygraphy/polygraphy/mod/importer.py:45
↓ 4 callersFunctionabs
Absolute value. \param arg operand \return absolute value of \a arg template<typename T> typename enable<T,T>::type abs(T arg) { return unary_speciali
parsers/common/ieee_half.h:2245
↓ 4 callersMethodaccuracy
(self, results: List[NetworkResult])
demo/HuggingFace/NNDF/checkpoints.py:140
↓ 4 callersMethodadd_args
(self, parser: argparse.ArgumentParser)
demo/HuggingFace/run.py:67
↓ 4 callersMethodadd_args
(self, parser)
demo/HuggingFace/NNDF/interface.py:128
↓ 4 callersMethodadd_inference_args
(parser)
demo/HuggingFace/NNDF/interface.py:68
↓ 4 callersFunctionadd_io
(tensors: List)
tools/experimental/trt-engine-explorer/trex/graphing.py:422
↓ 4 callersMethodapply_quant_modules
For the modules registered in the quant_map, simply monkey patch them and also store the original modules so that they could be later
tools/pytorch-quantization/pytorch_quantization/quant_modules.py:101
↓ 4 callersMethodassert_equal
(self, graph: Graph)
tools/onnx-graphsurgeon/tests/onnx_models.py:54
↓ 4 callersFunctionbroadcastIOFormats
samples/common/sampleUtils.cpp:119
↓ 4 callersFunctionbuild_engine
( args: Dict, timing_cache_path: str )
tools/experimental/trt-engine-explorer/utils/process_engine.py:86
↓ 4 callersMethodcase
( self, keras_model: tf.keras.Model, qspec: QuantizationSpec )
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:144
↓ 4 callersFunctioncheck
(runner)
tools/Polygraphy/tests/conftest.py:77
↓ 4 callersFunctioncheckParams
plugin/batchedNMSPlugin/batchedNMSPlugin.cpp:58
↓ 4 callersMethodcheck_forward_hidden
(self, input, hx, hidden_label='')
tools/pytorch-quantization/pytorch_quantization/nn/modules/quant_rnn.py:333
↓ 4 callersFunctioncheck_is_quantizable_by_layer_name
Checks if 'current_layer_name' is in 'qspec'. It returns True if 'current_layer_name' is NOT in 'qspec' and False if it is. This means that
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:52
↓ 4 callersMethodcheck_output
(self, status, expected_output, expected_num=2)
tools/Polygraphy/tests/tools/test_inspect.py:849
↓ 4 callersFunctioncheck_warnings_on_runner_impl_methods
Fixture that ensures warnings are emitted when `_impl` methods of runners are called.
tools/Polygraphy/tests/conftest.py:72
↓ 4 callersMethodclean
Clean quantize config object from global space. Calling this is important to use `quantize_model` multiple times within a single modu
tools/tensorflow-quantization/tensorflow_quantization/quantize_config.py:216
↓ 4 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
demo/BERT/helpers/tokenization.py:152
↓ 4 callersFunctionconvert_shape
Converts a trt shape spec to a trtexec shape spec
tools/polygraphy-extension-trtexec/polygraphy_trtexec/backend/runner.py:51
↓ 4 callersMethodcreatePlugin
plugin/fcPlugin/fcPlugin.cpp:739
↓ 4 callersFunctioncreateRuntime
samples/common/sampleEntrypoints.h:80
↓ 4 callersMethodcreateTimingCache
\brief Create timing cache Create ITimingCache instance from serialized raw data. The created timing cache doesn’t belong to a specific IBuilderConfi
include/NvInfer.h:9649
↓ 4 callersFunctioncreate_efficientnet_model
(model_version="b0")
tools/tensorflow-quantization/examples/efficientnet/utils.py:29
↓ 4 callersMethoddeserialize
plugin/splitPlugin/split.h:54
↓ 4 callersFunctiondetectionInferenceWorkspaceSize
plugin/common/kernels/kernel.cpp:24
↓ 4 callersMethoddict
Serialize to dict The build-in __dict__ method returns all the attributes, which includes those have default value and have protected
tools/pytorch-quantization/pytorch_quantization/tensor_quant.py:174
↓ 4 callersMethoddisable_quant
(self)
tools/pytorch-quantization/pytorch_quantization/nn/modules/tensor_quantizer.py:183
↓ 4 callersFunctiondivUp
samples/sampleIOFormats/sampleIOFormats.cpp:59
↓ 4 callersFunctionensure_dir
Create directory is doesn't exist already. Args: dirname: Name of the directory to create.
tools/tensorflow-quantization/examples/utils.py:88
↓ 4 callersMethodfill_defaults
Fill this profile with sane default values for any bindings whose shapes have not been set explicitly. Args: net
tools/Polygraphy/polygraphy/backend/trt/profile.py:91
↓ 4 callersFunctionfine_tune
Helper function to fine-tune QAT model. Args: q_model (tf.keras.Model): Keras model. train_batches (tf.data.Dataset): train
tools/tensorflow-quantization/examples/utils_finetuning.py:81
↓ 4 callersFunctionfmod
Remainder of division. \param x first operand \param y second operand \return remainder of floating point division. template<typename T,typename U> ty
samples/common/half.h:2885
↓ 4 callersFunctionfmod
Remainder of division. \param x first operand \param y second operand \return remainder of floating point division. template<typename T,typename U> ty
parsers/common/ieee_half.h:2260
↓ 4 callersMethodfreeze
Freeze this context so that the `state` and `iteration_info` cannot be modified.
tools/Polygraphy/polygraphy/tools/debug/subtool/iterative_debug_args.py:52
↓ 4 callersFunctionfromFloat
plugin/instanceNormalizationPlugin/instanceNormCommon.h:56
↓ 4 callersMethodfrom_feed_dict
Constructs a new TensorMetadata using information from the provided feed_dict. Args: feed_dict (OrderedDict[str, numpy.n
tools/Polygraphy/polygraphy/common/struct.py:80
↓ 4 callersFunctionfrom_json
Decode a JSON string to an object. NOTE: For Polygraphy objects, you should use the ``from_json()`` method instead. Args: src (
tools/Polygraphy/polygraphy/json/serde.py:267
↓ 4 callersMethodgetAll
\brief Get description of all weights that could be refit. \param size The number of items that can be safely written to a non-null layerNames or rol
include/NvInferRuntime.h:1030
↓ 4 callersMethodgetAllWeights
parsers/caffe/caffeWeightFactory/caffeWeightFactory.cpp:132
↓ 4 callersMethodgetBindingComponentsPerElement
\brief Return the number of components included in one element. The number of elements in the vectors is returned if getBindingVectorizedDim() != -1.
include/NvInferRuntime.h:1940
↓ 4 callersMethodgetBindingVectorizedDim
\brief Return the dimension index that the buffer is vectorized, or -1 is the name is not found. Specifically -1 is returned if scalars per vector is
include/NvInferRuntime.h:2109
↓ 4 callersMethodgetErrorRecorder
\brief get the ErrorRecorder assigned to this interface. Retrieves the assigned error recorder object for the given class. A nullptr will be returned
include/NvInferRuntime.h:766
↓ 4 callersFunctiongetFilePath
Util to get the full path to the downloaded data files. It only works when the sample doesn't have any other command line argument.
samples/python/downloader.py:205
↓ 4 callersMethodgetMissing
\brief Get description of missing weights. For example, if some Weights have been set, but the engine was optimized in a way that combines weights, a
include/NvInferRuntime.h:1013
↓ 4 callersMethodgetNbOutputs
plugin/fcPlugin/fcPlugin.cpp:647
↓ 4 callersMethodgetPrecision
\brief get the computational precision of this layer \return the computational precision \see setPrecision() precisionIsSet() resetPrecision()
include/NvInfer.h:671
↓ 4 callersFunctiongetSMVersion
plugin/common/bertCommon.h:94
↓ 4 callersFunctiongetTempfileControlDefaults
samples/common/sampleOptions.h:182
↓ 4 callersMethodgetTensorComponentsPerElement
\brief Return the number of components included in one element, or -1 if the provided name does not map to an input or output tensor. The number of e
include/NvInferRuntime.h:1961
↓ 4 callersMethodgetTensorIOMode
\brief Determine whether a tensor is an input or output tensor. \param tensorName The name of an input or output tensor. \return kINPUT if tensorNam
include/NvInferRuntime.h:1839
↓ 4 callersMethodgetTensorShape
\brief Get shape of an input or output tensor. \param tensorName The name of an input or output tensor. \return shape of the tensor, with -1 in plac
include/NvInferRuntime.h:1667
↓ 4 callersMethodgetTensorVectorizedDim
\brief Return the dimension index that the buffer is vectorized, or -1 if the provided name does not map to an input or output tensor. Specifically -
include/NvInferRuntime.h:2126
↓ 4 callersFunctionget_embedding_dim
(version)
demo/Diffusion/models.py:99
↓ 4 callersMethodget_logger
Gets the global logger after applying command-line options. Returns: G_LOGGER
tools/Polygraphy/polygraphy/tools/args/logger/logger.py:159
↓ 4 callersFunctionget_map_func
(filepath)
samples/python/engine_refit_onnx_bidaf/data_processing.py:40
↓ 4 callersMethodget_minmax_dims
(self, batch_size, image_height, image_width, static_batch, static_shape)
demo/Diffusion/models.py:179
↓ 4 callersFunctionget_plans_names
Create unique plans names
tools/experimental/trt-engine-explorer/trex/compare_engines.py:37
↓ 4 callersMethodget_runners
(self)
tools/Polygraphy/polygraphy/tools/script.py:345
↓ 4 callersFunctionget_tensor_metadata
(tensors)
tools/Polygraphy/polygraphy/backend/onnx/util.py:133
↓ 4 callersFunctionhas_dla
()
tools/Polygraphy/tests/helper.py:63
↓ 4 callersFunctionidentity_model
()
tools/onnx-graphsurgeon/tests/onnx_models.py:100
↓ 4 callersFunctioninitNvparsers
samples/trtexec/trtexec.cpp:173
↓ 4 callersMethodinput_spec
Get the specs for the input tensor of the network. Useful to prepare memory allocations. :return: Two items, the shape of the input t
samples/python/efficientdet/infer.py:99
↓ 4 callersMethodinput_spec
Get the specs for the input tensor of the network. Useful to prepare memory allocations. :return: Two items, the shape of the input t
samples/python/efficientnet/infer.py:85
↓ 4 callersMethodis_in
Whether we are currently on a line between the specified start and end marker. This will always return False for a line containing th
tools/Polygraphy/tests/test_examples.py:92
↓ 4 callersMethodlast_inference_time
Returns the total inference time in seconds required during the last call to ``infer()``. Must be called only after ``activate()`` a
tools/Polygraphy/polygraphy/backend/base/runner.py:180
↓ 4 callersMethodlint
Search for dangling Q/DQ layers.
tools/experimental/trt-engine-explorer/trex/lint.py:209
↓ 4 callersMethodload
(self, file)
quickstart/IntroNotebooks/onnx_helper.py:36
↓ 4 callersFunctionload_filepaths_and_text
(dataset_path, filename, split="|")
demo/Tacotron2/common/utils.py:53
↓ 4 callersFunctionload_initializer
(index: int)
tools/onnx-graphsurgeon/tests/onnx_models.py:127
↓ 4 callersMethodload_model
(self, log_model=True)
tools/Polygraphy/polygraphy/tools/surgeon/subtool/base.py:31
↓ 4 callersMethodload_script
Helper for loading a specific script for given network.
demo/HuggingFace/run.py:85
↓ 4 callersFunctionlotho_28_28
()
tools/tensorflow-quantization/tests/network_pool.py:226
↓ 4 callersFunctionmake_path
(prefix, *args)
tools/Polygraphy/tests/tools/conftest.py:85
↓ 4 callersFunctionmake_replay
(tactic)
tools/Polygraphy/tests/tools/conftest.py:80
↓ 4 callersMethodmemcpy
Copies data between host and device memory. Args: dst (int): The memory address of the destination,
tools/Polygraphy/polygraphy/cuda/cuda.py:150
↓ 4 callersMethodmust_use_onnx_loader
Whether this model needs to be loaded via a Polygraphy ONNX loader, e.g., in case it needs modifications. Args:
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:599
↓ 4 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
demo/BERT/squad/evaluate-v1.1.py:30
↓ 4 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
demo/BERT/squad/evaluate-v2.0.py:65
↓ 4 callersFunctiononnx_to_trt_name
Converting variables in the onnx checkpoint to names corresponding to the naming convention used in the TF version, expected by the builder
demo/BERT/builder_utils.py:154
↓ 4 callersFunctionotho_28_28
()
tools/tensorflow-quantization/tests/network_pool.py:215
← previousnext →501–600 of 8,179, ranked by callers