Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleSlim
提交
80ca5f9a
P
PaddleSlim
项目概览
PaddlePaddle
/
PaddleSlim
大约 2 年 前同步成功
通知
51
Star
1434
Fork
344
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
53
列表
看板
标记
里程碑
合并请求
16
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleSlim
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
53
Issue
53
列表
看板
标记
里程碑
合并请求
16
合并请求
16
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
80ca5f9a
编写于
12月 08, 2019
作者:
C
ceci3
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix py3
上级
7c40324b
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
14 addition
and
26 deletion
+14
-26
paddleslim/core/__init__.py
paddleslim/core/__init__.py
+3
-6
paddleslim/nas/search_space/search_space_factory.py
paddleslim/nas/search_space/search_space_factory.py
+1
-1
paddleslim/prune/__init__.py
paddleslim/prune/__init__.py
+10
-19
未找到文件。
paddleslim/core/__init__.py
浏览文件 @
80ca5f9a
...
...
@@ -12,10 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from
.
import
graph_wrapper
from
.graph_wrapper
import
*
from
.
import
registry
from
.registry
import
*
from
.graph_wrapper
import
GraphWrapper
,
VarWrapper
,
OpWrapper
from
.registry
import
Registry
__all__
=
graph_wrapper
.
__all__
__all__
+=
registry
.
__all__
__all__
=
[
'GraphWrapper'
,
'VarWrapper'
,
'OpWrapper'
,
'Registry'
]
paddleslim/nas/search_space/search_space_factory.py
浏览文件 @
80ca5f9a
...
...
@@ -28,4 +28,4 @@ class SearchSpaceFactory(object):
"""
assert
isinstance
(
config_lists
,
list
),
"configs must be a list"
return
CombineSearchSpace
(
config_lists
)
return
CombineSearchSpace
(
config_lists
)
paddleslim/prune/__init__.py
浏览文件 @
80ca5f9a
...
...
@@ -11,23 +11,14 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import
pruner
from
pruner
import
*
import
auto_pruner
from
auto_pruner
import
*
import
controller_server
from
controller_server
import
*
import
controller_client
from
controller_client
import
*
import
sensitive_pruner
from
sensitive_pruner
import
*
import
sensitive
from
sensitive
import
*
from
.pruner
import
Pruner
from
.auto_pruner
import
AutoPruner
from
.controller_server
import
ControllerServer
from
.controller_client
import
ControllerClient
from
.sensitive_pruner
import
SensitivePruner
from
.sensitive
import
sensitivity
,
flops_sensitivity
__all__
=
[]
__all__
+=
pruner
.
__all__
__all__
+=
auto_pruner
.
__all__
__all__
+=
controller_server
.
__all__
__all__
+=
controller_client
.
__all__
__all__
+=
sensitive_pruner
.
__all__
__all__
+=
sensitive
.
__all__
__all__
=
[
'Pruner'
,
'AutoPruner'
,
'ControllerServer'
,
'ControllerClient'
,
'SensitivePruner'
,
'sensitivity'
,
'flops_sensitivity'
]
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录