diff --git a/doc/developer-guide/operator.md b/doc/developer-guide/operator.md index 26e58256d618..bca29efa978f 100644 --- a/doc/developer-guide/operator.md +++ b/doc/developer-guide/operator.md @@ -70,8 +70,10 @@ It is possible that one convolution has several implementations and users want t * **Request Resources:** Operation like `cudnnConvolutionForward` need a workspace to help computation. It is would be nice if the system could manage that since the system then could do optimizations like reuse the space and so on. MXNet defines two interfaces to achieve this: ```c++ - virtual std::vector ForwardResource(const std::vector &in_shape) const; - virtual std::vector BackwardResource(const std::vector &in_shape) const; + virtual std::vector ForwardResource( + const std::vector &in_shape) const; + virtual std::vector BackwardResource( + const std::vector &in_shape) const; ``` The `ResourceRequest` structure (in `resource.h`) currently contains only a type flag: ```c++