vis4d.common.imports

Check if optional packages required by some modules are available.

Functions

is_torch_tf32_available()

Check if torch TF32 is available.

package_available(package_name)

Check if a package is available in your environment.

is_torch_tf32_available()[source]

Check if torch TF32 is available.

Returns:

True if torch TF32 is available.

Return type:

bool

package_available(package_name)[source]

Check if a package is available in your environment.

Return type:

bool