blob: f5348a7c06da71b8a8280303853ebf5dc87d0f8e (
plain)
1
2
3
4
5
6
7
8
|
# Build configurations for TensorRT.
def if_tensorrt(if_true, if_false=[]):
"""Tests whether TensorRT was enabled during the configure process."""
if %{tensorrt_is_configured}:
return if_true
return if_false
|