Skip to content

Duplicate runs of tfjs tests against CPU backend #6422

Open
@mattsoulanille

Description

@mattsoulanille

CPU tests are run twice: once in tfjs-backend-cpu and another time in tfjs-core.

tfjs-backend-cpu: https://github.com/tensorflow/tfjs/blob/master/tfjs-backend-cpu/src/run_tests.ts#L39
tfjs-core: https://github.com/tensorflow/tfjs/blob/master/tfjs-core/src/setup_test.ts#L41

We should probably remove one of these to avoid the redundancy. I think removing them from core is best, since for all other backends, we run tests in the backend's folder. tfjs-core currently only tests with node, so we should also move this browser test to tfjs-core.

For questions on how to work with TensorFlow.js, or support for problems that are not verified bugs in TensorFlow.js, please go to StackOverflow.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions