Built-in functions, such as CNTKLib.ElementTimes, typically expect one or more Variable(s) as an input, but return a Function. As a result, composition in F# requires explicit conversions everywhere, to convert the output of a Function into a Variable so that it can be passed forward to another function, which makes direct composition difficult.
Built-in functions, such as
CNTKLib.ElementTimes
, typically expect one or moreVariable
(s) as an input, but return aFunction
. As a result, composition in F# requires explicit conversions everywhere, to convert the output of aFunction
into aVariable
so that it can be passed forward to another function, which makes direct composition difficult.