• H
    [Dy2stat] Fix Memory Optimization in run_program_op and Add SimNet as Unit Test (#25383) · f9ac5fb9
    Huihuang Zheng 提交于
    Add Similarity Net as unit test. During the unit test, we found three problems:
    
    1. The run_program_op has memory optimization error when running dy2stat net multiple times.
    2. The support for SelectedRows can cause problem in dy2stat.
    3. The return grammar has problem.
    
    This PR fixes the 1. problem but modify codes for the 2. 3. problems to make PR smaller. I will fix those two problems in the next PR(s)
    f9ac5fb9
CMakeLists.txt 5.1 KB