Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 747 Bytes

File metadata and controls

35 lines (22 loc) · 747 Bytes

CacheRequest

Request body for caching a model.

Properties

Name Type
modelId number

Example

import type { CacheRequest } from '@saiden/tensors'

// TODO: Update the object below with actual values
const example = {
  "modelId": null,
} satisfies CacheRequest

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as CacheRequest
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]