Skip to content

Commit 24766a1

Browse files
committed
Reformat nn.py
1 parent 62bad2b commit 24766a1

File tree

1 file changed

+68
-15
lines changed
  • python/paddle/fluid/layers

1 file changed

+68
-15
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 68 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,74 @@
2525
import random
2626

2727
__all__ = [
28-
'fc', 'embedding', 'dynamic_lstm', 'dynamic_lstmp', 'dynamic_gru',
29-
'gru_unit', 'linear_chain_crf', 'crf_decoding', 'cos_sim', 'cross_entropy',
30-
'square_error_cost', 'chunk_eval', 'sequence_conv', 'conv2d', 'conv3d',
31-
'sequence_pool', 'sequence_softmax', 'softmax', 'pool2d', 'pool3d',
32-
'batch_norm', 'beam_search_decode', 'conv2d_transpose', 'conv3d_transpose',
33-
'sequence_expand', 'lstm_unit', 'reduce_sum', 'reduce_mean', 'reduce_max',
34-
'reduce_min', 'reduce_prod', 'sequence_first_step', 'sequence_last_step',
35-
'dropout', 'split', 'ctc_greedy_decoder', 'edit_distance', 'l2_normalize',
36-
'matmul', 'topk', 'warpctc', 'sequence_reshape', 'transpose', 'im2sequence',
37-
'nce', 'beam_search', 'row_conv', 'multiplex', 'layer_norm',
38-
'softmax_with_cross_entropy', 'smooth_l1', 'one_hot',
39-
'autoincreased_step_counter', 'reshape', 'lod_reset', 'lrn', 'pad',
40-
'label_smooth', 'roi_pool', 'dice_loss', 'image_resize',
41-
'image_resize_short', 'resize_bilinear', 'gather', 'random_crop',
42-
'mean_iou', 'relu', 'log'
28+
'fc',
29+
'embedding',
30+
'dynamic_lstm',
31+
'dynamic_lstmp',
32+
'dynamic_gru',
33+
'gru_unit',
34+
'linear_chain_crf',
35+
'crf_decoding',
36+
'cos_sim',
37+
'cross_entropy',
38+
'square_error_cost',
39+
'chunk_eval',
40+
'sequence_conv',
41+
'conv2d',
42+
'conv3d',
43+
'sequence_pool',
44+
'sequence_softmax',
45+
'softmax',
46+
'pool2d',
47+
'pool3d',
48+
'batch_norm',
49+
'beam_search_decode',
50+
'conv2d_transpose',
51+
'conv3d_transpose',
52+
'sequence_expand',
53+
'lstm_unit',
54+
'reduce_sum',
55+
'reduce_mean',
56+
'reduce_max',
57+
'reduce_min',
58+
'reduce_prod',
59+
'sequence_first_step',
60+
'sequence_last_step',
61+
'dropout',
62+
'split',
63+
'ctc_greedy_decoder',
64+
'edit_distance',
65+
'l2_normalize',
66+
'matmul',
67+
'topk',
68+
'warpctc',
69+
'sequence_reshape',
70+
'transpose',
71+
'im2sequence',
72+
'nce',
73+
'beam_search',
74+
'row_conv',
75+
'multiplex',
76+
'layer_norm',
77+
'softmax_with_cross_entropy',
78+
'smooth_l1',
79+
'one_hot',
80+
'autoincreased_step_counter',
81+
'reshape',
82+
'lod_reset',
83+
'lrn',
84+
'pad',
85+
'label_smooth',
86+
'roi_pool',
87+
'dice_loss',
88+
'image_resize',
89+
'image_resize_short',
90+
'resize_bilinear',
91+
'gather',
92+
'random_crop',
93+
'mean_iou',
94+
'relu',
95+
'log',
4396
]
4497

4598

0 commit comments

Comments
 (0)