Files
pytorch/tools/autograd/BUCK.oss
Linbin Yu 1683a2618d rename BUILD.buck to BUCK.oss (#78792)
rename BUILD.buck to BUCK.oss to better reflect that it's the OSS version of BUCK build, not the one shared with Bazel
Pull Request resolved: https://github.com/pytorch/pytorch/pull/78792
Approved by: https://github.com/kit1980
2022-06-03 07:23:16 +00:00

35 lines
1.1 KiB
Plaintext

python_library(
name = "autograd",
srcs = glob(
["*.py"],
),
base_module = "tools.autograd",
resources = [
"deprecated.yaml",
"derivatives.yaml",
"templates/ADInplaceOrViewType.cpp",
"templates/Functions.cpp",
"templates/Functions.h",
"templates/TraceType.cpp",
"templates/VariableType.cpp",
"templates/VariableType.h",
"templates/annotated_fn_args.py.in",
"templates/python_fft_functions.cpp",
"templates/python_functions.cpp",
"templates/python_functions.h",
"templates/python_linalg_functions.cpp",
"templates/python_nn_functions.cpp",
"templates/python_return_types.cpp",
"templates/python_sparse_functions.cpp",
"templates/python_special_functions.cpp",
"templates/python_torch_functions.cpp",
"templates/python_variable_methods.cpp",
"templates/variable_factories.h",
],
visibility = ["PUBLIC"],
deps = [
"//third_party:pyyaml",
"//torchgen:torchgen",
],
)