public ActivationLayerForwardCompute(NeuralNetworkFactory factory, ConnectedLayer connectedLayer)
            : base(factory, connectedLayer)
        {
            Contract.Requires(connectedLayer != null);
            Contract.Requires(connectedLayer.Layer is ActivationLayer);

            FeedForwardOps = factory.CreateFeedForwardOps();
            FeedForwardOps.Initialize(this);
            BPTTOps = factory.CreateBPTTOps();
            BPTTOps.Initialize(this);
            RTLROps = factory.CreateRTLROps();
            RTLROps.Initialize(this);
            Function = ((ActivationLayer)connectedLayer.Layer).Function;
        } 
        protected LayerForwardCompute(NeuralNetworkFactory factory, ConnectedLayer connectedLayer)
        {
            Contract.Requires(connectedLayer != null);

            Init(connectedLayer);
        }