mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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
35 lines
1.1 KiB
Plaintext
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",
|
|
],
|
|
)
|