Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
X2Paddle
提交
96cff862
X
X2Paddle
项目概览
PaddlePaddle
/
X2Paddle
大约 1 年 前同步成功
通知
328
Star
698
Fork
167
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
26
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
X2Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
26
Issue
26
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
96cff862
编写于
4月 12, 2019
作者:
J
Jason
提交者:
GitHub
4月 12, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update ReadMe.md
上级
0060d0af
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
8 addition
and
8 deletion
+8
-8
tensorflow2fluid/doc/ReadMe.md
tensorflow2fluid/doc/ReadMe.md
+8
-8
未找到文件。
tensorflow2fluid/doc/ReadMe.md
浏览文件 @
96cff862
# TensorFlow-Fluid
功能一致
表
# TensorFlow-Fluid
接口对应
表
本文档基于TensorFlow v1.12.0梳理了常用API与PaddlePaddle API对应关系和差异分析。根据文档对应关系,有TensorFlow使用经验的用户,可根据对应关系,快速熟悉PaddlePaddle的接口使用 。
...
...
@@ -26,7 +26,7 @@
| 20 |
[
tf.contrib.layers.softmax
](
https://www.tensorflow.org/api_docs/python/tf/contrib/layers/softmax
)
|
[
fluid.layers.softmax
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#softmax
)
| 功能一致 |
| 21 |
[
tf.contrib.layers.xavier_initializer
](
https://www.tensorflow.org/api_docs/python/tf/contrib/layers/xavier_initializer
)
|
[
fluid.initializer.Xavier
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/initializer_cn.html#xavier
)
| 功能一致 |
| 22 |
[
tf.contrib.rnn.GRUCell
](
https://www.tensorflow.org/api_docs/python/tf/contrib/rnn/GRUCell
)
|
[
fluid.layers.gru_unit
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#gru_unit
)
|
[
差异对比
](
tf.contrib.rnn.GRUCell.md
)
|
| 23 |
[
tf.contrib.rnn.MultiRNNCell
](
https://www.tensorflow.org/api_docs/python/tf/contrib/rnn/MultiRNNCell
)
|
- |
[
PaddlePaddle实现
](
tf.nn.rnn_cell.MultiRNNCell.md
)
|
| 23 |
[
tf.contrib.rnn.MultiRNNCell
](
https://www.tensorflow.org/api_docs/python/tf/contrib/rnn/MultiRNNCell
)
|
无相应接口 |
[
Paddle实现方法
](
tf.nn.rnn_cell.MultiRNNCell.md
)
|
| 24 |
[
tf.contrib.rnn.static_rnn
](
https://www.tensorflow.org/api_docs/python/tf/contrib/rnn/static_rnn
)
|
[
fluid.layers.DynamicRNN
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#dynamicrnn
)
| 功能一致 |
| 25 |
[
tf.convert_to_tensor
](
https://www.tensorflow.org/api_docs/python/tf/convert_to_tensor
)
|
[
fluid.layers.assign
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#assign
)
| 功能一致 |
| 26 |
[
tf.cos
](
https://www.tensorflow.org/api_docs/python/tf/cos
)
|
[
fluid.layers.cos
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#cos
)
| 功能一致 |
...
...
@@ -70,7 +70,7 @@
| 64 |
[
tf.multiply
](
https://www.tensorflow.org/api_docs/python/tf/multiply
)
|
[
fluid.layers.elementwise_mul
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#elementwise_mul
)
| 功能一致 |
| 65 |
[
tf.nn.avg_pool
](
https://www.tensorflow.org/api_docs/python/tf/nn/avg_pool
)
|
[
fluid.layers.pool2d
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.pool2d
)
|
[
差异对比
](
tf.nn.avg_pool.md
)
|
| 66 |
[
tf.nn.batch_normalization
](
https://www.tensorflow.org/api_docs/python/tf/nn/batch_normalization
)
|
[
fluid.layers.batch_norm
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.batch_norm
)
| 功能一致 |
| 67 |
[
tf.nn.bidirectional_dynamic_rnn
](
https://www.tensorflow.org/api_docs/python/tf/nn/bidirectional_dynamic_rnn
)
|
- |
[
PaddlePaddle实现
](
tf.nn.bidirectional_dynamic_rnn.md
)
|
| 67 |
[
tf.nn.bidirectional_dynamic_rnn
](
https://www.tensorflow.org/api_docs/python/tf/nn/bidirectional_dynamic_rnn
)
|
无相应接口 |
[
Paddle实现方法
](
tf.nn.bidirectional_dynamic_rnn.md
)
|
| 68 |
[
tf.nn.conv2d
](
https://www.tensorflow.org/api_docs/python/tf/nn/conv2d
)
|
[
fluid.layers.conv2d
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.conv2d
)
|
[
差异对比
](
tf.nn.conv2d.md
)
|
| 69 |
[
tf.nn.conv2d_transpose
](
https://www.tensorflow.org/api_docs/python/tf/nn/conv2d_transpose
)
|
[
fluid.layers.conv2d_transpose
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.conv2d_transpose
)
|
[
差异对比
](
tf.nn.conv2d_transpose.md
)
|
| 70 |
[
tf.nn.conv3d_transpose
](
https://www.tensorflow.org/api_docs/python/tf/nn/conv3d_transpose
)
|
[
fluid.layers.conv3d_transpose
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.conv2d_transpose
)
|
[
差异对比
](
tf.nn.conv3d_transpose.md
)
|
...
...
@@ -84,7 +84,7 @@
| 78 |
[
tf.nn.relu
](
https://www.tensorflow.org/api_docs/python/tf/nn/relu
)
|
[
fluid.layers.relu
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#relu
)
| 功能一致 |
| 79 |
[
tf.nn.relu6
](
https://www.tensorflow.org/api_docs/python/tf/nn/relu6
)
|
[
fluid.layers.relu6
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.relu6
)
| 功能一致 |
| 80 |
[
tf.nn.rnn_cell.LSTMCell
](
https://www.tensorflow.org/api_docs/python/tf/nn/rnn_cell/LSTMCell
)
|
[
fluid.layers.lstm_unit
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#lstm_unit
)
|
[
差异对比
](
tf.nn.rnn_cell.LSTMCell.md
)
|
| 81 |
[
tf.nn.separable_conv2d
](
https://www.tensorflow.org/api_docs/python/tf/nn/separable_conv2d
)
|
- |
[
PaddlePaddle实现
](
tf.nn.separable_conv2d.md
)
|
| 81 |
[
tf.nn.separable_conv2d
](
https://www.tensorflow.org/api_docs/python/tf/nn/separable_conv2d
)
|
无相应接口 |
[
Paddle实现方法
](
tf.nn.separable_conv2d.md
)
|
| 82 |
[
tf.nn.sigmoid
](
https://www.tensorflow.org/api_docs/python/tf/nn/sigmoid
)
|
[
fluid.layers.sigmoid
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#sigmoid
)
| 功能一致 |
| 83 |
[
tf.nn.sigmoid_cross_entropy_with_logits
](
https://www.tensorflow.org/api_docs/python/tf/nn/sigmoid_cross_entropy_with_logits
)
|
[
fluid.layers.sigmoid_cross_entropy_with_logits
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#sigmoid_cross_entropy_with_logits
)
| 功能一致 |
| 84 |
[
tf.nn.softmax
](
https://www.tensorflow.org/api_docs/python/tf/nn/softmax
)
|
[
fluid.layers.softmax
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#softmax
)
| 功能一致 |
...
...
@@ -104,7 +104,7 @@
| 98 |
[
tf.random_normal_initializer
](
https://www.tensorflow.org/api_docs/python/tf/random_normal_initializer
)
|
[
fluid.initializer.Normal
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/initializer_cn.html#normal
)
| 功能一致 |
| 99 |
[
tf.random_uniform
](
https://www.tensorflow.org/api_docs/python/tf/random_uniform
)
|
[
fluid.layers.uniform_random
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.uniform_random
)
| 功能一致 |
| 100 |
[
tf.random_uniform_initializer
](
https://www.tensorflow.org/api_docs/python/tf/random_uniform_initializer
)
|
[
fluid.initializer.UniformInitializer
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/initializer_cn.html#uniforminitializer
)
| 功能一致 |
| 101 |
[
tf.reduce_logsumexp
](
https://www.tensorflow.org/api_docs/python/tf/reduce_logsumexp
)
|
- |
[
PaddlePaddle实现
](
tf.nn.reduce_logsumexp.md
)
|
| 101 |
[
tf.reduce_logsumexp
](
https://www.tensorflow.org/api_docs/python/tf/reduce_logsumexp
)
|
无相应接口 |
[
Paddle实现方法
](
tf.nn.reduce_logsumexp.md
)
|
| 102 |
[
tf.reduce_max
](
https://www.tensorflow.org/api_docs/python/tf/reduce_max
)
|
[
fluid.layers.reduce_max
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#reduce_max
)
| 功能一致 |
| 103 |
[
tf.reduce_mean
](
https://www.tensorflow.org/api_docs/python/tf/reduce_mean
)
|
[
fluid.layers.reduce_mean
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#reduce_mean
)
| 功能一致 |
| 104 |
[
tf.reduce_min
](
https://www.tensorflow.org/api_docs/python/tf/reduce_min
)
|
[
fluid.layers.reduce_min
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#reduce_min
)
| 功能一致 |
...
...
@@ -115,7 +115,7 @@
| 109 |
[
tf.reverse_sequence
](
https://www.tensorflow.org/api_docs/python/tf/reverse_sequence
)
|
[
fluid.layers.sequence_reverse
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#sequence_reverse
)
|
[
差异对比
](
tf.reverse_sequence.md
)
|
| 110 |
[
tf.reverse_v2
](
https://www.tensorflow.org/api_docs/python/tf/reverse_v2
)
|
[
fluid.layers.reverse
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.reverse
)
| 功能一致 |
| 111 |
[
tf.round
](
https://www.tensorflow.org/api_docs/python/tf/round
)
|
[
fluid.layers.round
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.round
)
| 功能一致 |
| 112 |
[
tf.rsqrt
](
https://www.tensorflow.org/api_docs/python/tf/rsqrt
)
|
- |
[
PaddlePaddle实现
](
tf.math.rsqrt.md
)
|
| 112 |
[
tf.rsqrt
](
https://www.tensorflow.org/api_docs/python/tf/rsqrt
)
|
无相应接口 |
[
Paddle实现方法
](
tf.math.rsqrt.md
)
|
| 113 |
[
tf.scalar_mul
](
https://www.tensorflow.org/api_docs/python/tf/scalar_mul
)
|
[
fluid.layers.scale
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#scale
)
| 功能一致 |
| 114 |
[
tf.scatter_update
](
https://www.tensorflow.org/api_docs/python/tf/scatter_update
)
|
[
fluid.layers.scatter
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#scatter
)
|
[
差异对比
](
tf.scatter_update.md
)
|
| 115 |
[
tf.sequence_mask
](
https://www.tensorflow.org/api_docs/python/tf/sequence_mask
)
|
[
fluid.layers.sequence_mask
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#sequence_mask
)
| 功能一致 |
...
...
@@ -127,10 +127,10 @@
| 121 |
[
tf.split
](
https://www.tensorflow.org/api_docs/python/tf/split
)
|
[
fluid.layers.split
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#split
)
|
[
差异对比
](
tf.split.md
)
|
| 122 |
[
tf.sqrt
](
https://www.tensorflow.org/api_docs/python/tf/sqrt
)
|
[
fluid.layers.sqrt
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#sqrt
)
| 功能一致 |
| 123 |
[
tf.square
](
https://www.tensorflow.org/api_docs/python/tf/square
)
|
[
fluid.layers.square
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.square
)
| 功能一致 |
| 124 |
[
tf.squared_difference
](
https://www.tensorflow.org/api_docs/python/tf/squared_difference
)
|
- |
[
PaddlePaddle实现
](
tf.squared_difference.md
)
|
| 124 |
[
tf.squared_difference
](
https://www.tensorflow.org/api_docs/python/tf/squared_difference
)
|
无相应接口 |
[
Paddle实现方法
](
tf.squared_difference.md
)
|
| 125 |
[
tf.squeeze
](
https://www.tensorflow.org/api_docs/python/tf/squeeze
)
|
[
fluid.layers.squeeze
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#squeeze
)
| 功能一致 |
| 126 |
[
tf.stack
](
https://www.tensorflow.org/api_docs/python/tf/stack
)
|
[
fluid.layers.stack
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#stack
)
| 功能一致 |
| 127 |
[
tf.stop_gradient
](
https://www.tensorflow.org/api_docs/python/tf/stop_gradient
)
|
- |
[
PaddlePaddle实现
](
tf.stop_gradient.md
)
|
| 127 |
[
tf.stop_gradient
](
https://www.tensorflow.org/api_docs/python/tf/stop_gradient
)
|
无相应接口 |
[
Paddle实现方法
](
tf.stop_gradient.md
)
|
| 128 |
[
tf.subtract
](
https://www.tensorflow.org/api_docs/python/tf/subtract
)
|
[
fluid.layers.elementwise_sub
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.elementwise_sub
)
| 功能一致 |
| 129 |
[
tf.tanh
](
https://www.tensorflow.org/api_docs/python/tf/tanh
)
|
[
fluid.layers.tanh
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#tanh
)
| 功能一致 |
| 130 |
[
tf.tile
](
https://www.tensorflow.org/api_docs/python/tf/tile
)
|
[
fluid.layers.expand
](
http://paddlepaddle.org/documentation/docs/zh/1.3/api_cn/layers_cn.html#paddle.fluid.layers.expand
)
| 功能一致 |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录