6 lines
174 B
Smarty
6 lines
174 B
Smarty
|
# Build configurations for TensorRT.
|
||
|
|
||
|
def if_tensorrt(if_true, if_false=[]):
|
||
|
"""Tests whether TensorRT was enabled during the configure process."""
|
||
|
return %{if_tensorrt}
|