zxy844288792 opened a new pull request #4310: [Relay][Frontend][Keras] 
batch_norm op params not handling well
URL: https://github.com/apache/incubator-tvm/pull/4310
 
 
   I have a user case shown below that a batch norm op with attributes 
center=True, scale=False. Thus there is no gamma in the model so 'gamma' will 
not be defined in params. However, in op.nn.batch_norm, both beta and gamma are 
required. In the case, we should detect if beta/gamma exists and initilize them 
if not. 
   
   
![image](https://user-images.githubusercontent.com/5164243/68630443-3e02c680-049c-11ea-9fc1-f1395cfd3357.png)
   
   Thanks for contributing to TVM!   Please refer to guideline 
https://docs.tvm.ai/contribute/ for useful information and tips. After the pull 
request is submitted, please request code reviews from 
[Reviewers](https://github.com/apache/incubator-tvm/blob/master/CONTRIBUTORS.md#reviewers)
 by @ them in the pull request thread.
   
   

----------------------------------------------------------------
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