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

Function updateTensorflowLib

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

Source from the content-addressed store, hash-verified

22const fs = require('fs');
23
24function updateTensorflowLib(tensorflowLibPath) {
25 const importStatement = `
26 // This file is auto-generated by prebuild.js. Do not edit!
27 const tf = require("@tensorflow/tfjs")\nexport default tf
28 `;
29 fs.writeFileSync(tensorflowLibPath, importStatement);
30}
31
32updateTensorflowLib('../danfojs-base/shared/tensorflowlib.ts');

Callers 1

prebuild.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected