File tree Expand file tree Collapse file tree 18 files changed +69
-17
lines changed
neural_structured_learning
parameter_generator_generation Expand file tree Collapse file tree 18 files changed +69
-17
lines changed Original file line number Diff line number Diff line change @@ -127,3 +127,12 @@ http_archive(
127127 build_file = "@pybind11_bazel//:pybind11.BUILD" ,
128128)
129129
130+ # License rules.
131+ http_archive (
132+ name = "rules_license" ,
133+ urls = [
134+ "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" ,
135+ "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" ,
136+ ],
137+ sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360" ,
138+ )
Original file line number Diff line number Diff line change 1717
1818# Placeholder for internal Python strict compatibility macro.
1919# Internal annotation for sync
20+ load ("@rules_license//rules:license.bzl" , "license" )
2021
21- package (default_visibility = ["//visibility:public" ])
22+ package (
23+ default_applicable_licenses = [":license" ],
24+ default_visibility = ["//visibility:public" ],
25+ )
26+
27+ license (
28+ name = "license" ,
29+ package_name = "neural_structured_learning" ,
30+ )
2231
2332licenses (["notice" ])
2433
Original file line number Diff line number Diff line change 1818# Placeholder for internal Python strict compatibility macro.
1919
2020package (
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
2122 default_visibility = ["//visibility:public" ],
22- licenses = ["notice" ], # Apache 2.0
2323)
2424
25+ licenses (["notice" ])
26+
2527py_library (
2628 name = "configs" ,
2729 srcs = [
Original file line number Diff line number Diff line change 1818# Placeholder for internal Python strict & test compatibility macro.
1919
2020package (
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
2122 default_visibility = ["//visibility:public" ],
22- licenses = ["notice" ], # Apache 2.0
2323)
2424
25+ licenses (["notice" ])
26+
2527py_library (
2628 name = "estimator" ,
2729 srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 11package (
2- licenses = ["notice" ], # Apache 2.0
2+ default_applicable_licenses = ["//neural_structured_learning:license" ],
3+ default_visibility = ["//visibility:public" ],
34)
45
6+ licenses (["notice" ])
7+
58py_binary (
69 name = "graph_keras_mlp_cora" ,
710 srcs = ["graph_keras_mlp_cora.py" ],
Original file line number Diff line number Diff line change 22# Placeholder for internal Python strict compatibility macro.
33
44package (
5+ default_applicable_licenses = ["//neural_structured_learning:license" ],
56 default_visibility = ["//neural_structured_learning:__subpackages__" ],
6- licenses = ["notice" ], # Apache 2.0
77)
88
9+ licenses (["notice" ])
10+
911py_library (
1012 name = "experimental" ,
1113 srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 1818# Build rules for Keras APIs in Neural Structured Learning.
1919
2020package (
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
2122 default_visibility = ["//visibility:public" ],
22- licenses = ["notice" ], # Apache 2.0
2323)
2424
25+ licenses (["notice" ])
26+
2527py_library (
2628 name = "keras" ,
2729 srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 1818# Build rules for custom Keras layers in Neural Structured Learning.
1919
2020package (
21- licenses = ["notice" ], # Apache 2.0
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
22+ default_visibility = ["//visibility:public" ],
2223)
2324
25+ licenses (["notice" ])
26+
2427py_library (
2528 name = "layers" ,
2629 srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 1818# Build rules for libraries and ops in Neural Structured Learning.
1919
2020package (
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
2122 default_visibility = ["//visibility:public" ],
22- licenses = ["notice" ], # Apache 2.0
2323)
2424
25+ licenses (["notice" ])
26+
2527py_library (
2628 name = "lib" ,
2729 srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 1818# Build rules for tools in Neural Structured Learning.
1919
2020package (
21+ default_applicable_licenses = ["//neural_structured_learning:license" ],
2122 default_visibility = ["//visibility:public" ],
22- licenses = ["notice" ], # Apache 2.0
2323)
2424
25+ licenses (["notice" ])
26+
2527py_library (
2628 name = "tools" ,
2729 srcs = ["__init__.py" ],
You can’t perform that action at this time.
0 commit comments