Skip to main content

📦 core

The core EnergeticAI library, installed as a peer dependency of other EnergeticAI libraries.

Install​

npm install --save @energetic-ai/core

Exports​

ExportDescription
ioAn object containing various I/O functions and utilities, from a combination of @tensorflow/tfjs-core and @tensorflow/tfjs-node.
io.fileSystemThe fileSystem function from the @tensorflow/tfjs-node module.
io.copyModelThe copyModel function from the @tensorflow/tfjs-core module.
io.listModelsThe listModels function from the @tensorflow/tfjs-core module.
io.moveModelThe moveModel function from the @tensorflow/tfjs-core module.
io.removeModelThe removeModel function from the @tensorflow/tfjs-core module.
io.browserFilesThe browserFiles function from the @tensorflow/tfjs-core module.
io.browserHTTPRequestThe browserHTTPRequest function from the @tensorflow/tfjs-core module.
io.concatenateArrayBuffersThe concatenateArrayBuffers function from the @tensorflow/tfjs-core module.
io.decodeWeightsThe decodeWeights function from the @tensorflow/tfjs-core module.
io.encodeWeightsThe encodeWeights function from the @tensorflow/tfjs-core module.
io.fromMemoryThe fromMemory function from the @tensorflow/tfjs-core module.
io.fromMemorySyncThe fromMemorySync function from the @tensorflow/tfjs-core module.
io.getLoadHandlersThe getLoadHandlers function from the @tensorflow/tfjs-core module.
io.getModelArtifactsForJSONThe getModelArtifactsForJSON function from the @tensorflow/tfjs-core module.
io.getModelArtifactsForJSONSyncThe getModelArtifactsForJSONSync function from the @tensorflow/tfjs-core module.
io.getModelArtifactsInfoForJSONThe getModelArtifactsInfoForJSON function from the @tensorflow/tfjs-core module.
io.getSaveHandlersThe getSaveHandlers function from the @tensorflow/tfjs-core module.
io.getWeightSpecsThe getWeightSpecs function from the @tensorflow/tfjs-core module.
io.httpThe http function from the @tensorflow/tfjs-core module.
io.isHTTPSchemeThe isHTTPScheme function from the @tensorflow/tfjs-core module.
io.loadWeightsThe loadWeights function from the @tensorflow/tfjs-core module.
io.registerLoadRouterThe registerLoadRouter function from the @tensorflow/tfjs-core module.
io.registerSaveRouterThe registerSaveRouter function from the @tensorflow/tfjs-core module.
io.weightsLoaderFactoryThe weightsLoaderFactory function from the @tensorflow/tfjs-core module.
io.withSaveHandlerThewithSaveHandlerfunction from the@tensorflow/tfjs-coremodule.
io.withSaveHandlerSyncThewithSaveHandlerSyncfunction from the@tensorflow/tfjs-coremodule.
versionAn object containing version information for different TensorFlow.js modules.
version["tfjs-core"]The version of thetfjs-coremodule.
version["tfjs-backend-wasm"]The version of thetfjs-backend-wasmmodule.
version["tfjs-converter"]The version of thetfjs-convertermodule.
All exports from@tensorflow/tfjs-coremoduleAll exports from the@tensorflow/tfjs-coremodule.
All exports from@tensorflow/tfjs-convertermoduleAll exports from the@tensorflow/tfjs-convertermodule.
All exports from@tensorflow/tfjs-backend-wasmmoduleAll exports from the@tensorflow/tfjs-backend-wasm module.