blob: 0dc3a7ba2d239cbeca5181ba20d0c98edb26bb94 (
plain)
1
2
3
4
5
6
7
|
# 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
|