Skip to main content

trt-sdk: c or c++ interface sdk

Project description

trt-sdk: c or c++ interface sdk

trt_csdk: tensort c库接口

c库接口 , 可用于py调用c库或者c库直接调用

tensorrt version 8.0 , 8.2 , 8.4

trt_csdk 8.0.0
trt_csdk 8.2.0
trt_csdk 8.4.0
    typedef void* CC_SDK_TRT_HANDLE;

	int cc_sdk_trt_init();

	int cc_sdk_trt_uninit();

	int cc_sdk_trt_delete(const CC_SDK_TRT_HANDLE handle);

	int cc_sdk_trt_new(const char* model_buffer, int buffer_size,
		int device_id,
		const bool enableGraph,
		std::vector<std::vector<std::vector<int>>>& input_shape_,
		std::vector<std::vector<int>>& input_item_size_,
		std::vector<std::vector<std::vector<int>>>& output_shape_,
		std::vector<std::vector<int>>& output_item_size_,
		CC_SDK_TRT_HANDLE& instance);

	int cc_sdk_trt_process(const CC_SDK_TRT_HANDLE instance, int net_stage, const void* const* input_buffer_list,
		const int input_num, const int batch_size,void** output_buf_only_read, int* output_buf_size);

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

trt_sdk-0.0.3-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file trt_sdk-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: trt_sdk-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.8.13

File hashes

Hashes for trt_sdk-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0f10ddddb90e8aecb4840c2113c33b582bb99deb67cd5ba2f0c61ae2e61c6f74
MD5 26cd4691ee2894289c08f70b3cf74e75
BLAKE2b-256 0202b2f0f3ae72094ca8dc5f270f59b907ceb0d4081790d13663ab1b9a0719b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page