提交 498ab041 编写于 作者: W willzhang4a58

Merge branch 'master' of https://github.com/Oneflow-Inc/oneflow

......@@ -11,6 +11,8 @@ class CloneOp final : public Operator {
CloneOp() = default;
~CloneOp() = default;
bool NeedExtraInDiffMemWhenBackward() const override { return false; }
bool NeedOutWhenBackward() const override { return false; }
void InitFromOpConf() override;
const PbMessage& GetSpecialConf() const override;
void InferBlobDescs(
......
......@@ -11,6 +11,8 @@ class ConcatOp final : public Operator {
ConcatOp() = default;
~ConcatOp() = default;
bool NeedExtraInDiffMemWhenBackward() const override { return false; }
bool NeedOutWhenBackward() const override { return false; }
void InitFromOpConf() override;
const PbMessage& GetSpecialConf() const override;
......
......@@ -11,6 +11,7 @@ class SoftmaxOp final : public Operator {
SoftmaxOp() = default;
~SoftmaxOp() = default;
bool NeedExtraInDiffMemWhenBackward() const override { return false; }
void InitFromOpConf() override;
const PbMessage& GetSpecialConf() const override;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册