mirror of
https://github.com/tensorflow/tensorflow.git
synced 2024-11-21 21:05:19 +00:00
65d75a7955
PiperOrigin-RevId: 547962474
10 lines
276 B
Smarty
10 lines
276 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}
|
|
|
|
def if_tensorrt_exec(if_true, if_false=[]):
|
|
"""Synonym for if_tensorrt."""
|
|
return %{if_tensorrt}
|