Esempio n. 1
0
        public INDArray Dot(INDArray a, INDArray b)
        {
            CheckMatrix(a, "dot product");
            CheckMatrix(b, "dot product");

            if (Enabled && a.Shape[1] != b.Shape[0])
            {
                Report($"ndarray a.Shape[1] (={a.Shape[1]}) should be b.Shape[0] (={b.Shape[0]}) for operation matrix dot product", a, b);
            }

            return(CheckNice(UnderlyingHandler.Dot(CheckNice(a), CheckNice(b))));
        }