Skip to content

Commit

Permalink
fix layers_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chengduoZH committed Aug 31, 2017
1 parent f557b0c commit d747c5d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
5 changes: 3 additions & 2 deletions paddle/cuda/src/hl_cuda_cnn.cu
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down Expand Up @@ -350,7 +353,6 @@ void hl_avgpool_backward(const int frameCnt,
CHECK_SYNC("hl_avgpool_backward failed");
}

/////////////////
__global__ void KeMaxPool3DForward(const int nthreads,
const real* inputData,
const int channels,
Expand Down Expand Up @@ -777,7 +779,6 @@ void hl_avgpool3D_backward(const int frameCnt,
outStride);
CHECK_SYNC("hl_avgpool3D_backward failed");
}
/////////////////

__global__ void KeBilinearInterpFw(const real* in,
const size_t inImgH,
Expand Down
3 changes: 3 additions & 0 deletions paddle/parameter/Argument.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/* Copyright (c) 2016 PaddlePaddle Authors. All Rights Reserve.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ test_seq_concat_reshape test_pad test_smooth_l1 test_multiplex_layer
test_prelu_layer test_row_conv test_detection_output_layer test_multibox_loss_layer
test_recursive_topology test_gated_unit_layer test_clip_layer test_row_l2_norm_layer
test_kmax_seq_socre_layer test_seq_select_layers test_scale_shift_layer
test_seq_slice_layer)
test_seq_slice_layer test_pooling3D_layer)

export whole_configs=(test_split_datasource)
2 changes: 1 addition & 1 deletion python/paddle/trainer_config_helpers/tests/layers_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

if __name__ == '__main__':
parse_config_and_serialize(
'trainer_config_helpers/tests/configs/test_pooling3D_layer.py', '')
'trainer_config_helpers/tests/layers_test_config.py', '')

0 comments on commit d747c5d

Please sign in to comment.