NVIDIA DeepStream SDK API Reference

9.2 Release
pydeepstreamdoc::tensor::TensorDoc Namespace Reference

Variables

constexpr const char * descr
 
constexpr const char * dlpack = R"pydeepstream(Get the tensor as DLPack capsule.)pydeepstream"
 
constexpr const char * dlpack_device = R"pydeepstream(Get the device type and device ID in DLPack format.)pydeepstream"
 
constexpr const char * wrap
 
constexpr const char * clone = R"pydeepstream(Clone a tensor.)pydeepstream"
 
constexpr const char * to_gpu = R"pydeepstream(Copy the tensor to GPU given ID of target device.)pydeepstream"
 
constexpr const char * size = R"pydeepstream(Get the size of the tensor in bytes.)pydeepstream"
 
constexpr const char * as_tensor
 

Variable Documentation

◆ as_tensor

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::as_tensor
constexpr
Initial value:
= R"pydeepstream(
Wrap tensor data from other frameworks.
:arg object: *object*, Object to wrap. If has __dlpack_device__ attribute, it will fill the :class:`Tensor` from the given DLPack information.
Otherwise, it will create an empty :class:`Tensor`
:arg format: *str*, Format of the tensor.
:return: *:class:`Tensor`*, Wrapped :class:`Tensor`.)pydeepstream"

Definition at line 47 of file service-maker/sources/python/src/bindings/docstrings/tensordoc.h.

Referenced by module_tensor_bind().

◆ clone

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::clone = R"pydeepstream(Clone a tensor.)pydeepstream"
constexpr

◆ descr

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::descr
constexpr
Initial value:
= R"pydeepstream(
Tensor abstraction class.
:ivar shape: *tuple*, Shape of the tensor.
:ivar strides: *tuple*, Strides of the tensor.
:ivar dtype: *dtype*, Data type of the tensor.)pydeepstream"

Definition at line 31 of file service-maker/sources/python/src/bindings/docstrings/tensordoc.h.

Referenced by module_tensor_bind().

◆ dlpack

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::dlpack = R"pydeepstream(Get the tensor as DLPack capsule.)pydeepstream"
constexpr

◆ dlpack_device

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::dlpack_device = R"pydeepstream(Get the device type and device ID in DLPack format.)pydeepstream"
constexpr

◆ size

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::size = R"pydeepstream(Get the size of the tensor in bytes.)pydeepstream"
constexpr

Definition at line 46 of file service-maker/sources/python/src/bindings/docstrings/tensordoc.h.

Referenced by opentelemetry::proto::common::v1::EntityRef::add_description_keys(), opentelemetry::proto::common::v1::EntityRef::add_id_keys(), nv::TypeMetrics::add_objectids(), nv::Interaction::add_objectids(), nv::Congestion::add_objectids(), inference::ModelOperations::add_op_library_filename(), inference::ModelInstanceGroup::add_profile(), nvdsinferserver::config::TritonModelRepo::add_root(), inference::BatchInput::add_source_input(), inference::BatchOutput::add_source_input(), opentelemetry::proto::profiles::v1development::ProfilesDictionary::add_string_table(), inference::BatchInput::add_target_name(), inference::BatchOutput::add_target_name(), Batch::Batch(), sdk::instrumentationscope::InstrumentationScope::Create(), rs2::updatable::create_flash_backup(), ds3d::CpuMemBuf::CreateBuf(), ds3d::GpuCudaMemBuf::CreateBuf(), rs2::pose_sensor::export_localization_map(), rs2::sensor::get_active_streams(), rs2::auto_calibrated_device::get_calibration_table(), rs2::debug_stream_sensor::get_debug_stream_profiles(), rs2::sensor::get_recommended_filters(), rs2::sensor::get_stream_profiles(), rs2::pipeline_profile::get_streams(), CV_FUNCS::getBboxCenterPt(), plugin::detail::GetLastErrorMessage(), nvdsinferserver::IOptions::getValueArray(), GstAudioBatchBufferWrapper::GstAudioBatchBufferWrapper(), GstBatchBufferWrapper::GstBatchBufferWrapper(), module_metadata_bind(), module_tensor_bind(), rs2::terminal_parser::parse_command(), rs2::terminal_parser::parse_response(), ds3d::impl::depthsource::parseConfig(), ds3d::impl::render::parseLidarConfig(), TrackerVizOutput::prepareCorrelationResponseImg(), TrackerVizOutput::prepareMaskFilterImg(), rs2::device::query_sensors(), deepstream::FileDataSource::read(), ds3d::profiling::FileReader::read(), SocketTools::Socket::recv(), rs2::auto_calibrated_device::run_on_chip_calibration(), rs2::auto_calibrated_device::run_tare_calibration(), SocketTools::Socket::send(), rs2::debug_protocol::send_and_receive_raw_data(), rs2::serializable_device::serialize_json(), opentelemetry::proto::common::v1::EntityRef::set_description_keys(), opentelemetry::proto::common::v1::EntityRef::set_id_keys(), nv::TypeMetrics::set_objectids(), nv::Interaction::set_objectids(), nv::Congestion::set_objectids(), inference::ModelOperations::set_op_library_filename(), inference::ModelInstanceGroup::set_profile(), nvdsinferserver::config::TritonModelRepo::set_root(), inference::BatchInput::set_source_input(), inference::BatchOutput::set_source_input(), opentelemetry::proto::profiles::v1development::ProfilesDictionary::set_string_table(), inference::BatchInput::set_target_name(), inference::BatchOutput::set_target_name(), nvdsinferserver::BaseBatchBuffer::setBatchSize(), nvdsinferserver::CudaTensorBuf::setBatchSize(), nvdsinferserver::BaseBackend::setMaxBatchSize(), nvdsinferserver::TrtISBackend::setOutputPoolSize(), nvdsinferserver::NetworkPreprocessor::setPoolSize(), torch_tensor_sizes_to_string(), ds3d::gl::VertexBuf::upload(), ds3d::profiling::FileWriter::write(), TrackerVizOutput::writeFromWriteBuffer(), and FrameOutput::writeImageOutput().

◆ to_gpu

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::to_gpu = R"pydeepstream(Copy the tensor to GPU given ID of target device.)pydeepstream"
constexpr

◆ wrap

constexpr const char * pydeepstreamdoc::tensor::TensorDoc::wrap
constexpr
Initial value:
= R"pydeepstream(
Wrap a tensor as a buffer.
:arg format: *:class:`ColorFormat`*, Color format of the buffer.
:return: *:class:`Buffer`*, Buffer of wrapped tensor.)pydeepstream"

Definition at line 39 of file service-maker/sources/python/src/bindings/docstrings/tensordoc.h.

Referenced by module_tensor_bind().