• J
    【Zero-Dim】Flatten support 0d tensor (#49361) · 0093aaa6
    jiangcheng 提交于
    * flatten op support 0D-tensor
    
    * add test in zero dim py
    
    * fix shape should be list
    
    * short code for ci-coverage
    
    * add backward test
    
    * simple code for ci coverage
    
    * add axis check
    
    * add 0D-tensor test in test_flatten_contiguous_range_op.py
    
    * add axis error test for Coverage CI
    
    * add more test for CI-Coverage
    
    * add more test for CI-Coverage
    0093aaa6
flatten_op.h 4.3 KB