node_modules/@tensorflow/tfjs-data/dist/tf-data.js
/**
     * Returns the approximate number of bytes allocated in the string array - 2
     * bytes per character. Computing the exact bytes for a native string in JS is
     * not possible since it depends on the encoding of the html page that serves
     * the website.
     */
Returns the approximate number of bytes allocated in the string array - 2
bytes per character. Computing the exact bytes for a native string in JS is
not possible since it depends on the encoding of the html page that serves
the website.
Returns the approximate number of bytes allocated in the string array - 2 bytes per character . Computing the exact bytes for a native string in JS is not possible since it depends on the encoding of the html page that serves the website .
function bytesFromStringArray(arr) {
        if (arr == null) {
            return 0;
        }
        var bytes = 0;
        arr.forEach(function (x) { return bytes += x.length * 2; });
        return bytes;
    }
function bytesFromStringArray ( arr ) { if ( arr == null ) { return 0 ; } var bytes = 0 ; arr . forEach ( function ( x ) { return bytes += x . length * 2 ; } ) ; return bytes ; }
Returns the approximate number of bytes allocated in the string array - 2
 bytes per character.
Returns the approximate number of bytes allocated in the string array - 2 bytes per character .