@tensorflow/tfjs-backend-core

I’m trying to follow this article:

I have installed the relevant modules from npm, but I can’t figure out this part:

import '@tensorflow/tfjs-backend-core';
import '@tensorflow/tfjs-backend-webgl';
import * as bodySegmentation from '@tensorflow-models/body-segmentation';

// Uncomment the line below if you want to use TensorFlow.js runtime.
// import '@tensorflow/tfjs-converter';

// Uncomment the line below if you want to use MediaPipe runtime.
// import '@mediapipe/selfie_segmentation';

I don’t have @tensorflow/tfjs-backend-core and I can’t find any reference to in on npm, or anywhere else. Where do I get it from?

Thanks for the bug report! This should say @tensorflow/tfjs-core instead of @tensorflow/tfjs-backend-core. I’ll update it.