Traktor/myenv/Lib/site-packages/torchgen/packaged/autograd/build.bzl

15 lines
348 B
Python
Raw Normal View History

2024-05-23 01:57:24 +02:00
def define_targets(rules):
rules.py_library(
name = "autograd",
srcs = rules.glob(["*.py"]),
data = rules.glob([
"*.yaml",
"templates/*",
]),
visibility = ["//:__subpackages__"],
deps = [
rules.requirement("PyYAML"),
"//torchgen",
],
)