In execution the left argument of OiOutputLayer
IS the structure you seek .  The boxing structure
in your msg is an artifact of the display that
you used; it accurately reflects the sequence that
the components are invoked in execution.

By the way, the defn can be simplified to:

calcNetError=:  (NIn; NHid;NOut;OiInputLayer) OiOutputLayer ]



----- Original Message -----
From: NEIL JAMES HOSEY <[EMAIL PROTECTED]>
Date: Wednesday, April 25, 2007 3:29 am
Subject: [Jprogramming] BOXING PROBLEM

> Hi all,
> 
> I have the following line of code:
> 
> calcNetError=:  (NIn; NHid;NOut;([ OiInputLayer ]))
> OiOutputLayer ]
> 
> I want to have a box structure that passes in NIn NHid NOut
> and the output of OiInputLayer to OiOutputLayer.
> 
> I want the box to be a one level deep box where there are
> the above 4 verbs in it which in turn actually pass values
> into OIOutput layer.  But the box stucture from the above
> code returns this:
> 
> +--------------------------------------------+-------------+-+
> |+---+-+------------------------------------+|OiOutputLayer|]|
> ||NIn|;|+----+-+---------------------------+||             |
> |
> ||   | ||NHid|;|+----+-+------------------+|||             |
> |
> ||   | ||    | ||NOut|;|+-+------------+-+||||             |
> |
> ||   | ||    | ||    | ||[|OiInputLayer|]|||||             |
> |
> ||   | ||    | ||    | |+-+------------+-+||||             |
> |
> ||   | ||    | |+----+-+------------------+|||             |
> |
> ||   | |+----+-+---------------------------+||             |
> |
> |+---+-+------------------------------------+|             |
> |
> +--------------------------------------------+-------------+-+
> 
> Is there any way to get around this??
> 
> Any help is appreciated.
> 
> Neil
> 
> PS. NIn, NOut and NHid just access the x input to
> calcNetError by 0 {:: [ or 1{:: [
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to