Re: "If" function in MXNET and sharing parameters

2019-03-08 Thread Haibin Lin
Hi Stanislas, Did you consider nd/symbol.contrib.cond for conditional statement? https://mxnet.incubator.apache.org/versions/master/tutorials/control_flow/ControlFlowTutorial.html Best, Haibin On Fri, Mar 8, 2019 at 10:29 Lauly, Stanislas wrote: > Hi, > > About MXNET module, I need to create

"If" function in MXNET and sharing parameters

2019-03-08 Thread Lauly, Stanislas
Hi, About MXNET module, I need to create a model that use a different input matrix depending on the actual input, is there a kind of “if” that can be part of the computational graph? If not, I can always create multiple models that share some params between them, but doing so does not sound