• James Bergstra's avatar
    replacing transposed dot patternsub with local opt · 59ce6fa9
    James Bergstra 提交于
    The old form (PatternSub) had the problem that it wasn't calling broadcast_like
    on the return value.  It would have been wrong to hack a broadcast_like into
    gof.opt, so I rewrote these two optimizations as a function.
    
    PatternSub is a really cool idea, in the future it might be worth writing a
    TensorPatternSub that deals with tensor-specific issues, like casting,
    dimshuffles, and rebroadcasts.
    59ce6fa9
名称
最后提交
最后更新
..
compile 正在载入提交数据...
gof 正在载入提交数据...
misc 正在载入提交数据...
sandbox 正在载入提交数据...
scalar 正在载入提交数据...
scan_module 正在载入提交数据...
sparse 正在载入提交数据...
tensor 正在载入提交数据...
tests 正在载入提交数据...
__init__.py 正在载入提交数据...
configdefaults.py 正在载入提交数据...
configparser.py 正在载入提交数据...
gradient.py 正在载入提交数据...
lazycond.py 正在载入提交数据...
printing.py 正在载入提交数据...
raise_op.py 正在载入提交数据...
updates.py 正在载入提交数据...