From 4bc8e5f100c2960516a2b326d62d56bc19da8dcd Mon Sep 17 00:00:00 2001 From: Yao Zhao Date: Tue, 4 Dec 2018 13:53:01 -0500 Subject: [PATCH] fix docs/architecture/overview.md Fix BinaryShapeFunction typedef Add a right brace for SmoothL1Shape_ --- docs/architecture/overview.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/architecture/overview.md b/docs/architecture/overview.md index a7632d4a61e8..6a37f8830479 100644 --- a/docs/architecture/overview.md +++ b/docs/architecture/overview.md @@ -567,8 +567,8 @@ let's check input data shape consistency and provide output shape. ```cpp typedef TShape (*UnaryShapeFunction)(const TShape& src, const EnvArguments& env); - typedef TShape (*BinaryShapeFunction)(const TShape& const TShape& rhs,lhs, - + typedef TShape (*BinaryShapeFunction)(const TShape& lhs, + const TShape& rhs, const EnvArguments& env); ``` You can use `mshadow::TShape` to check input data shape and designate output data shape. @@ -597,6 +597,7 @@ Written explicitly, it is: inline TShape SmoothL1Shape_(const TShape& src, const EnvArguments& env) { return TShape(src); + } ``` ### Define Functions