Paddle 1.8 与 Paddle 2.0 API 映射表

本文档基于 Paddle 1.8 梳理了常用 API 与 Paddle 2.0 对应关系。你可以根据对应关系,快速熟悉 Paddle 2.0 的接口使用。

序号

PaddlePaddle 1.8 API

PaddlePaddle 2.0 API

迁移工具能否转换

0

paddle.fluid.BuildStrategy

paddle.static.BuildStrategy

True

1

paddle.fluid.CompiledProgram

paddle.static.CompiledProgram

True

2

paddle.fluid.cpu_places

paddle.static.cpu_places

True

3

paddle.fluid.CPUPlace

paddle.CPUPlace

True

4

paddle.fluid.cuda_places

paddle.static.cuda_places

True

5

paddle.fluid.CUDAPinnedPlace

paddle.CUDAPinnedPlace

True

6

paddle.fluid.CUDAPlace

paddle.CUDAPlace

True

7

paddle.fluid.default_main_program

paddle.static.default_main_program

True

8

paddle.fluid.default_startup_program

paddle.static.default_startup_program

True

9

paddle.fluid.disable_dygraph

paddle.enable_static

True

10

paddle.fluid.embedding

paddle.nn.functional.embedding(动态图), paddle.static.nn.embedding(静态图)

False

11

paddle.fluid.enable_dygraph

paddle.disable_static

True

12

paddle.fluid.enable_imperative

paddle.disable_static

True

13

paddle.fluid.ExecutionStrategy

paddle.static.ExecutionStrategy

True

14

paddle.fluid.Executor

paddle.static.Executor

True

15

paddle.fluid.global_scope

paddle.static.global_scope

True

16

paddle.fluid.gradients

paddle.static.gradients

True

17

paddle.fluid.in_dygraph_mode

paddle.in_dynamic_mode

True

18

paddle.fluid.is_compiled_with_cuda

paddle.is_compiled_with_cuda

True

19

paddle.fluid.load

paddle.static.load

True

21

paddle.fluid.name_scope

paddle.static.name_scope

True

22

paddle.fluid.one_hot

paddle.nn.functional.one_hot

False

23

paddle.fluid.ParallelExecutor

paddle.static.ParallelExecutor

True

24

paddle.fluid.ParamAttr

paddle.ParamAttr

True

25

paddle.fluid.Program

paddle.static.Program

True

26

paddle.fluid.program_guard

paddle.static.program_guard

True

27

paddle.fluid.require_version

paddle.utils.require_version

True

28

paddle.fluid.save

paddle.save

False

29

paddle.fluid.scope_guard

paddle.static.scope_guard

True

30

paddle.fluid.Variable

paddle.static.Variable

True

31

paddle.fluid.WeightNormParamAttr

paddle.static.WeightNormParamAttr

True

32

paddle.fluid.backward.append_backward

paddle.static.append_backward

True

33

paddle.fluid.backward.gradients

paddle.static.gradients

True

34

paddle.fluid.clip.GradientClipByGlobalNorm

paddle.nn.ClipGradByGlobalNorm

False

35

paddle.fluid.clip.GradientClipByNorm

paddle.nn.ClipGradByNorm

False

36

paddle.fluid.clip.GradientClipByValue

paddle.nn.ClipGradByValue

False

37

paddle.fluid.dataset.InMemoryDataset

paddle.distributed.InMemoryDataset

True

38

paddle.fluid.dataset.QueueDataset

paddle.distributed.QueueDataset

True

39

paddle.fluid.dygraph.BatchNorm

paddle.nn.BatchNorm1D, paddle.nn.BatchNorm2D, paddle.nn.BatchNorm3D

True

40

paddle.fluid.dygraph.BCELoss

paddle.nn.BCELoss

True

41

paddle.fluid.dygraph.BilinearTensorProduct

paddle.nn.Bilinear

True

42

paddle.fluid.dygraph.Conv2D

paddle.nn.Conv2D

True

43

paddle.fluid.dygraph.Conv2DTranspose

paddle.nn.Conv2DTranspose

False

44

paddle.fluid.dygraph.Conv3D

paddle.nn.Conv3D

True

45

paddle.fluid.dygraph.Conv3DTranspose

paddle.nn.Conv3DTranspose

True

46

paddle.fluid.dygraph.CosineDecay

paddle.optimizer.lr.CosineAnnealingDecay

False

47

paddle.fluid.dygraph.DataParallel

paddle.DataParallel

True

48

paddle.fluid.dygraph.disable_dygraph

paddle.enable_static

True

49

paddle.fluid.dygraph.Dropout

paddle.nn.Dropout, paddle.nn.Dropout2D, paddle.nn.Dropout3D

False

50

paddle.fluid.dygraph.Embedding

paddle.nn.Embedding

False

51

paddle.fluid.dygraph.enable_dygraph

paddle.disable_static

True

52

paddle.fluid.dygraph.enable_imperative

paddle.disable_static

True

53

paddle.fluid.dygraph.grad

paddle.grad

True

54

paddle.fluid.dygraph.GroupNorm

paddle.nn.GroupNorm

True

55

paddle.fluid.dygraph.InstanceNorm

paddle.nn.InstanceNorm1D, paddle.nn.InstanceNorm2D, paddle.nn.InstanceNorm3D

False

56

paddle.fluid.dygraph.L1Loss

paddle.nn.L1Loss

True

57

paddle.fluid.dygraph.Layer

paddle.nn.Layer

True

58

paddle.fluid.dygraph.LayerList

paddle.nn.LayerList

True

59

paddle.fluid.dygraph.LayerNorm

paddle.nn.LayerNorm

False

60

paddle.fluid.dygraph.Linear

paddle.nn.Linear

True

61

paddle.fluid.dygraph.load_dygraph

paddle.load

True

62

paddle.fluid.dygraph.MSELoss

paddle.nn.MSELoss

True

63

paddle.fluid.dygraph.NaturalExpDecay

paddle.optimizer.lr.NaturalExpDecay

False

64

paddle.fluid.dygraph.NLLLoss

paddle.nn.NLLLoss

True

65

paddle.fluid.dygraph.NoamDecay

paddle.optimizer.lr.NoamDecay

False

66

paddle.fluid.dygraph.ParameterList

paddle.nn.ParameterList

True

67

paddle.fluid.dygraph.no_grad

paddle.no_grad

True

68

paddle.fluid.dygraph.PolynomialDecay

paddle.optimizer.lr.PolynomialDecay

False

69

paddle.fluid.dygraph.Pool2D

paddle.nn.MaxPool2D, paddle.nn.AvgPool2D

False

70

paddle.fluid.dygraph.PRelu

paddle.nn.PReLU

False

71

paddle.fluid.dygraph.ProgramTranslator

paddle.jit.ProgramTranslator

True

72

paddle.fluid.dygraph.Sequential

paddle.nn.Sequential

True

73

paddle.fluid.dygraph.SpectralNorm

paddle.nn.SpectralNorm

True

74

paddle.fluid.dygraph.to_variable

paddle.to_tensor

True

75

paddle.fluid.dygraph.TracedLayer

paddle.jit.TracedLayer

True

76

paddle.fluid.executor.Executor

paddle.static.Executor

True

77

paddle.fluid.executor.global_scope

paddle.static.global_scope

True

78

paddle.fluid.executor.scope_guard

paddle.static.scope_guard

True

79

paddle.fluid.initializer.Bilinear

paddle.nn.initializer.Bilinear

True

80

paddle.fluid.initializer.BilinearInitializer

paddle.nn.initializer.Bilinear

True

81

paddle.fluid.initializer.Constant

paddle.nn.initializer.Constant

True

82

paddle.fluid.initializer.ConstantInitializer

paddle.nn.initializer.Constant

True

83

paddle.fluid.initializer.MSRA

paddle.nn.initializer.KaimingNormal, paddle.nn.initializer.KaimingUniform

False

84

paddle.fluid.initializer.MSRAInitializer

paddle.nn.initializer.KaimingNormal, paddle.nn.initializer.KaimingUniform

False

85

paddle.fluid.initializer.Normal

paddle.nn.initializer.Normal

True

86

paddle.fluid.initializer.NormalInitializer

paddle.nn.initializer.Normal

True

87

paddle.fluid.initializer.NumpyArrayInitializer

paddle.nn.initializer.Assign

True

88

paddle.fluid.initializer.TruncatedNormal

paddle.nn.initializer.TruncatedNormal

False

89

paddle.fluid.initializer.TruncatedNormalInitializer

paddle.nn.initializer.TruncatedNormal

False

90

paddle.fluid.initializer.Uniform

paddle.nn.initializer.Uniform

True

91

paddle.fluid.initializer.UniformInitializer

paddle.nn.initializer.Uniform

True

92

paddle.fluid.initializer.Xavier

paddle.nn.initializer.XavierNormal, paddle.nn.initializer.XavierUniform

False

93

paddle.fluid.initializer.XavierInitializer

paddle.nn.initializer.XavierNormal, paddle.nn.initializer.XavierUniform

False

94

paddle.fluid.io.DataLoader

paddle.io.DataLoader

True

95

paddle.fluid.io.load

paddle.static.load

True

96

paddle.fluid.io.load_inference_model

paddle.static.load_inference_model

True

97

paddle.fluid.io.load_program_state

paddle.static.load_program_state

True

98

paddle.fluid.io.save

paddle.save, paddle.static.save

False

99

paddle.fluid.io.save_inference_model

paddle.static.save_inference_model

True

100

paddle.fluid.io.set_program_state

paddle.static.set_program_state

True

101

paddle.fluid.layers.abs

paddle.abs

True

102

paddle.fluid.layers.accuracy

paddle.metric.accuracy

True

103

paddle.fluid.layers.acos

paddle.acos

True

104

paddle.fluid.layers.adaptive_pool2d

paddle.nn.functional.adaptive_avg_pool2d, paddle.nn.functional.adaptive_max_pool2d

False

105

paddle.fluid.layers.adaptive_pool3d

paddle.nn.functional.adaptive_max_pool3d, paddle.nn.functional.adaptive_avg_pool3d

False

106

paddle.fluid.layers.embedding

paddle.nn.functional.embedding(动态图), paddle.static.nn.embedding(静态图)

False

107

paddle.fluid.layers.addmm

paddle.addmm

True

108

paddle.fluid.layers.affine_grid

paddle.nn.functional.affine_grid

True

109

paddle.fluid.layers.allclose

paddle.allclose

True

110

paddle.fluid.layers.arange

paddle.arange

True

111

paddle.fluid.layers.argmax

paddle.argmax

True

112

paddle.fluid.layers.argmin

paddle.argmin

True

113

paddle.fluid.layers.argsort

paddle.argsort

True

114

paddle.fluid.layers.asin

paddle.asin

True

115

paddle.fluid.layers.atan

paddle.atan

True

116

paddle.fluid.layers.auc

paddle.metric.Auc

True

117

paddle.fluid.layers.batch_norm

paddle.static.nn.batch_norm

False

118

paddle.fluid.layers.bilinear_tensor_product

paddle.nn.functional.bilinear

True

119

paddle.fluid.layers.bmm

paddle.bmm

True

120

paddle.fluid.layers.case

paddle.static.nn.case

True

121

paddle.fluid.layers.cast

paddle.cast

True

122

paddle.fluid.layers.Categorical

paddle.distribution.Categorical

True

123

paddle.fluid.layers.ceil

paddle.ceil

True

124

paddle.fluid.layers.chunk_eval

paddle.metric.chunk_eval

True

125

paddle.fluid.layers.clamp

paddle.clip

False

126

paddle.fluid.layers.clip_by_norm

paddle.nn.clip_by_norm

False

127

paddle.fluid.layers.concat

paddle.concat

True

128

paddle.fluid.layers.cond

paddle.static.nn.cond

True

129

paddle.fluid.layers.conv2d

paddle.nn.functional.conv2d(动态图), paddle.static.nn.conv2d(静态图),

False

130

paddle.fluid.layers.conv2d_transpose

paddle.nn.functional.conv2d_transpose(动态图), paddle.static.nn.conv2d_transpose(静态图)

False

131

paddle.fluid.layers.conv3d

paddle.nn.functional.conv3d(动态图), paddle.static.nn.conv3d(静态图)

False

132

paddle.fluid.layers.conv3d_transpose

paddle.nn.functional.conv3d_transpose(动态图), paddle.static.nn.conv3d_transpose(静态图)

False

133

paddle.fluid.layers.cos

paddle.cos

True

134

paddle.fluid.layers.cos_sim

paddle.nn.functional.cosine_similarity

True

135

paddle.fluid.layers.create_parameter

paddle.create_parameter

True

136

paddle.fluid.layers.crf_decoding

paddle.static.nn.crf_decoding

True

137

paddle.fluid.layers.crop

paddle.crop

True

138

paddle.fluid.layers.cross

paddle.cross

True

139

paddle.fluid.layers.cumsum

paddle.cumsum

False

140

paddle.fluid.layers.data

paddle.static.data

True

141

paddle.fluid.layers.data_norm

paddle.static.nn.data_norm

True

142

paddle.fluid.layers.deformable_conv

paddle.static.nn.deform_conv2d

False

143

paddle.fluid.layers.diag

paddle.diag

False

144

paddle.fluid.layers.diag_embed

paddle.nn.functional.diag_embed

True

145

paddle.fluid.layers.dice_loss

paddle.nn.functional.dice_loss

True

146

paddle.fluid.layers.dist

paddle.dist

True

147

paddle.fluid.layers.dot

paddle.dot

True

148

paddle.fluid.layers.dropout

paddle.nn.functional.dropout, paddle.nn.functional.dropout2d, paddle.nn.functional.dropout3d

False

149

paddle.fluid.layers.dynamic_gru

paddle.nn.GRU

False

150

paddle.fluid.layers.dynamic_decode

paddle.nn.dynamic_decode

True

151

paddle.fluid.layers.elementwise_add

paddle.add

True

152

paddle.fluid.layers.elementwise_div

paddle.divide

True

153

paddle.fluid.layers.elementwise_equal

paddle.equal

True

154

paddle.fluid.layers.elementwise_floordiv

paddle.floor_divide

True

155

paddle.fluid.layers.elementwise_max

paddle.maximum

True

156

paddle.fluid.layers.elementwise_min

paddle.minimum

True

157

paddle.fluid.layers.elementwise_mod

paddle.mod

True

158

paddle.fluid.layers.elementwise_mul

paddle.multiply

True

159

paddle.fluid.layers.elu

paddle.nn.functional.elu

True

160

paddle.fluid.layers.embedding

paddle.nn.functional.embedding(动态图), paddle.static.nn.embedding(静态图)

True

161

paddle.fluid.layers.erf

paddle.erf

True

162

paddle.fluid.layers.exp

paddle.exp

True

163

paddle.fluid.layers.expand

paddle.expand

False

164

paddle.fluid.layers.expand_as

paddle.expand_as

True

165

paddle.fluid.layers.exponential_decay

paddle.optimizer.lr.ExponentialDecay

False

166

paddle.fluid.layers.eye

paddle.eye

True

167

paddle.fluid.layers.fc

paddle.nn.functional.linear(动态图), paddle.static.nn.fc(静态图)

True

168

paddle.fluid.layers.flatten

paddle.flatten

False

169

paddle.fluid.layers.flip

paddle.flip

True

170

paddle.fluid.layers.floor

paddle.floor

True

171

paddle.fluid.layers.full_like

paddle.full_like

True

172

paddle.fluid.layers.gather

paddle.gather

True

173

paddle.fluid.layers.gather_nd

paddle.gather_nd

True

174

paddle.fluid.layers.gelu

paddle.nn.functional.gelu

True

175

paddle.fluid.layers.greater_equal

paddle.greater_equal

True

176

paddle.fluid.layers.greater_than

paddle.greater_than

True

177

paddle.fluid.layers.group_norm

paddle.static.nn.group_norm

True

178

paddle.fluid.layers.GRUCell

paddle.nn.GRUCell

False

179

paddle.fluid.layers.hard_shrink

paddle.nn.functional.hardshrink

True

180

paddle.fluid.layers.hard_sigmoid

paddle.nn.functional.hardsigmoid

True

181

paddle.fluid.layers.hard_swish

paddle.nn.functional.hardswish

True

182

paddle.fluid.layers.has_inf

paddle.isinf

False

183

paddle.fluid.layers.has_nan

paddle.isnan

False

184

paddle.fluid.layers.hsigmoid

paddle.nn.functional.hsigmoid_loss

False

185

paddle.fluid.layers.increment

paddle.increment

True

186

paddle.fluid.layers.inverse_time_decay

paddle.optimizer.lr.InverseTimeDecay

False

187

paddle.fluid.layers.index_select

paddle.index_select

True

188

paddle.fluid.layers.instance_norm

paddle.static.nn.instance_norm

False

189

paddle.fluid.layers.interpolate

paddle.nn.functional.interpolate

False

190

paddle.fluid.layers.is_empty

paddle.is_empty

True

191

paddle.fluid.layers.isfinite

paddle.isfinite

True

192

paddle.fluid.layers.kldiv_loss

paddle.nn.functional.kl_div

True

193

paddle.fluid.layers.kron

paddle.kron

True

194

paddle.fluid.layers.label_smooth

paddle.nn.functional.label_smooth

True

195

paddle.fluid.layers.layer_norm

paddle.static.nn.layer_norm

True

196

paddle.fluid.layers.leaky_relu

paddle.nn.functional.leaky_relu

True

197

paddle.fluid.layers.less_equal

paddle.less_equal

True

198

paddle.fluid.layers.less_than

paddle.less_than

True

199

paddle.fluid.layers.linspace

paddle.linspace

True

200

paddle.fluid.layers.log

paddle.log

True

201

paddle.fluid.layers.log1p

paddle.log1p

True

202

paddle.fluid.layers.log_loss

paddle.nn.functional.log_loss

True

203

paddle.fluid.layers.log_softmax

paddle.nn.functional.log_softmax

True

204

paddle.fluid.layers.logical_and

paddle.logical_and

True

205

paddle.fluid.layers.logical_not

paddle.logical_not

True

206

paddle.fluid.layers.logical_or

paddle.logical_or

True

207

paddle.fluid.layers.logical_xor

paddle.logical_xor

True

208

paddle.fluid.layers.logsigmoid

paddle.nn.functional.log_sigmoid

True

209

paddle.fluid.layers.logsumexp

paddle.logsumexp

True

210

paddle.fluid.layers.lrn

paddle.nn.functional.local_response_norm

True

211

paddle.fluid.layers.lstm

paddle.nn.LSTM

False

212

paddle.fluid.layers.margin_rank_loss

paddle.nn.functional.margin_ranking_loss

False

213

paddle.fluid.layers.maxout

paddle.nn.functional.maxout

True

214

paddle.fluid.layers.mean_iou

paddle.metric.mean_iou

True

215

paddle.fluid.layers.meshgrid

paddle.meshgrid

True

216

paddle.fluid.layers.mse_loss

paddle.nn.functional.mse_loss

True

217

paddle.fluid.layers.mul

paddle.matmul

False

218

paddle.fluid.layers.multi_box_head

paddle.static.nn.multi_box_head

True

219

paddle.fluid.layers.multiplex

paddle.multiplex

True

220

paddle.fluid.layers.nce

paddle.static.nn.nce

True

221

paddle.fluid.layers.nonzero

paddle.nonzero

True

222

paddle.fluid.layers.Normal

paddle.distribution.Normal

True

223

paddle.fluid.layers.not_equal

paddle.not_equal

True

224

paddle.fluid.layers.npair_loss

paddle.nn.functional.npair_loss

True

225

paddle.fluid.layers.one_hot

paddle.nn.functional.one_hot

False

226

paddle.fluid.layers.ones

paddle.ones

True

227

paddle.fluid.layers.ones_like

paddle.ones_like

True

228

paddle.fluid.layers.pad2d

paddle.nn.functional.pad

False

229

paddle.fluid.layers.piecewise_decay

paddle.optimizer.lr.PiecewiseDecay

False

230

paddle.fluid.layers.pixel_shuffle

paddle.nn.functional.pixel_shuffle

True

231

paddle.fluid.layers.pool2d

paddle.nn.functional.avg_pool2d, paddle.nn.functional.max_pool2d

False

232

paddle.fluid.layers.pool3d

paddle.nn.functional.avg_pool3d, paddle.nn.functional.max_pool3d

False

233

paddle.fluid.layers.pow

paddle.pow

True

234

paddle.fluid.layers.prelu

paddle.nn.functional.prelu(动态图), paddle.static.nn.prelu(静态图)

True

235

paddle.fluid.layers.Print

paddle.static.Print

True

236

paddle.fluid.layers.py_func

paddle.static.py_func

True

237

paddle.fluid.layers.randint

paddle.randint

True

238

paddle.fluid.layers.randn

paddle.randn

True

239

paddle.fluid.layers.random_crop

paddle.vision.RandomCrop

False

240

paddle.fluid.layers.randperm

paddle.randperm

True

241

paddle.fluid.layers.rank

paddle.rank

True

242

paddle.fluid.layers.reciprocal

paddle.reciprocal

True

243

paddle.fluid.layers.reduce_all

paddle.all

True

244

paddle.fluid.layers.reduce_any

paddle.any

True

245

paddle.fluid.layers.reduce_max

paddle.max

True

246

paddle.fluid.layers.reduce_mean

paddle.mean

True

247

paddle.fluid.layers.reduce_min

paddle.min

True

248

paddle.fluid.layers.reduce_prod

paddle.prod

True

249

paddle.fluid.layers.reduce_sum

paddle.sum

True

250

paddle.fluid.layers.relu

paddle.nn.functional.relu

True

251

paddle.fluid.layers.relu6

paddle.nn.functional.relu6

False

252

paddle.fluid.layers.reshape

paddle.reshape

True

253

paddle.fluid.layers.rnn

paddle.nn.RNN

False

254

paddle.fluid.layers.roll

paddle.roll

True

255

paddle.fluid.layers.round

paddle.round

True

256

paddle.fluid.layers.rsqrt

paddle.rsqrt

True

257

paddle.fluid.layers.RNNCell

paddle.nn.RNNCellBase

False

258

paddle.fluid.layers.scale

paddle.scale

True

259

paddle.fluid.layers.scatter

paddle.scatter

True

260

paddle.fluid.layers.scatter_nd_add

paddle.scatter_nd_add

True

261

paddle.fluid.layers.scatter_nd

paddle.scatter_nd

True

262

paddle.fluid.layers.selu

paddle.nn.functional.selu

True

263

paddle.fluid.layers.shape

paddle.shape

True

264

paddle.fluid.layers.shard_index

paddle.shard_index

True

265

paddle.fluid.layers.sigmoid

paddle.nn.functional.sigmoid

True

266

paddle.fluid.layers.sigmoid_cross_entropy_with_logits

paddle.nn.functional.binary_cross_entropy

False

267

paddle.fluid.layers.sigmoid_focal_loss

paddle.nn.functional.sigmoid_focal_loss

True

268

paddle.fluid.layers.sign

paddle.sign

True

269

paddle.fluid.layers.sin

paddle.sin

True

270

paddle.fluid.layers.size

paddle.numel

True

271

paddle.fluid.layers.slice

paddle.slice

True

272

paddle.fluid.layers.smooth_l1

paddle.nn.functional.smooth_l1_loss

False

273

paddle.fluid.layers.softmax

paddle.nn.functional.softmax

True

274

paddle.fluid.layers.softmax_with_cross_entropy

paddle.nn.functional.cross_entropy

True

275

paddle.fluid.layers.softplus

paddle.nn.functional.softplus

True

276

paddle.fluid.layers.softshrink

paddle.nn.functional.softshrink

True

277

paddle.fluid.layers.softsign

paddle.nn.functional.softsign

True

278

paddle.fluid.layers.spectral_norm

paddle.static.nn.spectral_norm

True

279

paddle.fluid.layers.split

paddle.split

True

280

paddle.fluid.layers.sqrt

paddle.sqrt

True

281

paddle.fluid.layers.square

paddle.square

True

282

paddle.fluid.layers.square_error_cost

paddle.nn.functional.square_error_cost

True

283

paddle.fluid.layers.squeeze

paddle.squeeze

True

284

paddle.fluid.layers.stack

paddle.stack

True

285

paddle.fluid.layers.stanh

paddle.stanh

True

286

paddle.fluid.layers.strided_slice

paddle.strided_slice

True

287

paddle.fluid.layers.sums

paddle.add_n

True

288

paddle.fluid.layers.swish

paddle.nn.functional.swish

True

289

paddle.fluid.layers.switch_case

paddle.static.nn.switch_case

True

290

paddle.fluid.layers.t

paddle.t

True

291

paddle.fluid.layers.tanh

paddle.tanh

True

292

paddle.fluid.layers.tanh_shrink

paddle.nn.functional.tanhshrink

True

293

paddle.fluid.layers.thresholded_relu

paddle.nn.functional.thresholded_relu

True

294

paddle.fluid.layers.topk

paddle.topk

True

295

paddle.fluid.layers.trace

paddle.trace

True

296

paddle.fluid.layers.transpose

paddle.transpose

True

297

paddle.fluid.layers.tril

paddle.tril

True

298

paddle.fluid.layers.triu

paddle.triu

True

299

paddle.fluid.layers.unfold

paddle.nn.functional.unfold

True

300

paddle.fluid.layers.Uniform

paddle.distribution.Uniform

True

301

paddle.fluid.layers.unique

paddle.unique

True

302

paddle.fluid.layers.unsqueeze

paddle.unsqueeze

True

303

paddle.fluid.layers.unstack

paddle.unstack

True

304

paddle.fluid.layers.warpctc

paddle.nn.functional.ctc_loss

False

305

paddle.fluid.layers.where

paddle.where

False

306

paddle.fluid.layers.while_loop

paddle.static.nn.while_loop

True

307

paddle.fluid.layers.zeros

paddle.zeros

True

308

paddle.fluid.layers.zeros_like

paddle.zeros_like

True

309

paddle.fluid.metrics.Accuracy

paddle.metric.Accuracy

True

310

paddle.fluid.metrics.Precision

paddle.metric.Precision

True

311

paddle.fluid.metrics.Recall

paddle.metric.Recall

True

312

paddle.fluid.optimizer.Adadelta

paddle.optimizer.Adadelta

True

313

paddle.fluid.optimizer.AdadeltaOptimizer

paddle.optimizer.Adadelta

True

314

paddle.fluid.optimizer.Adagrad

paddle.optimizer.Adagrad

True

315

paddle.fluid.optimizer.AdagradOptimizer

paddle.optimizer.Adagrad

True

316

paddle.fluid.optimizer.Adam

paddle.optimizer.Adam

True

317

paddle.fluid.optimizer.Adamax

paddle.optimizer.Adamax

True

318

paddle.fluid.optimizer.AdamaxOptimizer

paddle.optimizer.Adamax

True

319

paddle.fluid.optimizer.AdamOptimizer

paddle.optimizer.Adam

True

320

paddle.fluid.optimizer.Momentum

paddle.optimizer.Momentum

True

321

paddle.fluid.optimizer.MomentumOptimizer

paddle.optimizer.Momentum

True

322

paddle.fluid.optimizer.RMSPropOptimizer

paddle.optimizer.RMSProp

True

323

paddle.fluid.optimizer.SGD

paddle.optimizer.SGD

True

324

paddle.fluid.optimizer.SGDOptimizer

paddle.optimizer.SGD

True

325

paddle.fluid.regularizer.L1Decay

paddle.regularizer.L1Decay

True

326

paddle.fluid.regularizer.L1DecayRegularizer

paddle.regularizer.L1Decay

True

327

paddle.fluid.regularizer.L2Decay

paddle.regularizer.L2Decay

True

328

paddle.fluid.regularizer.L2DecayRegularizer

paddle.regularizer.L2Decay

True

329

paddle.fluid.unique_name.generate

paddle.utils.unique_name.generate

True

330

paddle.fluid.unique_name.guard

paddle.utils.unique_name.guar

True

331

paddle.fluid.layers.matmul

paddle.matmul

True

332

paddle.fluid.layers.clip

paddle.clip

True

333

paddle.fluid.data

paddle.static.data

True

334

paddle.fluid.layers.load

paddle.load

False

335

paddle.fluid.dygraph.InverseTimeDecay

paddle.optimizer.lr.InverseTimeDecay

False

336

paddle.fluid.metrics.Auc

paddle.metric.Auc

False

337

paddle.fluid.dygraph.ExponentialDecay

paddle.optimizer.lr.ExponentialDecay

False

338

paddle.fluid.layers.full

paddle.full

True

339

paddle.fluid.layers.elementwise_sub

paddle.subtract

False

340

paddle.fluid.dygraph.PiecewiseDecay

paddle.optimizer.lr.PiecewiseDecay

False

341

paddle.fluid.unique_name.switch

paddle.utils.unique_name.switch

True

342

paddle.fluid.layers.fill_constant

paddle.full

True

343

paddle.fluid.layers.equal

paddle.equal

True

344

paddle.fluid.layers.mean

paddle.mean

True

345

paddle.fluid.dygraph.save_dygraph

paddle.save

True

346

paddle.fluid.layers.yolo_box

paddle.vision.ops.yolo_box

True

347

paddle.fluid.layers.yolov3_loss

paddle.vision.ops.yolo_loss

True

348

paddle.fluid.dygraph.ParallelEnv

paddle.distributed.ParallelEnv

True

349

paddle.fluid.dygraph.GRUUnit

paddle.nn.GRUCell

True

350

paddle.fluid.layers.row_conv

paddle.static.nn.row_conv

True

351

paddle.fluid.layers.pad

paddle.nn.functional.pad

False

352

paddle.fluid.layers.cross_entropy

paddle.nn.functional.cross_entropy

True

353

paddle.fluid.layers.range

paddle.arange

True

354

paddle.fluid.layers.DynamicRNN

paddle.nn.RNN

False

355

paddle.fluid.layers.BeamSearchDecoder

paddle.nn.BeamSearchDecoder

True

356

paddle.fluid.layers.elementwise_pow

paddle.pow

True

357

paddle.fluid.layers.assign

paddle.assign

True

358

paddle.fluid.layers.dynamic_lstmp

paddle.nn.LSTM

False

359

paddle.fluid.layers.lstm_unit

paddle.nn.LSTMCell

False

360

paddle.fluid.layers.LSTMCell

paddle.nn.LSTMCell

False

361

paddle.fluid.optimizer.RMSProp

paddle.optimizer.RMSProp

True

362

paddle.fluid.layers.gru_unit

paddle.nn.GRUCell

False

你可能感兴趣的:(深度学习基础,paddle,深度学习,人工智能,python,numpy)