blob: 3c34be524bc61fdf0c6a44d26469959af8c7f29a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
"""Build configurations for nGraph."""
def clean_dep(dep):
return str(Label(dep))
def if_ngraph(if_true, if_false = []):
"""select()'ing on whether we're building with nGraph support."""
return select({
clean_dep("//tensorflow:with_ngraph_support"): if_true,
"//conditions:default": if_false,
})
|