@tensorspace/tensor-processor
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Tensor Processor SDK - Typescript

Installation

  • Package manager
    npm install @tensorspace/tensor-processor

Example

  import Tpu from "@tensorspace/tensor-processor";

  const client: Tpu = new Tpu({
    apiKey: YOUR_TPU_API_KEY,
  });

  // Run model
  client.prediction({
    model: "Stable Lightning",
    input: {
      "prompt": "a panda eating bamboo"
    }
  })
  .then((result) => {
    console.log(result);
  });

Readme

Keywords

none

Package Sidebar

Install

npm i @tensorspace/tensor-processor

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

16.7 kB

Total Files

11

Last publish

Collaborators

  • tensorspace