@@ -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 ))
@@ -148,6 +149,7 @@ paddle.fluid.layers.unsqueeze ArgSpec(args=['input', 'axes', 'name'], varargs=No
148
149
paddle .fluid .layers .lod_reset ArgSpec (args = ['x' , 'y' , 'target_lod' ], varargs = None , keywords = None , defaults = (None , None ))
149
150
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 ))
150
151
paddle .fluid .layers .pad ArgSpec (args = ['x' , 'paddings' , 'pad_value' , 'name' ], varargs = None , keywords = None , defaults = (0.0 , None ))
152
+ paddle .fluid .layers .pad_constant_like ArgSpec (args = ['x' , 'y' , 'pad_value' , 'name' ], varargs = None , keywords = None , defaults = (0.0 , None ))
151
153
paddle .fluid .layers .label_smooth ArgSpec (args = ['label' , 'prior_dist' , 'epsilon' , 'dtype' , 'name' ], varargs = None , keywords = None , defaults = (None , 0.1 , 'float32' , None ))
152
154
paddle .fluid .layers .roi_pool ArgSpec (args = ['input' , 'rois' , 'pooled_height' , 'pooled_width' , 'spatial_scale' ], varargs = None , keywords = None , defaults = (1 , 1 , 1.0 ))
153
155
paddle .fluid .layers .dice_loss ArgSpec (args = ['input' , 'label' , 'epsilon' ], varargs = None , keywords = None , defaults = (1e-05 ,))
@@ -166,6 +168,7 @@ paddle.fluid.layers.prelu ArgSpec(args=['x', 'mode', 'param_attr', 'name'], vara
166
168
paddle .fluid .layers .flatten ArgSpec (args = ['x' , 'axis' , 'name' ], varargs = None , keywords = None , defaults = (1 , None ))
167
169
paddle .fluid .layers .sequence_mask ArgSpec (args = ['x' , 'maxlen' , 'dtype' , 'name' ], varargs = None , keywords = None , defaults = (None , 'int64' , None ))
168
170
paddle .fluid .layers .stack ArgSpec (args = ['x' , 'axis' ], varargs = None , keywords = None , defaults = (0 ,))
171
+ paddle .fluid .layers .unstack ArgSpec (args = ['x' , 'axis' , 'num' ], varargs = None , keywords = None , defaults = (0 , None ))
169
172
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 ))
170
173
paddle .fluid .layers .open_recordio_file ArgSpec (args = ['filename' , 'shapes' , 'lod_levels' , 'dtypes' , 'pass_num' , 'for_parallel' ], varargs = None , keywords = None , defaults = (1 , True ))
171
174
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 ))
@@ -380,7 +383,7 @@ paddle.fluid.LoDTensor.__init__ 1. __init__(self: paddle.fluid.core.LoDTensor, a
380
383
paddle .fluid .LoDTensor .has_valid_recursive_sequence_lengths has_valid_recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor ) - > bool
381
384
paddle .fluid .LoDTensor .lod lod (self : paddle .fluid .core .LoDTensor ) - > List [List [int ]]
382
385
paddle .fluid .LoDTensor .recursive_sequence_lengths recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor ) - > List [List [int ]]
383
- 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
384
387
paddle .fluid .LoDTensor .set_lod set_lod (self : paddle .fluid .core .LoDTensor , arg0 : List [List [int ]]) - > None
385
388
paddle .fluid .LoDTensor .set_recursive_sequence_lengths set_recursive_sequence_lengths (self : paddle .fluid .core .LoDTensor , arg0 : List [List [int ]]) - > None
386
389
paddle .fluid .LoDTensor .shape shape (self : paddle .fluid .core .Tensor ) - > List [int ]
0 commit comments