Backend Type

Represents a backend for dfx tensors

Union cases

Union case Description

Other(name, code)

Full Usage: Other(name, code)

Parameters:
    name : string
    code : int

Reserved for future use

name : string
code : int

Reference

Full Usage: Reference

The reference backend

Torch

Full Usage: Torch

The LibTorch backend

Instance members

Instance member Description

this.IsOther

Full Usage: this.IsOther

Returns: bool
Returns: bool

this.IsReference

Full Usage: this.IsReference

Returns: bool
Returns: bool

this.IsTorch

Full Usage: this.IsTorch

Returns: bool
Returns: bool

this.Name

Full Usage: this.Name

Returns: string

Get the name of the backend

Returns: string

© Copyright 2021, DiffSharp and dfx Contributors.