@@ -113,6 +113,7 @@ paddle.fluid.layers.beam_search_decode ArgSpec(args=['ids', 'scores', 'beam_size
113
113
paddle .fluid .layers .conv2d_transpose ArgSpec (args = ['input' , 'num_filters' , 'output_size' , 'filter_size' , 'padding' , 'stride' , 'dilation' , 'groups' , 'param_attr' , 'bias_attr' , 'use_cudnn' , 'act' , 'name' ], varargs = None , keywords = None , defaults = (None , None , 0 , 1 , 1 , None , None , None , True , None , None ))
114
114
paddle .fluid .layers .conv3d_transpose ArgSpec (args = ['input' , 'num_filters' , 'output_size' , 'filter_size' , 'padding' , 'stride' , 'dilation' , 'groups' , 'param_attr' , 'bias_attr' , 'use_cudnn' , 'act' , 'name' ], varargs = None , keywords = None , defaults = (None , None , 0 , 1 , 1 , None , None , None , True , None , None ))
115
115
paddle .fluid .layers .sequence_expand ArgSpec (args = ['x' , 'y' , 'ref_level' , 'name' ], varargs = None , keywords = None , defaults = (- 1 , None ))
116
+ paddle .fluid .layers .sequence_pad ArgSpec (args = ['x' , 'pad_value' , 'maxlen' ], varargs = None , keywords = None , defaults = (None ,))
116
117
paddle .fluid .layers .lstm_unit ArgSpec (args = ['x_t' , 'hidden_t_prev' , 'cell_t_prev' , 'forget_bias' , 'param_attr' , 'bias_attr' , 'name' ], varargs = None , keywords = None , defaults = (0.0 , None , None , None ))
117
118
paddle .fluid .layers .reduce_sum ArgSpec (args = ['input' , 'dim' , 'keep_dim' , 'name' ], varargs = None , keywords = None , defaults = (None , False , None ))
118
119
paddle .fluid .layers .reduce_mean ArgSpec (args = ['input' , 'dim' , 'keep_dim' , 'name' ], varargs = None , keywords = None , defaults = (None , False , None ))
@@ -146,6 +147,7 @@ paddle.fluid.layers.reshape ArgSpec(args=['x', 'shape', 'actual_shape', 'act', '
146
147
paddle .fluid .layers .lod_reset ArgSpec (args = ['x' , 'y' , 'target_lod' ], varargs = None , keywords = None , defaults = (None , None ))
147
148
paddle .fluid .layers .lrn ArgSpec (args = ['input' , 'n' , 'k' , 'alpha' , 'beta' , 'name' ], varargs = None , keywords = None , defaults = (5 , 1.0 , 0.0001 , 0.75 , None ))
148
149
paddle .fluid .layers .pad ArgSpec (args = ['x' , 'paddings' , 'pad_value' , 'name' ], varargs = None , keywords = None , defaults = (0.0 , None ))
150
+ paddle .fluid .layers .pad_constant_like ArgSpec (args = ['x' , 'y' , 'pad_value' , 'name' ], varargs = None , keywords = None , defaults = (0.0 , None ))
149
151
paddle .fluid .layers .label_smooth ArgSpec (args = ['label' , 'prior_dist' , 'epsilon' , 'dtype' , 'name' ], varargs = None , keywords = None , defaults = (None , 0.1 , 'float32' , None ))
150
152
paddle .fluid .layers .roi_pool ArgSpec (args = ['input' , 'rois' , 'pooled_height' , 'pooled_width' , 'spatial_scale' ], varargs = None , keywords = None , defaults = (1 , 1 , 1.0 ))
151
153
paddle .fluid .layers .dice_loss ArgSpec (args = ['input' , 'label' , 'epsilon' ], varargs = None , keywords = None , defaults = (1e-05 ,))
@@ -165,6 +167,7 @@ paddle.fluid.layers.flatten ArgSpec(args=['x', 'axis', 'name'], varargs=None, ke
165
167
paddle .fluid .layers .sequence_enumerate ArgSpec (args = ['input' , 'win_size' , 'pad_value' , 'name' ], varargs = None , keywords = None , defaults = (None ,))
166
168
paddle .fluid .layers .sequence_mask ArgSpec (args = ['x' , 'maxlen' , 'dtype' , 'name' ], varargs = None , keywords = None , defaults = (None , 'int64' , None ))
167
169
paddle .fluid .layers .stack ArgSpec (args = ['x' , 'axis' ], varargs = None , keywords = None , defaults = (0 ,))
170
+ paddle .fluid .layers .unstack ArgSpec (args = ['x' , 'axis' , 'num' ], varargs = None , keywords = None , defaults = (0 , None ))
168
171
paddle .fluid .layers .data ArgSpec (args = ['name' , 'shape' , 'append_batch_size' , 'dtype' , 'lod_level' , 'type' , 'stop_gradient' ], varargs = None , keywords = None , defaults = (True , 'float32' , 0 , VarType .LOD_TENSOR , True ))
169
172
paddle .fluid .layers .open_recordio_file ArgSpec (args = ['filename' , 'shapes' , 'lod_levels' , 'dtypes' , 'pass_num' , 'for_parallel' ], varargs = None , keywords = None , defaults = (1 , True ))
170
173
paddle .fluid .layers .open_files ArgSpec (args = ['filenames' , 'shapes' , 'lod_levels' , 'dtypes' , 'thread_num' , 'buffer_size' , 'pass_num' , 'is_test' ], varargs = None , keywords = None , defaults = (None , None , 1 , None ))
@@ -297,6 +300,7 @@ paddle.fluid.layers.ssd_loss ArgSpec(args=['location', 'confidence', 'gt_box', '
297
300
paddle .fluid .layers .detection_map ArgSpec (args = ['detect_res' , 'label' , 'class_num' , 'background_label' , 'overlap_threshold' , 'evaluate_difficult' , 'has_state' , 'input_states' , 'out_states' , 'ap_version' ], varargs = None , keywords = None , defaults = (0 , 0.3 , True , None , None , None , 'integral' ))
298
301
paddle .fluid .layers .rpn_target_assign ArgSpec (args = ['loc' , 'scores' , 'anchor_box' , 'gt_box' , 'rpn_batch_size_per_im' , 'fg_fraction' , 'rpn_positive_overlap' , 'rpn_negative_overlap' ], varargs = None , keywords = None , defaults = (256 , 0.25 , 0.7 , 0.3 ))
299
302
paddle .fluid .layers .anchor_generator ArgSpec (args = ['input' , 'anchor_sizes' , 'aspect_ratios' , 'variance' , 'stride' , 'offset' , 'name' ], varargs = None , keywords = None , defaults = (None , None , [0.1 , 0.1 , 0.2 , 0.2 ], None , 0.5 , None ))
303
+ paddle .fluid .layers .generate_proposals ArgSpec (args = ['scores' , 'bbox_deltas' , 'im_info' , 'anchors' , 'variances' , 'pre_nms_top_n' , 'post_nms_top_n' , 'nms_thresh' , 'min_size' , 'eta' , 'name' ], varargs = None , keywords = None , defaults = (6000 , 1000 , 0.5 , 0.1 , 1.0 , None ))
300
304
paddle .fluid .layers .iou_similarity ArgSpec (args = [], varargs = 'args' , keywords = 'kwargs' , defaults = None )
301
305
paddle .fluid .layers .box_coder ArgSpec (args = [], varargs = 'args' , keywords = 'kwargs' , defaults = None )
302
306
paddle .fluid .layers .polygon_box_transform ArgSpec (args = [], varargs = 'args' , keywords = 'kwargs' , defaults = None )
@@ -379,7 +383,7 @@ paddle.fluid.LoDTensor.__init__ 1. __init__(self: paddle.fluid.core.LoDTensor, a
379
383
paddle .fluid .LoDTensor .has_valid_recursive_sequence_lengths has_valid_recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor ) - > bool
380
384
paddle .fluid .LoDTensor .lod lod (self : paddle .fluid .core .LoDTensor ) - > List [List [int ]]
381
385
paddle .fluid .LoDTensor .recursive_sequence_lengths recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor ) - > List [List [int ]]
382
- paddle .fluid .LoDTensor .set 1. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CPUPlace ) - > None 2. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CPUPlace ) - > None 3. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CPUPlace ) - > None 4. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CPUPlace ) - > None 5. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CPUPlace ) - > None 6. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CPUPlace ) - > None 7. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CPUPlace ) - > None 8. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 9. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 10. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 11. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 12. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CUDAPlace ) - > None 13. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 14. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 15. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 16. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 17. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 18. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 19. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 20. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 21. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None
386
+ paddle .fluid .LoDTensor .set 1. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CPUPlace ) - > None 2. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CPUPlace ) - > None 3. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CPUPlace ) - > None 4. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CPUPlace ) - > None 5. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CPUPlace ) - > None 6. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CPUPlace ) - > None 7. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CPUPlace ) - > None 8. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int8 ], arg1 : paddle ::platform ::CPUPlace ) - > None 9. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 10. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 11. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 12. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 13. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CUDAPlace ) - > None 14. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 15. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 16. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int8 ], arg1 : paddle ::platform ::CUDAPlace ) - > None 17. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float32 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 18. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int32 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 19. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [float64 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 20. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int64 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 21. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [bool ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 22. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint16 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 23. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [uint8 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None 24. set (self : paddle .fluid .core .Tensor , arg0 : numpy .ndarray [int8 ], arg1 : paddle ::platform ::CUDAPinnedPlace ) - > None
383
387
paddle .fluid .LoDTensor .set_lod set_lod (self : paddle .fluid .core .LoDTensor , arg0 : List [List [int ]]) - > None
384
388
paddle .fluid .LoDTensor .set_recursive_sequence_lengths set_recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor , arg0 : List [List [int ]]) - > None
385
389
paddle .fluid .LoDTensor .shape shape (self : paddle .fluid .core .Tensor ) - > List [int ]
0 commit comments