From 94ca8f21528da3a64142733ae0272aa16eef0eb3 Mon Sep 17 00:00:00 2001 From: wangmeng28 Date: Tue, 19 Dec 2017 13:04:02 +0800 Subject: [PATCH] Make the default layer type for separable conv is exconv --- python/paddle/trainer_config_helpers/networks.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/paddle/trainer_config_helpers/networks.py b/python/paddle/trainer_config_helpers/networks.py index 6e231cc10..368fc1e83 100644 --- a/python/paddle/trainer_config_helpers/networks.py +++ b/python/paddle/trainer_config_helpers/networks.py @@ -447,7 +447,7 @@ def img_separable_conv(input, bias_attr=None, param_attr=None, shared_bias=True, - layer_type=None, + layer_type='exconv', name=None): """ Separable Convolution. @@ -510,8 +510,7 @@ def img_separable_conv(input, act=act, bias_attr=bias_attr, param_attr=param_attr, - shared_biases=shared_bias, - layer_type=layer_type) + shared_biases=shared_bias) return __pointwise_conv__ -- GitLab