MCPcopy Index your code
hub / github.com/javascriptdata/danfojs / updateTensorflowLib

Function updateTensorflowLib

src/danfojs-node/scripts/prebuild.js:24–27  ·  view source on GitHub ↗
(tensorflowLibPath)

Source from the content-addressed store, hash-verified

22const fs = require('fs');
23
24function updateTensorflowLib(tensorflowLibPath) {
25 const importStatement = `const tf = require("@tensorflow/tfjs-node")\nexport default tf`;
26 fs.writeFileSync(tensorflowLibPath, importStatement);
27}
28
29updateTensorflowLib('../danfojs-base/shared/tensorflowlib.ts');

Callers 1

prebuild.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected