modify format accored with clang-format 3.8

cblas_new
xzl 8 years ago
parent 433935aa51
commit 2bc08f8914

@ -1811,9 +1811,6 @@ class DepthwiseConvLayer(LayerBase):
use_gpu = int(g_command_config_args.get("use_gpu", 0))
parallel_nn = int(g_command_config_args.get("parallel_nn", 0))
# Automatically select cudnn_type for GPU and exconv for CPU
# if set type=conv, but still reserve the way user specify
# exconv or cudnn_conv manually.
self.layer_type = "depthwise_conv"
# need to specify layer in config
self.config.type = self.layer_type
@ -1824,7 +1821,7 @@ class DepthwiseConvLayer(LayerBase):
for input_index in xrange(len(self.inputs)):
input_layer = self.get_input_layer(input_index)
conv_conf = self.config.inputs[input_index].conv_conf
#set the groups
#set the groups, the groups equals the input channels
self.inputs[input_index].conv.groups = self.inputs[
input_index].conv.channels
parse_conv(self.inputs[input_index].conv, input_layer.name,

@ -2337,6 +2337,7 @@ def img_depthwise_conv_layer(input,
shared_biases=shared_biases,
type=lt,
**ExtraLayerAttribute.to_kwargs(layer_attr))
return LayerOutput(
name,
lt,

Loading…
Cancel
Save