node_modules/@tensorflow/tfjs-core/dist/ops/conv3d_test.js
// Generates small floating point inputs to avoid overflows
Generates small floating point inputs to avoid overflows
Generates small floating point inputs to avoid overflows
function generateCaseInputs(totalSizeTensor, totalSizeFilter) {
    var inp = new Array(totalSizeTensor);
    var filt = new Array(totalSizeFilter);
    for (var i = 0; i < totalSizeTensor; i++) {
        inp[i] = (i + 1) / totalSizeTensor;
    }
    for (var i = 0; i < totalSizeFilter; i++) {
        filt[i] = (i + 1) / totalSizeFilter;
    }
    return { input: inp, filter: filt };
}
function generateCaseInputs ( totalSizeTensor , totalSizeFilter ) { var inp = new Array ( totalSizeTensor ) ; var filt = new Array ( totalSizeFilter ) ; for ( var i = 0 ; i < totalSizeTensor ; i ++ ) { inp [ i ] = ( i + 1 ) / totalSizeTensor ; } for ( var i = 0 ; i < totalSizeFilter ; i ++ ) { filt [ i ] = ( i + 1 ) / totalSizeFilter ; } return { input : inp , filter : filt } ; }
Generates small floating point inputs to avoid overflows
Generates small floating point inputs to avoid overflows