示例#1
0
        /// <inheritdoc />
        public INDArray FlattenFeatures(INDArray array)
        {
            if (Enabled && array.Rank < 3)
            {
                Report($"ndarray needs to have a rank of 3 or higher (was {array.Rank}) for {nameof(FlattenFeatures)} operation", array);
            }

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