node_modules/@tensorflow/tfjs-data/dist/tf-data.js
/** Returns the squared Euclidean distance between two vectors. */
Returns the squared Euclidean distance between two vectors.
Returns the squared Euclidean distance between two vectors .
function distSquared(a, b) {
        var result = 0;
        for (var i = 0; i < a.length; i++) {
            var diff = Number(a[i]) - Number(b[i]);
            result += diff * diff;
        }
        return result;
    }
function distSquared ( a , b ) { var result = 0 ; for ( var i = 0 ; i < a . length ; i ++ ) { var diff = Number ( a [ i ] ) - Number ( b [ i ] ) ; result += diff * diff ; } return result ; }
Returns the squared Euclidean distance between two vectors.
Returns the squared Euclidean distance between two vectors .