STT-tensorflow/third_party/tensorrt/build_defs.bzl.tpl
A. Unique TensorFlower 72571e0824 Roll CL 229790895 forward with fix.
PiperOrigin-RevId: 229930009
2019-01-18 08:19:28 -08:00

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}