Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Fix operator arguments #4575

Merged
merged 2 commits into from Jan 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions include/mxnet/tensor_blob.h
Expand Up @@ -283,6 +283,7 @@ class TBlob {
namespace dmlc {
// Add a few patches to support TShape in dmlc/parameter.
DMLC_DECLARE_TYPE_NAME(mxnet::TShape, "Shape(tuple)");
DMLC_DECLARE_TYPE_NAME(nnvm::Tuple<int>, "Shape(tuple)");

namespace parameter {

Expand Down
1 change: 1 addition & 0 deletions src/operator/activation.cc
Expand Up @@ -77,6 +77,7 @@ scalar of the input tensor):

See `LeakyReLU` for other activations with parameters.
)")
.add_argument("data", "Symbol", "Input data to activation function.")
.add_arguments(ActivationParam::__FIELDS__());

} // namespace op
Expand Down