Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace convert

Index

Type aliases

Functions

Type aliases

Backend

Backend: "CPU" | "WASM" | "GPU"

Functions

sameType

  • sameType<DTpe1, DTpe2>(a: Tensor<DTpe1>, b: Tensor<DTpe2>): boolean
  • Determines if the two tensors are of the same type, ie. if they are on the same backend

    Type parameters

    Parameters

    Returns boolean

toBackend

toCPU

toGPU

toWASM

Generated using TypeDoc