Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/pure-cfg/src/compiler/translate/translate-basis.sml
ViewVC logotype

Diff of /branches/pure-cfg/src/compiler/translate/translate-basis.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 829, Sat Apr 16 16:28:59 2011 UTC revision 896, Wed Apr 20 17:21:05 2011 UTC
# Line 101  Line 101 
101                  (BV.neg_t,              tensorOp Op.Neg),                  (BV.neg_t,              tensorOp Op.Neg),
102                  (BV.neg_f,              fn (y, _, xs) => assign(y, Op.NegField, xs)),                  (BV.neg_f,              fn (y, _, xs) => assign(y, Op.NegField, xs)),
103                  (BV.op_at,              fn (y, [_, dv, sv], xs) =>                  (BV.op_at,              fn (y, [_, dv, sv], xs) =>
104                                            assign(y, Op.Probe(shapeVarToTensor sv, dimVarToTensor dv), xs)),                                            assign(y, Op.Probe(dimVarToTensor dv, shapeVarToTensor sv), xs)),
105                  (BV.op_convolve,        fn (y, [_, dv, _], xs) =>                  (BV.op_convolve,        fn (y, [_, dv, _], xs) =>
106                                            assign(y, Op.Field(pruneDim(MV.toDim dv)), xs)),                                            assign(y, Op.Field(pruneDim(MV.toDim dv)), xs)),
107                  (BV.op_D,               fn (y, _, xs) => assign(y, Op.DiffField, xs)),                  (BV.op_D,               fn (y, _, xs) => assign(y, Op.DiffField, xs)),

Legend:
Removed from v.829  
changed lines
  Added in v.896

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0