jetsontools.info package

Module contents

Tools for getting information about the Jetson device.

Classes

JetsonInfo

Class to store information about the Jetson device.

Functions

get_info

Get information about the Jetson device.

class jetsontools.info.JetsonInfo(model: str, l4t: str, jetpack: str, ubuntu: str | None, kernel: str | None, cuda: str, cuda_arch: str, opencv: str, opencv_cuda: str, cudnn: str, tensorrt: str, visionworks: str, vpi: str, vulkan: str)

Bases: object

Class to store information about the Jetson device.

cuda: str
cuda_arch: str
cudnn: str
jetpack: str
kernel: str | None
l4t: str
model: str
opencv: str
opencv_cuda: str
tensorrt: str
ubuntu: str | None
visionworks: str
vpi: str
vulkan: str
jetsontools.info.get_info(*, verbose: bool | None = None) JetsonInfo

Get information about the Jetson device.

Parameters:

verbose (bool, optional) – If True, print additional information, by default None

Returns:

The information about the Jetson device.

Return type:

dict[str, str]

Raises:

RuntimeError – If the subprocess stdout streams cannot be opened.