Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
Paddle
提交
4556ad76
P
Paddle
项目概览
BaiXuePrincess
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
4556ad76
编写于
12月 01, 2020
作者:
L
Leo Chen
提交者:
GitHub
12月 01, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Upgrade string literals to raw string [part 2](#29217)
上级
2b2cd186
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
python/paddle/fluid/contrib/optimizer.py
python/paddle/fluid/contrib/optimizer.py
+1
-1
python/paddle/fluid/dygraph/nn.py
python/paddle/fluid/dygraph/nn.py
+1
-1
python/paddle/nn/functional/loss.py
python/paddle/nn/functional/loss.py
+1
-1
python/paddle/nn/layer/loss.py
python/paddle/nn/layer/loss.py
+2
-2
python/paddle/optimizer/lamb.py
python/paddle/optimizer/lamb.py
+1
-1
python/paddle/vision/ops.py
python/paddle/vision/ops.py
+2
-2
未找到文件。
python/paddle/fluid/contrib/optimizer.py
浏览文件 @
4556ad76
...
@@ -24,7 +24,7 @@ __all__ = ['Momentum']
...
@@ -24,7 +24,7 @@ __all__ = ['Momentum']
class
Momentum
(
Optimizer
):
class
Momentum
(
Optimizer
):
"""
r
"""
Simple Momentum optimizer with velocity state
Simple Momentum optimizer with velocity state
...
...
python/paddle/fluid/dygraph/nn.py
浏览文件 @
4556ad76
...
@@ -2979,7 +2979,7 @@ class GroupNorm(layers.Layer):
...
@@ -2979,7 +2979,7 @@ class GroupNorm(layers.Layer):
class
SpectralNorm
(
layers
.
Layer
):
class
SpectralNorm
(
layers
.
Layer
):
"""
r
"""
This interface is used to construct a callable object of the ``SpectralNorm`` class.
This interface is used to construct a callable object of the ``SpectralNorm`` class.
For more details, refer to code examples. It implements the function of the Spectral Normalization Layer.
For more details, refer to code examples. It implements the function of the Spectral Normalization Layer.
This layer calculates the spectral normalization value of weight parameters of
This layer calculates the spectral normalization value of weight parameters of
...
...
python/paddle/nn/functional/loss.py
浏览文件 @
4556ad76
...
@@ -1123,7 +1123,7 @@ def cross_entropy(input,
...
@@ -1123,7 +1123,7 @@ def cross_entropy(input,
soft_label
=
False
,
soft_label
=
False
,
axis
=-
1
,
axis
=-
1
,
name
=
None
):
name
=
None
):
"""
r
"""
This operator implements the cross entropy loss function with softmax. This function
This operator implements the cross entropy loss function with softmax. This function
combines the calculation of the softmax operation and the cross entropy loss function
combines the calculation of the softmax operation and the cross entropy loss function
to provide a more numerically stable gradient.
to provide a more numerically stable gradient.
...
...
python/paddle/nn/layer/loss.py
浏览文件 @
4556ad76
...
@@ -141,7 +141,7 @@ class BCEWithLogitsLoss(fluid.dygraph.Layer):
...
@@ -141,7 +141,7 @@ class BCEWithLogitsLoss(fluid.dygraph.Layer):
class
CrossEntropyLoss
(
fluid
.
dygraph
.
Layer
):
class
CrossEntropyLoss
(
fluid
.
dygraph
.
Layer
):
"""
r
"""
This operator implements the cross entropy loss function with softmax. This function
This operator implements the cross entropy loss function with softmax. This function
combines the calculation of the softmax operation and the cross entropy loss function
combines the calculation of the softmax operation and the cross entropy loss function
to provide a more numerically stable gradient.
to provide a more numerically stable gradient.
...
@@ -623,7 +623,7 @@ class BCELoss(fluid.dygraph.Layer):
...
@@ -623,7 +623,7 @@ class BCELoss(fluid.dygraph.Layer):
class
NLLLoss
(
fluid
.
dygraph
.
Layer
):
class
NLLLoss
(
fluid
.
dygraph
.
Layer
):
"""
r
"""
:alias_main: paddle.nn.NLLLoss
:alias_main: paddle.nn.NLLLoss
:alias: paddle.nn.NLLLoss,paddle.nn.layer.NLLLoss,paddle.nn.layer.loss.NLLLoss
:alias: paddle.nn.NLLLoss,paddle.nn.layer.NLLLoss,paddle.nn.layer.loss.NLLLoss
...
...
python/paddle/optimizer/lamb.py
浏览文件 @
4556ad76
...
@@ -21,7 +21,7 @@ __all__ = ["Lamb"]
...
@@ -21,7 +21,7 @@ __all__ = ["Lamb"]
class
Lamb
(
Optimizer
):
class
Lamb
(
Optimizer
):
"""
r
"""
LAMB (Layer-wise Adaptive Moments optimizer for Batching training) Optimizer.
LAMB (Layer-wise Adaptive Moments optimizer for Batching training) Optimizer.
LAMB Optimizer is designed to scale up the batch size of training without losing
LAMB Optimizer is designed to scale up the batch size of training without losing
...
...
python/paddle/vision/ops.py
浏览文件 @
4556ad76
...
@@ -34,7 +34,7 @@ def yolo_loss(x,
...
@@ -34,7 +34,7 @@ def yolo_loss(x,
use_label_smooth
=
True
,
use_label_smooth
=
True
,
name
=
None
,
name
=
None
,
scale_x_y
=
1.
):
scale_x_y
=
1.
):
"""
r
"""
This operator generates YOLOv3 loss based on given predict result and ground
This operator generates YOLOv3 loss based on given predict result and ground
truth boxes.
truth boxes.
...
@@ -242,7 +242,7 @@ def yolo_box(x,
...
@@ -242,7 +242,7 @@ def yolo_box(x,
clip_bbox
=
True
,
clip_bbox
=
True
,
name
=
None
,
name
=
None
,
scale_x_y
=
1.
):
scale_x_y
=
1.
):
"""
r
"""
This operator generates YOLO detection boxes from output of YOLOv3 network.
This operator generates YOLO detection boxes from output of YOLOv3 network.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录