decthings

Types


This document defines a few types that are used in several places in the API.

/**
 * Configures CPU, memory, disk and allocated swap space for a launcher.
 */
export type LauncherSpec = {
    cpus: 0.125 | 0.25 | 0.5 | 1 | 2
    memoryMebibytes: number
    diskMebibytes?: number
    swapMebibytes?: number
}
/**
 * Defines name and rules for a parameter.
 */
export type DecthingsParameterDefinition = {
    name: string
    rules: 
}
/**
 * Contains a list of DecthingsTensors for a parameter.
 */
export type DecthingsParameter = {
    name: string
    data: []
}
/**
 * Provides a value for a parameter, either as a list of DecthingsTensors or as a dataset.
 */
export type DecthingsParameterProvider = {
    name: string
    data: [] | { type: 'dataset', datasetId: string, datasetKey: string }
}

Product

  • Documentation
  • Pricing
  • API reference
  • Guides

Company

  • Support

Get going!

Sign up
  • Terms and conditions
  • Privacy policy
  • Cookie policy
  • GitHub
  • LinkedIn

This website uses cookies to enhance the experience.

Learn more