ehsanmok commented on a change in pull request #17435: Chopt docfixes
URL: https://github.com/apache/incubator-mxnet/pull/17435#discussion_r370903113
 
 

 ##########
 File path: docs/python_docs/python/tutorials/extend/custom_layer.md
 ##########
 @@ -26,7 +26,6 @@ In this article, I will cover how to create a new layer from 
scratch, how to use
 
 To create a new layer in Gluon API, one must create a class that inherits from 
[Block](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/block.py#L123)
 class. This class provides the most basic functionality, and all pre-defined 
layers inherit from it directly or via other subclasses. Because each layer in 
Apache MxNet inherits from `Block`, words "layer" and "block" are used 
interchangeable inside of the Apache MxNet community.
 
-- MXNet 
[7b24137](https://github.com/apache/incubator-mxnet/commit/7b24137ed45df605defa4ce72ec91554f6e445f0).
 See Instructions in [Setup and Installation]({{'/get_started'|relative_url}}). 
 The only instance method needed to be implemented is [forward(self, 
x)](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/block.py#L415),
 which defines what exactly your layer is going to do during forward 
propagation. Notice, that it doesn't require to provide what the block should 
do during back propogation. Back propogation pass for blocks is done by Apache 
MxNet for you. 
 
 Review comment:
   Could you point to a specific tag commit when linking to code part for 
`forward(self, x)`, `hybridize` etc. ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to