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(
127
127
build_file = "@pybind11_bazel//:pybind11.BUILD" ,
128
128
)
129
129
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 17
17
18
18
# Placeholder for internal Python strict compatibility macro.
19
19
# Internal annotation for sync
20
+ load ("@rules_license//rules:license.bzl" , "license" )
20
21
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
+ )
22
31
23
32
licenses (["notice" ])
24
33
Original file line number Diff line number Diff line change 18
18
# Placeholder for internal Python strict compatibility macro.
19
19
20
20
package (
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
21
22
default_visibility = ["//visibility:public" ],
22
- licenses = ["notice" ], # Apache 2.0
23
23
)
24
24
25
+ licenses (["notice" ])
26
+
25
27
py_library (
26
28
name = "configs" ,
27
29
srcs = [
Original file line number Diff line number Diff line change 18
18
# Placeholder for internal Python strict & test compatibility macro.
19
19
20
20
package (
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
21
22
default_visibility = ["//visibility:public" ],
22
- licenses = ["notice" ], # Apache 2.0
23
23
)
24
24
25
+ licenses (["notice" ])
26
+
25
27
py_library (
26
28
name = "estimator" ,
27
29
srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 1
1
package (
2
- licenses = ["notice" ], # Apache 2.0
2
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
3
+ default_visibility = ["//visibility:public" ],
3
4
)
4
5
6
+ licenses (["notice" ])
7
+
5
8
py_binary (
6
9
name = "graph_keras_mlp_cora" ,
7
10
srcs = ["graph_keras_mlp_cora.py" ],
Original file line number Diff line number Diff line change 2
2
# Placeholder for internal Python strict compatibility macro.
3
3
4
4
package (
5
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
5
6
default_visibility = ["//neural_structured_learning:__subpackages__" ],
6
- licenses = ["notice" ], # Apache 2.0
7
7
)
8
8
9
+ licenses (["notice" ])
10
+
9
11
py_library (
10
12
name = "experimental" ,
11
13
srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 18
18
# Build rules for Keras APIs in Neural Structured Learning.
19
19
20
20
package (
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
21
22
default_visibility = ["//visibility:public" ],
22
- licenses = ["notice" ], # Apache 2.0
23
23
)
24
24
25
+ licenses (["notice" ])
26
+
25
27
py_library (
26
28
name = "keras" ,
27
29
srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 18
18
# Build rules for custom Keras layers in Neural Structured Learning.
19
19
20
20
package (
21
- licenses = ["notice" ], # Apache 2.0
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
22
+ default_visibility = ["//visibility:public" ],
22
23
)
23
24
25
+ licenses (["notice" ])
26
+
24
27
py_library (
25
28
name = "layers" ,
26
29
srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 18
18
# Build rules for libraries and ops in Neural Structured Learning.
19
19
20
20
package (
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
21
22
default_visibility = ["//visibility:public" ],
22
- licenses = ["notice" ], # Apache 2.0
23
23
)
24
24
25
+ licenses (["notice" ])
26
+
25
27
py_library (
26
28
name = "lib" ,
27
29
srcs = ["__init__.py" ],
Original file line number Diff line number Diff line change 18
18
# Build rules for tools in Neural Structured Learning.
19
19
20
20
package (
21
+ default_applicable_licenses = ["//neural_structured_learning:license" ],
21
22
default_visibility = ["//visibility:public" ],
22
- licenses = ["notice" ], # Apache 2.0
23
23
)
24
24
25
+ licenses (["notice" ])
26
+
25
27
py_library (
26
28
name = "tools" ,
27
29
srcs = ["__init__.py" ],
You can’t perform that action at this time.
0 commit comments