public void InitIO () { input = new Channel(Float.TYPE); output = new Channel(Float.TYPE); }
Channel input = new Channel(Float.TYPE); Channel output = new Channel(Float.TYPE); public void InitIO () { streamInput = input; streamOutput = output; }
   public void Init(int N) {      SetSplitter(WEIGHTED_ROUND_ROBIN(N/4-2,1,1,N/2,1,1,N/4-2));      int k = 0;      for (int i=1; i<=5; i++) {         if ((i==2)||(i==4)) {            for (int j=0; j<2; j++) {               Add(new Filter() {                   public void InitIO ()                   {                      input = new Channel(Float.TYPE);                      output = new Channel(Float.TYPE);                   }                    public void InitCount ()                    {                        inCount = 1;                        outCount = 1;                    }                  public void Work() {                     float val = input.PopFloat();                     output.PushFloat(val);                  }               });               k++;            }         } else Add(new Identity(Float.TYPE));      }      SetJoiner(WEIGHTED_ROUND_ROBIN(N/4-2,1,1,N/2,1,1,N/4-2));   }