MCPcopy Create free account

hub / github.com/NVIDIA/TensorRT / functions

Functions8,179 in github.com/NVIDIA/TensorRT

↓ 619 callersFunctionprint
samples/common/sampleUtils.cpp:376
↓ 526 callersMethodappend
(self, elem)
tools/Polygraphy/polygraphy/common/interface.py:157
↓ 407 callersMethodsize
samples/common/common.h:303
↓ 327 callersMethodc_str
python/include/ForwardDeclarations.h:65
↓ 294 callersMethodnumpy
Create a new NumPy array containing the contents of this device buffer. Returns: np.ndarray: The newly created NumPy arr
tools/Polygraphy/polygraphy/cuda/cuda.py:337
↓ 287 callersFunctioncaughtError
plugin/common/checkMacrosPlugin.h:166
↓ 236 callersMethodget
Get the logging verbosity for the given path. Args: path (str): The path Returns: int: The logging
tools/Polygraphy/polygraphy/logger/logger.py:109
↓ 227 callersMethoddata
samples/common/common.h:299
↓ 185 callersFunctionwrite
plugin/common/plugin.h:85
↓ 171 callersMethoddetach
plugin/fcPlugin/fcPlugin.h:240
↓ 170 callersMethoddefault
(self, o)
tools/Polygraphy/polygraphy/json/serde.py:149
↓ 154 callersMethodwarning
Logs a message to stdout with WARNING severity. Args: message (Union[str, Callable() -> str]): A str
tools/Polygraphy/polygraphy/logger/logger.py:554
↓ 139 callersMethoditems
(self)
tools/Polygraphy/polygraphy/common/interface.py:69
↓ 128 callersMethodinfo
(self, prefix)
demo/Diffusion/models.py:39
↓ 128 callersMethodparse_args
(self, cli_args)
tools/Polygraphy/tests/tools/args/helper.py:40
↓ 125 callersFunctiontype
python/src/utils.cpp:65
↓ 121 callersFunctiongetAndDelOption
samples/common/sampleOptions.cpp:242
↓ 116 callersMethodcritical
Logs a message to stdout with CRITICAL severity and raises an exception. Args: message (Union[str, Callable() -> str]):
tools/Polygraphy/polygraphy/logger/logger.py:580
↓ 105 callersMethodget
plugin/common/kernels/reducedMathPlugin.h:87
↓ 105 callersMethodread
quickstart/common/util.cpp:50
↓ 100 callersFunctionmax
(self, *args)
tools/onnx-graphsurgeon/examples/08_replacing_a_subgraph/generate.py:29
↓ 99 callersMethodempty
Simple helper function that
samples/common/ErrorRecorder.h:83
↓ 93 callersMethodadd_import
Adds imports to this script. For example: :: script.add_import("numpy") # Equivalent to: import numpy
tools/Polygraphy/polygraphy/tools/script.py:270
↓ 92 callersMethodadd
(self, line)
tools/Polygraphy/tests/test_examples.py:111
↓ 87 callersMethodinfo
Logs a message to stdout with INFO severity. Args: message (Union[str, Callable() -> str]): A string
tools/Polygraphy/polygraphy/logger/logger.py:515
↓ 86 callersMethodget
samples/common/sampleEngines.cpp:94
↓ 86 callersMethodgetOutput
\brief Get the layer output corresponding to the given index. \return The indexed output tensor, or nullptr if the index is out of range or the tenso
include/NvInfer.h:614
↓ 86 callersMethodlayer
Creates a node, adds it to this graph, and optionally creates its input and output tensors. The input and output lists can include v
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:1029
↓ 82 callersFunctionpoly_run
Helper function to run the `polygraphy run` command with nececssary args
tools/polygraphy-extension-trtexec/tests/helper.py:33
↓ 77 callersMethodvalues
(self)
tools/Polygraphy/polygraphy/common/interface.py:66
↓ 77 callersMethodwrite
quickstart/common/util.cpp:65
↓ 71 callersFunctionserialize_value
plugin/common/serialize.hpp:124
↓ 70 callersFunctiondeserialize_value
plugin/common/serialize.hpp:130
↓ 70 callersMethoderror
Logs a message to stdout with ERROR severity. Args: message (Union[str, Callable() -> str]): A strin
tools/Polygraphy/polygraphy/logger/logger.py:567
↓ 70 callersMethodkeys
(self)
tools/Polygraphy/polygraphy/common/interface.py:63
↓ 67 callersMethodconstant
Return pointer to IDimensionExp for given value.
include/NvInferRuntime.h:285
↓ 66 callersMethodresize
\brief Resizes the buffer. This is a no-op if the new size is smaller than or equal to the current capacity.
samples/common/buffers.h:144
↓ 64 callersMethodi
Convenience function to get a producer node of one of this node's input tensors. Note that the parameters are swapped compared to the
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/node.py:55
↓ 64 callersMethodlog
demo/BERT/infer_c/logging.h:70
↓ 64 callersMethodo
Convenience function to get a consumer node of one of this node's output tensors. For example: :: assert node.o
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/node.py:75
↓ 63 callersFunctionmake_invocable
Creates a string representation that will invoke the specified object, with the specified arguments. Args: type_str (str): A str
tools/Polygraphy/polygraphy/tools/script.py:125
↓ 62 callersMethodfind
parsers/caffe/blobNameToTensor.h:37
↓ 58 callersFunctionmin
(self, *args)
tools/onnx-graphsurgeon/examples/08_replacing_a_subgraph/generate.py:24
↓ 57 callersMethodverbose
Logs a message to stdout with VERBOSE severity. Args: message (Union[str, Callable() -> str]): A str
tools/Polygraphy/polygraphy/logger/logger.py:502
↓ 57 callersMethodview
Creates a read-only DeviceView from this DeviceArray. Args: shape (Sequence[int]): The desired shape
tools/Polygraphy/polygraphy/cuda/cuda.py:454
↓ 55 callersMethoddebug
(self, message, mode=LogMode.EACH)
tools/onnx-graphsurgeon/onnx_graphsurgeon/logger/logger.py:218
↓ 54 callersMethodcopy
Makes a shallow copy of this node, overriding input and output information. Note: Generally, you should only ever make a copy of a G
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/node.py:110
↓ 52 callersFunctiondeprecateMember
python/include/utils.h:118
↓ 52 callersFunctionsafe
Indicates a string is safe to use and will not compromise security. NOTE: The caller is reponsible for checking that the string is actually
tools/Polygraphy/polygraphy/tools/script.py:48
↓ 50 callersMethoddisable
Bypass the module
tools/pytorch-quantization/pytorch_quantization/nn/modules/tensor_quantizer.py:151
↓ 49 callersFunctiontry_add
(layer_type, layer_cls)
tools/Polygraphy/polygraphy/backend/trt/util.py:98
↓ 48 callersMethodgetName
\brief Return the name of the loop. \see setName()
include/NvInfer.h:5735
↓ 47 callersMethodinsert
(self, i, x)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:116
↓ 46 callersMethodclone
IPluginV2DynamicExt Methods
plugin/fcPlugin/fcPlugin.cpp:405
↓ 46 callersMethodrun
(self, cmd_block, sandboxed_install_run)
tools/Polygraphy/tests/test_examples.py:176
↓ 46 callersMethodupdate
(self, other)
tools/Polygraphy/polygraphy/common/interface.py:72
↓ 45 callersFunctioncopyToDevice
plugin/common/bertCommon.h:404
↓ 44 callersMethodreset
samples/common/common.h:802
↓ 42 callersMethodadd_loader
Adds a loader to the script. If the loader is a duplicate, returns the existing loader instead. Args: loader_str
tools/Polygraphy/polygraphy/tools/script.py:315
↓ 42 callersMethodadd_to_script
Adds code to the given script that performs the functionality provided by this argument group. For example, ``TrtConfigArgs`` would
tools/Polygraphy/polygraphy/tools/args/base.py:158
↓ 42 callersMethodload
(self)
demo/Diffusion/utilities.py:220
↓ 42 callersMethodsave
Save this script to the specified destination. Args: dest (file-like): A file-like object that defin
tools/Polygraphy/polygraphy/tools/script.py:439
↓ 41 callersMethodclear
plugin/bertQKVToContextPlugin/fused_multihead_attention_v2/include/fused_multihead_attention_v2.h:97
↓ 41 callersMethodtensors
Creates a tensor map of all the tensors used by this graph by walking over all nodes. Empty tensors are omitted from this map. Tenso
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:421
↓ 40 callersMethodadd
Takes user parameters and adds LayerConfig object to a list for each add call. Args: name (Union[str, List]): Name of th
tools/tensorflow-quantization/tensorflow_quantization/quantize.py:79
↓ 40 callersMethodappend
(self, x)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:107
↓ 39 callersFunctioncudaCheck
samples/common/sampleDevice.h:32
↓ 39 callersMethodinternal_error
(self, message)
tools/Polygraphy/polygraphy/logger/logger.py:599
↓ 38 callersMethodcleanup
Removes unused nodes and tensors from the graph. A node or tensor is considered unused if it does not contribute to any of the graph
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:267
↓ 38 callersMethodconvertAndCopy
plugin/common/bertCommon.h:331
↓ 37 callersMethodPluginField
include/NvInferRuntimePlugin.h:775
↓ 37 callersMethodinfo
(self)
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:87
↓ 37 callersFunctionvalidate_quantized_model
Full test workflow: quantization, obtain expected QDQ node placements, check node placements against expected. Args: test_assets (Cr
tools/tensorflow-quantization/tests/onnx_graph_qdq_validator.py:489
↓ 36 callersMethoddtype
(self)
tools/Polygraphy/polygraphy/cuda/cuda.py:292
↓ 36 callersMethodname
(self)
tools/pytorch-quantization/pytorch_quantization/tensor_quant.py:136
↓ 36 callersMethodsetFlag
\brief Set a single build mode flag. Add the input builder mode flag to the already enabled flags. \see setFlags()
include/NvInfer.h:9274
↓ 35 callersMethodget_input
Get the input tensor of a node iff the input tensor is not already marked a graph constant.
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:708
↓ 35 callersMethodreset
\brief Resets the builder state to default values.
include/NvInfer.h:10151
↓ 34 callersFunctionround
Nearest integer. \param arg half to round \return nearest integer, rounded away from zero in half-way cases template<typename T> typename enable<half,
samples/common/half.h:3525
↓ 33 callersMethodextend
(self, elems)
tools/Polygraphy/polygraphy/common/interface.py:161
↓ 33 callersMethodinfer
()
tools/Polygraphy/tests/backend/trt/test_runner.py:280
↓ 32 callersMethodgetHostBuffer
\brief Returns the host buffer corresponding to tensorName. Returns nullptr if no such tensor can be found.
samples/common/buffers.h:304
↓ 31 callersMethodclear
(self)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:129
↓ 31 callersMethodfold_constants
Folds constants in-place in the graph. The graph must be topologically sorted prior to calling this function (see `toposort()`).
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:473
↓ 31 callersFunctiongetWeightsSize
plugin/common/bertCommon.h:147
↓ 31 callersMethodload
(self)
tools/Polygraphy/polygraphy/backend/onnx/loader.py:61
↓ 30 callersMethodcollect
Collect histogram
tools/pytorch-quantization/pytorch_quantization/calib/histogram.py:67
↓ 30 callersMethoditems
(self)
tools/Polygraphy/polygraphy/tools/args/backend/runner_select.py:45
↓ 29 callersFunctioncreate_network
(builder, network)
tools/Polygraphy/examples/api/05_using_tensorrt_network_api/example.py:37
↓ 29 callersMethoddecode
Decoder step using stored states, attention and memory PARAMS ------ decoder_input: previous mel output RETURNS
demo/Tacotron2/tacotron2/model.py:390
↓ 29 callersMethodgetInput
\brief Get the layer input corresponding to the given index. \param index The index of the input tensor. \return The input tensor, or nullptr if the
include/NvInfer.h:595
↓ 29 callersMethodload
(self)
tools/onnx-graphsurgeon/tests/onnx_models.py:51
↓ 29 callersFunctionmodel_path
(name=None)
tools/Polygraphy/tests/models/meta.py:27
↓ 29 callersMethodreportFail
samples/common/logging.h:424
↓ 29 callersMethodsimple
Creates a function that compares two IterationResults, and can be used as the `compare_func` argument in ``Comparator.compare_accurac
tools/Polygraphy/polygraphy/comparator/compare.py:152
↓ 29 callersMethodtoposort
Topologically sort the graph in place. Args: recurse_subgraphs (bool): Whether to recursively topolo
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:347
↓ 28 callersMethodextra_verbose
Logs a message to stdout with EXTRA_VERBOSE severity. Args: message (Union[str, Callable() -> str]):
tools/Polygraphy/polygraphy/logger/logger.py:489
↓ 28 callersMethodsynchronize
samples/common/sampleDevice.h:135
↓ 28 callersMethodtype
samples/common/common.h:307
↓ 27 callersMethodexp
Exponential implementation. \param arg function argument \return function value stored in single-preicision
samples/common/half.h:1768
next →1–100 of 8,179, ranked by callers