예제 #1
0
        public INDArray FlattenTime(INDArray array)
        {
            if (Enabled && array.Rank < 2)             // two or three? technically 2 is enough ([BT]F) but 3 makes more sense
            {
                Report($"ndarray needs to have a rank of 2 or higher (was {array.Rank}) for {nameof(FlattenTime)} operation", array);
            }

            return(CheckNice(UnderlyingHandler.FlattenTime(CheckNice(array))));
        }