File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,23 @@ def main(unused_argv):
80
80
code_url_prefix = FLAGS .code_url_prefix ,
81
81
search_hints = FLAGS .search_hints ,
82
82
site_path = FLAGS .site_path ,
83
+ # TODO(tfmot): remove this once the next release after 0.3.0 happens.
84
+ # This is needed in the interim because the API docs reflect
85
+ # the latest release and the current release still wildcard imports
86
+ # all of the classes below.
87
+ private_map = {
88
+ "tfmot.sparsity.keras" : [
89
+ # List of internal classes which get exposed when imported.
90
+ "InputLayer" ,
91
+ "custom_object_scope" ,
92
+ "pruning_sched" ,
93
+ "pruning_wrapper" ,
94
+ "absolute_import" ,
95
+ "division" ,
96
+ "print_function" ,
97
+ "compat"
98
+ ]
99
+ },
83
100
)
84
101
85
102
doc_generator .build (output_dir = FLAGS .output_dir )
You can’t perform that action at this time.
0 commit comments