MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / constant

Method constant

include/NvInferRuntime.h:285–288  ·  view source on GitHub ↗

Return pointer to IDimensionExp for given value.

Source from the content-addressed store, hash-verified

283public:
284 //! Return pointer to IDimensionExp for given value.
285 IDimensionExpr const* constant(int32_t value) noexcept
286 {
287 return mImpl->constant(value);
288 }
289
290 //! Return pointer to IDimensionExp that represents the given operation applied to first and second.
291 //! Returns nullptr if op is not a valid DimensionOperation.

Callers 15

test_const_nodeMethod · 0.80
make_constant_linearFunction · 0.80
make_unbounded_ddsFunction · 0.80
load_image_npFunction · 0.80
getOutputDimensionsMethod · 0.80
getOutputDimensionsMethod · 0.80
getOutputDimensionsMethod · 0.80
getOutputDimensionsMethod · 0.80
getOutputDimensionsMethod · 0.80
getOutputDimensionsMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_const_nodeMethod · 0.64