Skip to content

Commit

Permalink
Revert "add more attributes. (apache#10296)"
Browse files Browse the repository at this point in the history
This reverts commit 0d3ec94.
  • Loading branch information
Olivier committed Mar 30, 2018
1 parent 78e9760 commit f05b451
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/operator/nn/lrn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -181,14 +181,6 @@ number of kernels in the layer.
.set_attr<nnvm::FInferShape>("FInferShape", LRNShape)
.set_attr<nnvm::FInferType>("FInferType", LRNType)
.set_attr<FInferStorageType>("FInferStorageType", LRNForwardInferStorageType)
.set_attr<nnvm::FListInputNames>("FListInputNames",
[](const NodeAttrs& attrs) {
return std::vector<std::string>{"data"};
})
.set_attr<nnvm::FListInputNames>("FListOutputNames",
[](const NodeAttrs& attrs) {
return std::vector<std::string>{"output", "tmp_norm"};
})
.set_attr<FCompute>("FCompute<cpu>", LRNCompute<cpu>)
#if MXNET_USE_MKLDNN == 1
.set_attr<FComputeEx>("FComputeEx<cpu>", LRNComputeExCPU)
Expand Down

0 comments on commit f05b451

Please sign in to comment.