示例#1
0
        public NdArray <T> ReshapeForward(NdArray <T> val)
        {
            NdArray <T> result = val.Clone();

            result.ParentFunc = this;
            result.Reshape(this.Shape);

            return(result);
        }
示例#2
0
        public override NdArray SingleInputForward(NdArray val)
        {
            NdArray result = val.Clone();

            result.ParentFunc = this;
            result.Reshape(this.Shape);

            return(result);
        }
示例#3
0
        NdArray ForwardCpu(NdArray val)
        {
            NdArray result = val.Clone();

            result.ParentFunc = this;
            result.Reshape(this.Shape);

            return(result);
        }