MCPcopy Create free account

hub / github.com/NVIDIA/TensorRT / functions

Functions8,179 in github.com/NVIDIA/TensorRT

↓ 12 callersFunctionsetup_benchmark_arg
Set up benchmarking arguments for trt
demo/HuggingFace/NNDF/tensorrt_utils.py:50
↓ 12 callersMethodunwrap
Returns the underlying string object. Returns: str
tools/Polygraphy/polygraphy/tools/script.py:241
↓ 12 callersMethodwarning
(self, message, mode=LogMode.EACH)
tools/onnx-graphsurgeon/onnx_graphsurgeon/logger/logger.py:224
↓ 11 callersMethodbuild_engine
(model, cache)
tools/Polygraphy/tests/backend/trt/test_loader.py:422
↓ 11 callersFunctionbuiltin_isnan
samples/common/half.h:582
↓ 11 callersFunctionbuiltin_isnan
parsers/common/ieee_half.h:437
↓ 11 callersMethodceil
Ceiling implementation. \param arg value to round \return rounded value
samples/common/half.h:2087
↓ 11 callersMethodcreateBuilderConfig
\brief Create a builder configuration object. \see IBuilderConfig
include/NvInfer.h:10062
↓ 11 callersFunctioncreateInferRuntime
\brief Create an instance of an IRuntime class. \param logger The logging class for the runtime.
include/NvInferRuntime.h:3754
↓ 11 callersFunctioncuda_call
(call)
samples/python/common.py:45
↓ 11 callersFunctionexp
Exponential function. \param arg function argument \return e raised to \a arg template<typename T> typename enable<expr,T>::type exp(T arg) { return f
samples/common/half.h:3072
↓ 11 callersMethodfinish
Logs a message to stdout with FINISH severity. Args: message (Union[str, Callable() -> str]): A stri
tools/Polygraphy/polygraphy/logger/logger.py:541
↓ 11 callersMethodget_lists
(self, field_names)
tools/onnx-graphsurgeon/tests/test_ir.py:235
↓ 11 callersMethoditems
Creates a generator that yields ``Tuple[str, List[IterationResult]]`` - runner names and corresponding outputs.
tools/Polygraphy/polygraphy/comparator/struct.py:200
↓ 11 callersMethodload_calib_amax
Load amax from calibrator. Updates the amax buffer with value computed by the calibrator, creating it if necessary. *args and **kwarg
tools/pytorch-quantization/pytorch_quantization/nn/modules/tensor_quantizer.py:219
↓ 11 callersFunctionmodel
Dummy network with resnet-like architecture.
tools/tensorflow-quantization/docs/source/notebooks/tiny_resnet.py:57
↓ 11 callersFunctiononnx_model_sanity_check
(poly_run)
tools/Polygraphy/tests/tools/test_surgeon.py:30
↓ 11 callersFunctionoptionalWeights
python/src/infer/pyGraph.cpp:36
↓ 11 callersMethodreportPass
samples/common/logging.h:418
↓ 11 callersMethodresize
Resizes or reshapes the array to the specified shape. If the allocated memory region is already large enough, no reallocatio
tools/Polygraphy/polygraphy/cuda/cuda.py:389
↓ 11 callersMethodsetProfileStream
\brief Set the cuda stream that is used to profile this network. \param stream The cuda stream used for profiling by the builder. \see getProfileStr
include/NvInfer.h:9420
↓ 11 callersFunctionset_output_range
(layer, maxval, out_idx = 0)
demo/BERT/builder_varseqlen.py:95
↓ 11 callersFunctionsqrt
Square root. \param arg function argument \return square root of \a arg template<typename T> typename enable<expr,T>::type sqrt(T arg) { return functi
parsers/common/ieee_half.h:2396
↓ 11 callersMethodvalues
(self)
tools/Polygraphy/polygraphy/tools/args/backend/runner_select.py:41
↓ 11 callersMethodverbose
(self, message, mode=LogMode.EACH)
tools/onnx-graphsurgeon/onnx_graphsurgeon/logger/logger.py:215
↓ 10 callersMethod__init__
(self, model, network_metadata)
demo/HuggingFace/T5/export.py:245
↓ 10 callersMethodaddElementWise
\brief Add an elementwise layer to the network. \param input1 The first input tensor to the layer. \param input2 The second input tensor to the layer
include/NvInfer.h:7130
↓ 10 callersMethodbuildSerializedNetwork
\brief Builds and serializes a network for the given INetworkDefinition and IBuilderConfig. This function allows building and serialization of a netw
include/NvInfer.h:10178
↓ 10 callersMethodcopy_to
Copies from this device buffer to the provided host buffer. Args: host_buffer (numpy.ndarray): The h
tools/Polygraphy/polygraphy/cuda/cuda.py:308
↓ 10 callersMethodcreateNetworkV2
\brief Create a network definition object Creates a network definition object with immutable properties specified using the flags parameter. CreateNe
include/NvInfer.h:10095
↓ 10 callersMethoddump
samples/common/sampleInference.cpp:1328
↓ 10 callersMethodenqueueV2
\brief Enqueue inference on a stream. This method requires an array of input and output buffers. The mapping from tensor names to indices can be quer
include/NvInferRuntime.h:3101
↓ 10 callersMethodextend
(self, iterable: Sequence[object])
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:111
↓ 10 callersMethodget_input_metadata
Returns information about the inputs of the model. Shapes here may include dynamic dimensions, represented by ``None``. Must
tools/Polygraphy/polygraphy/backend/base/runner.py:106
↓ 10 callersMethodget_weights
(self)
samples/python/network_api_pytorch_mnist/model.py:129
↓ 10 callersMethodinit
plugin/fcPlugin/fcPlugin.h:108
↓ 10 callersMethodload_onnx
Loads an ONNX model according to arguments provided on the command-line. Returns: onnx.ModelProto: The model that was lo
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:629
↓ 10 callersMethodlog
plugin/common/checkMacrosPlugin.cpp:150
↓ 10 callersFunctionsave
(graph, model_name)
tools/Polygraphy/tests/models/make_models.py:106
↓ 10 callersMethodsave_onnx
Saves an ONNX model according to arguments provided on the command-line. Args: model (onnx.ModelProto): The ONNX model t
tools/Polygraphy/polygraphy/tools/args/backend/onnx/loader.py:367
↓ 10 callersFunctionvoid_ptr
(val=None)
tools/Polygraphy/polygraphy/cuda/cuda.py:27
↓ 10 callersFunctionwriteToSmem
plugin/instanceNormalizationPlugin/instanceNormCommon.h:376
↓ 9 callersMethod__init__
(self, model, network_metadata)
demo/HuggingFace/BART/export.py:190
↓ 9 callersFunction_resnet
(arch: str, block: Type[Union[BasicBlock, Bottleneck]], layers: List[int], pretrained: bool, progress: bool,
tools/pytorch-quantization/examples/torchvision/models/classification/resnet.py:371
↓ 9 callersFunction_should_use_v3_api
()
tools/Polygraphy/polygraphy/backend/trt/util.py:76
↓ 9 callersMethodaddConstant
\brief Add a constant layer to the network. \param dimensions The dimensions of the constant. \param weights The constant value, represented as weigh
include/NvInfer.h:7471
↓ 9 callersFunctionadd_line
(title, line)
tools/Polygraphy/polygraphy/backend/trt/util.py:398
↓ 9 callersFunctionallocateChunk
plugin/regionPlugin/regionPlugin.cpp:40
↓ 9 callersFunctionbuiltin_signbit
samples/common/half.h:599
↓ 9 callersFunctionbuiltin_signbit
parsers/common/ieee_half.h:453
↓ 9 callersMethodcompute_amax
Return the absolute max of all tensors collected
tools/pytorch-quantization/pytorch_quantization/calib/max.py:89
↓ 9 callersFunctioncreateInferBuilder
\brief Create an instance of an IBuilder class. \param logger The logging class for the builder. unnamed namespace avoids linkage surprises when lin
include/NvInfer.h:10279
↓ 9 callersFunctiondefault
Returns a specified default value if the provided value is None. Args: value : The value. default : The default value to use
tools/Polygraphy/polygraphy/util/util.py:219
↓ 9 callersMethodgetBindingName
\brief Retrieve the name corresponding to a binding index. This is the reverse mapping to that provided by getBindingIndex(). For optimization profi
include/NvInferRuntime.h:1610
↓ 9 callersMethodgetKernelWeights
\brief Get the kernel weights of the convolution. \see setKernelWeights()
include/NvInfer.h:1227
↓ 9 callersMethodgetNbBindings
\brief Get the number of binding indices. There are separate binding indices for each optimization profile. This method returns the total over all pr
include/NvInferRuntime.h:1559
↓ 9 callersFunctiongetOverride
python/include/utils.h:66
↓ 9 callersFunctionget_file_size
(path)
tools/Polygraphy/tests/helper.py:37
↓ 9 callersMethodimport_graph
Imports a Graph from an ONNX Graph. Args: onnx_graph (onnx.GraphProto): The ONNX graph to import. tensor_ma
tools/onnx-graphsurgeon/onnx_graphsurgeon/importers/onnx_importer.py:197
↓ 9 callersMethodimport_tensor
(onnx_tensor: Union[onnx.ValueInfoProto, onnx.TensorProto])
tools/onnx-graphsurgeon/onnx_graphsurgeon/importers/onnx_importer.py:93
↓ 9 callersFunctionload_and_setup_model
(model_name, parser, checkpoint, fp16_run, cpu_run, forward_is_infer=False)
demo/Tacotron2/inference.py:101
↓ 9 callersFunctionload_engine
(engine_filepath, trt_logger)
demo/Tacotron2/tensorrt/trt_utils.py:64
↓ 9 callersFunctionlog
Natural logorithm. \param arg function argument \return logarithm of \a arg to base e template<typename T> typename enable<expr,T>::type log(T arg) {
samples/common/half.h:3111
↓ 9 callersFunctionlog
Natural logorithm. \param arg function argument \return logarithm of \a arg to base e template<typename T> typename enable<expr,T>::type log(T arg) {
parsers/common/ieee_half.h:2364
↓ 9 callersFunctionmakeCudaStream
samples/common/common.h:386
↓ 9 callersFunctionmake_poly_fixture
(subtool: List[str])
tools/Polygraphy/tests/tools/conftest.py:30
↓ 9 callersFunctionmeasure_python_inference_code
Measures the time it takes to run Pythonic inference code. Statement given should be the actual model inference like forward() in torch.
demo/HuggingFace/NNDF/general_utils.py:151
↓ 9 callersFunctionreadFromSmem
plugin/instanceNormalizationPlugin/instanceNormCommon.h:315
↓ 9 callersMethodrelease
(self)
demo/HuggingFace/NNDF/tensorrt_utils.py:245
↓ 9 callersFunctionrelu_bn
Block with BN+ReLU
tools/tensorflow-quantization/tests/network_pool.py:136
↓ 9 callersMethodrun
Runs this tool with the specified arguments. This must be called only after calling `parse()`. Args: args (Names
tools/Polygraphy/polygraphy/tools/base/tool.py:160
↓ 9 callersFunctionsafeFree
plugin/regionPlugin/regionPlugin.cpp:30
↓ 9 callersMethodsave
Save the ONNX model to the given location. :param output_path: Path pointing to the location where to write out the updated ONNX mode
samples/python/detectron2/create_onnx.py:189
↓ 9 callersFunctionset_output_range
(layer, maxval, out_idx = 0)
demo/BERT/builder.py:85
↓ 9 callersFunctionsetup
(app)
tools/Polygraphy/docs/conf.py:95
↓ 9 callersMethodsigmoid
Return the sigmoid of the input.
samples/python/yolov3_onnx/data_processing.py:224
↓ 9 callersMethodsynchronize
Synchronizes the stream.
tools/Polygraphy/polygraphy/cuda/cuda.py:227
↓ 9 callersFunctiontoFloat
plugin/instanceNormalizationPlugin/instanceNormCommon.h:100
↓ 9 callersFunctionwrapper
Returns the global Polygraphy CUDA wrapper. Returns: Cuda: The global CUDA wrapper.
tools/Polygraphy/polygraphy/cuda/cuda.py:181
↓ 8 callersFunctionTypedDict
Returns a class (not an instance) that will provide a dictionary-like interface with runtime type checks. Note: The types are provided l
tools/Polygraphy/polygraphy/common/interface.py:32
↓ 8 callersMethod__init__
(self, kernel_size, stride=None, padding=0, dilation=1, return_indices=False, ceil_mode=False
tools/pytorch-quantization/pytorch_quantization/nn/modules/quant_pooling.py:39
↓ 8 callersFunctionallocate_binding_buffer
Allocate binding buffers for trt based on provided types and shapes dict
demo/HuggingFace/NNDF/tensorrt_utils.py:59
↓ 8 callersMethodas_trt_engine
Converts current model into an TRT engine. Uses provided converter to convert object or default_convert is used instead if available.
demo/HuggingFace/NNDF/models.py:225
↓ 8 callersFunctioncheck_warning
(method, warning_expected)
tools/Polygraphy/tests/conftest.py:93
↓ 8 callersMethodcleanup
(self, return_onnx=False)
demo/Diffusion/models.py:43
↓ 8 callersMethoddeactivate
Deactivate the runner. For example, this may involve freeing CPU or GPU memory. Generally, you should use a context manager instead
tools/Polygraphy/polygraphy/backend/base/runner.py:203
↓ 8 callersMethoddefineTest
\brief Define a test for logging \param[in] name The name of the test. This should be a string starting with "TensorRT" and containing dot-separated
samples/common/logging.h:365
↓ 8 callersMethodexport_value_info_proto
(tensor: Variable, do_type_check: bool)
tools/onnx-graphsurgeon/onnx_graphsurgeon/exporters/onnx_exporter.py:47
↓ 8 callersFunctionfabs
Absolute value. \param arg operand \return absolute value of \a arg template<typename T> typename enable<T,T>::type fabs(T arg) { return unary_special
samples/common/half.h:2871
↓ 8 callersFunctionfabs
Absolute value. \param arg operand \return absolute value of \a arg template<typename T> typename enable<T,T>::type fabs(T arg) { return unary_special
parsers/common/ieee_half.h:2252
↓ 8 callersFunctionfake_algo
(implementation=6, tactic=0, io=None)
tools/Polygraphy/tests/backend/trt/test_algorithm_selector.py:48
↓ 8 callersMethodfold_constants
(self, return_onnx=False)
demo/Diffusion/models.py:54
↓ 8 callersMethodforward
(self, input)
tools/pytorch-quantization/pytorch_quantization/nn/modules/quant_pooling.py:46
↓ 8 callersMethodgetBiasWeights
\brief Get the bias weights for the convolution. \see setBiasWeights()
include/NvInfer.h:1252
↓ 8 callersMethodget_data_loader
Creates a data loader according to arguments provided on the command-line. Returns: Sequence[OrderedDict[str, numpy.ndar
tools/Polygraphy/polygraphy/tools/args/comparator/data_loader.py:253
↓ 8 callersMethodget_opset
(model: onnx.ModelProto)
tools/onnx-graphsurgeon/onnx_graphsurgeon/importers/onnx_importer.py:77
↓ 8 callersFunctiongroup_count
(df, grouping_attr)
tools/experimental/trt-engine-explorer/trex/misc.py:28
↓ 8 callersFunctioninline_identifier
Returns an inline safe string if the provided string is an identifier and raises an exception otherwise. Args: ident (str): The stri
tools/Polygraphy/polygraphy/tools/script.py:27
↓ 8 callersMethodload_network
Loads a TensorRT Network model according to arguments provided on the command-line. Returns: tensorrt.INetworkDefinition
tools/Polygraphy/polygraphy/tools/args/backend/trt/loader.py:353
↓ 8 callersMethodmarkOutput
\brief Mark a tensor as a network output. \param tensor The tensor to mark as an output tensor. \warning It is an error to mark a network input as a
include/NvInfer.h:6918
← previousnext →201–300 of 8,179, ranked by callers