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

[numpy] nonzero #15838

Merged
merged 1 commit into from
Sep 23, 2019
Merged

[numpy] nonzero #15838

merged 1 commit into from
Sep 23, 2019

Commits on Sep 23, 2019

  1. numpy operator nonzero

    * add cpu test and handle 0-dim
    
    * add FGradient with MakeZeroGradNodes
    
    * handle 0-dim and 0-shape and add test on gpu
    
    * add doc
    
    * fix bug in review
    
    * do not use thrust::inclusive_scan on cpu
    
    * fix format error
    
    * edit test and remove gpu test
    
    The output is same as numpy.transpose(numpy.nonzero(x))
    
    * fix error of review
    
    * edit test
    Ying authored and reminisce committed Sep 23, 2019
    Configuration menu
    Copy the full SHA
    d49dc5b View commit details
    Browse the repository at this point in the history