jiazhihao / TASO

The Tensor Algebra SuperOptimizer for Deep Learning
Apache License 2.0
687 stars 90 forks source link

Add topological sort in __init__.py #20

Closed OuHangKresnik closed 4 years ago

OuHangKresnik commented 4 years ago

Without it, if op1 depends on op2's output, the runtime here may evaluate op1 first which causes failure

jiazhihao commented 4 years ago

This should be fixed in commit dad67cb2eb.