Skip to content

Commit

Permalink
Turn off tensorflow's warning about using pure-js impl
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Apr 25, 2024
1 parent 7677dd4 commit 8f911bb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import fs from 'node:fs';
import path from 'node:path';
import Mocha from 'mocha';
import yargs from 'yargs';
import tf from '@tensorflow/tfjs';

// Do not warn about using pure-js tensorflow.
tf.ENV.set('IS_TEST', true);

const argv = require('yargs')
.string('g').alias('g', 'grep')
Expand Down

0 comments on commit 8f911bb

Please sign in to comment.