Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NVIDIA/TensorRT
/ functions
Functions
8,179 in github.com/NVIDIA/TensorRT
⨍
Functions
8,179
◇
Types & classes
1,602
↳
Endpoints
43
↓ 619 callers
Function
print
samples/common/sampleUtils.cpp:376
↓ 526 callers
Method
append
(self, elem)
tools/Polygraphy/polygraphy/common/interface.py:157
↓ 407 callers
Method
size
samples/common/common.h:303
↓ 327 callers
Method
c_str
python/include/ForwardDeclarations.h:65
↓ 294 callers
Method
numpy
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 callers
Function
caughtError
plugin/common/checkMacrosPlugin.h:166
↓ 236 callers
Method
get
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 callers
Method
data
samples/common/common.h:299
↓ 185 callers
Function
write
plugin/common/plugin.h:85
↓ 171 callers
Method
detach
plugin/fcPlugin/fcPlugin.h:240
↓ 170 callers
Method
default
(self, o)
tools/Polygraphy/polygraphy/json/serde.py:149
↓ 154 callers
Method
warning
Logs a message to stdout with WARNING severity. Args: message (Union[str, Callable() -> str]): A str
tools/Polygraphy/polygraphy/logger/logger.py:554
↓ 139 callers
Method
items
(self)
tools/Polygraphy/polygraphy/common/interface.py:69
↓ 128 callers
Method
info
(self, prefix)
demo/Diffusion/models.py:39
↓ 128 callers
Method
parse_args
(self, cli_args)
tools/Polygraphy/tests/tools/args/helper.py:40
↓ 125 callers
Function
type
python/src/utils.cpp:65
↓ 121 callers
Function
getAndDelOption
samples/common/sampleOptions.cpp:242
↓ 116 callers
Method
critical
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 callers
Method
get
plugin/common/kernels/reducedMathPlugin.h:87
↓ 105 callers
Method
read
quickstart/common/util.cpp:50
↓ 100 callers
Function
max
(self, *args)
tools/onnx-graphsurgeon/examples/08_replacing_a_subgraph/generate.py:29
↓ 99 callers
Method
empty
Simple helper function that
samples/common/ErrorRecorder.h:83
↓ 93 callers
Method
add_import
Adds imports to this script. For example: :: script.add_import("numpy") # Equivalent to: import numpy
tools/Polygraphy/polygraphy/tools/script.py:270
↓ 92 callers
Method
add
(self, line)
tools/Polygraphy/tests/test_examples.py:111
↓ 87 callers
Method
info
Logs a message to stdout with INFO severity. Args: message (Union[str, Callable() -> str]): A string
tools/Polygraphy/polygraphy/logger/logger.py:515
↓ 86 callers
Method
get
samples/common/sampleEngines.cpp:94
↓ 86 callers
Method
getOutput
\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 callers
Method
layer
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 callers
Function
poly_run
Helper function to run the `polygraphy run` command with nececssary args
tools/polygraphy-extension-trtexec/tests/helper.py:33
↓ 77 callers
Method
values
(self)
tools/Polygraphy/polygraphy/common/interface.py:66
↓ 77 callers
Method
write
quickstart/common/util.cpp:65
↓ 71 callers
Function
serialize_value
plugin/common/serialize.hpp:124
↓ 70 callers
Function
deserialize_value
plugin/common/serialize.hpp:130
↓ 70 callers
Method
error
Logs a message to stdout with ERROR severity. Args: message (Union[str, Callable() -> str]): A strin
tools/Polygraphy/polygraphy/logger/logger.py:567
↓ 70 callers
Method
keys
(self)
tools/Polygraphy/polygraphy/common/interface.py:63
↓ 67 callers
Method
constant
Return pointer to IDimensionExp for given value.
include/NvInferRuntime.h:285
↓ 66 callers
Method
resize
\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 callers
Method
i
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 callers
Method
log
demo/BERT/infer_c/logging.h:70
↓ 64 callers
Method
o
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 callers
Function
make_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 callers
Method
find
parsers/caffe/blobNameToTensor.h:37
↓ 58 callers
Function
min
(self, *args)
tools/onnx-graphsurgeon/examples/08_replacing_a_subgraph/generate.py:24
↓ 57 callers
Method
verbose
Logs a message to stdout with VERBOSE severity. Args: message (Union[str, Callable() -> str]): A str
tools/Polygraphy/polygraphy/logger/logger.py:502
↓ 57 callers
Method
view
Creates a read-only DeviceView from this DeviceArray. Args: shape (Sequence[int]): The desired shape
tools/Polygraphy/polygraphy/cuda/cuda.py:454
↓ 55 callers
Method
debug
(self, message, mode=LogMode.EACH)
tools/onnx-graphsurgeon/onnx_graphsurgeon/logger/logger.py:218
↓ 54 callers
Method
copy
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 callers
Function
deprecateMember
python/include/utils.h:118
↓ 52 callers
Function
safe
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 callers
Method
disable
Bypass the module
tools/pytorch-quantization/pytorch_quantization/nn/modules/tensor_quantizer.py:151
↓ 49 callers
Function
try_add
(layer_type, layer_cls)
tools/Polygraphy/polygraphy/backend/trt/util.py:98
↓ 48 callers
Method
getName
\brief Return the name of the loop. \see setName()
include/NvInfer.h:5735
↓ 47 callers
Method
insert
(self, i, x)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:116
↓ 46 callers
Method
clone
IPluginV2DynamicExt Methods
plugin/fcPlugin/fcPlugin.cpp:405
↓ 46 callers
Method
run
(self, cmd_block, sandboxed_install_run)
tools/Polygraphy/tests/test_examples.py:176
↓ 46 callers
Method
update
(self, other)
tools/Polygraphy/polygraphy/common/interface.py:72
↓ 45 callers
Function
copyToDevice
plugin/common/bertCommon.h:404
↓ 44 callers
Method
reset
samples/common/common.h:802
↓ 42 callers
Method
add_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 callers
Method
add_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 callers
Method
load
(self)
demo/Diffusion/utilities.py:220
↓ 42 callers
Method
save
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 callers
Method
clear
plugin/bertQKVToContextPlugin/fused_multihead_attention_v2/include/fused_multihead_attention_v2.h:97
↓ 41 callers
Method
tensors
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 callers
Method
add
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 callers
Method
append
(self, x)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:107
↓ 39 callers
Function
cudaCheck
samples/common/sampleDevice.h:32
↓ 39 callers
Method
internal_error
(self, message)
tools/Polygraphy/polygraphy/logger/logger.py:599
↓ 38 callers
Method
cleanup
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 callers
Method
convertAndCopy
plugin/common/bertCommon.h:331
↓ 37 callers
Method
PluginField
include/NvInferRuntimePlugin.h:775
↓ 37 callers
Method
info
(self)
tools/tensorflow-quantization/tensorflow_quantization/custom_qdq_cases.py:87
↓ 37 callers
Function
validate_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 callers
Method
dtype
(self)
tools/Polygraphy/polygraphy/cuda/cuda.py:292
↓ 36 callers
Method
name
(self)
tools/pytorch-quantization/pytorch_quantization/tensor_quant.py:136
↓ 36 callers
Method
setFlag
\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 callers
Method
get_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 callers
Method
reset
\brief Resets the builder state to default values.
include/NvInfer.h:10151
↓ 34 callers
Function
round
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 callers
Method
extend
(self, elems)
tools/Polygraphy/polygraphy/common/interface.py:161
↓ 33 callers
Method
infer
()
tools/Polygraphy/tests/backend/trt/test_runner.py:280
↓ 32 callers
Method
getHostBuffer
\brief Returns the host buffer corresponding to tensorName. Returns nullptr if no such tensor can be found.
samples/common/buffers.h:304
↓ 31 callers
Method
clear
(self)
tools/onnx-graphsurgeon/onnx_graphsurgeon/util/misc.py:129
↓ 31 callers
Method
fold_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 callers
Function
getWeightsSize
plugin/common/bertCommon.h:147
↓ 31 callers
Method
load
(self)
tools/Polygraphy/polygraphy/backend/onnx/loader.py:61
↓ 30 callers
Method
collect
Collect histogram
tools/pytorch-quantization/pytorch_quantization/calib/histogram.py:67
↓ 30 callers
Method
items
(self)
tools/Polygraphy/polygraphy/tools/args/backend/runner_select.py:45
↓ 29 callers
Function
create_network
(builder, network)
tools/Polygraphy/examples/api/05_using_tensorrt_network_api/example.py:37
↓ 29 callers
Method
decode
Decoder step using stored states, attention and memory PARAMS ------ decoder_input: previous mel output RETURNS
demo/Tacotron2/tacotron2/model.py:390
↓ 29 callers
Method
getInput
\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 callers
Method
load
(self)
tools/onnx-graphsurgeon/tests/onnx_models.py:51
↓ 29 callers
Function
model_path
(name=None)
tools/Polygraphy/tests/models/meta.py:27
↓ 29 callers
Method
reportFail
samples/common/logging.h:424
↓ 29 callers
Method
simple
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 callers
Method
toposort
Topologically sort the graph in place. Args: recurse_subgraphs (bool): Whether to recursively topolo
tools/onnx-graphsurgeon/onnx_graphsurgeon/ir/graph.py:347
↓ 28 callers
Method
extra_verbose
Logs a message to stdout with EXTRA_VERBOSE severity. Args: message (Union[str, Callable() -> str]):
tools/Polygraphy/polygraphy/logger/logger.py:489
↓ 28 callers
Method
synchronize
samples/common/sampleDevice.h:135
↓ 28 callers
Method
type
samples/common/common.h:307
↓ 27 callers
Method
exp
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