xlamisc

CRAN status R-CMD-check r-universe

Provides S3 generics and data types for tensors, shared across the r-xla packages.

Installation

pak::pak("r-xla/xlamisc")

Available Generics

Other functions:

Tensor Data Types

xlamisc provides DataType, an enum-style S3 class representing a tensor element type. There is one singleton object per supported dtype, wrapping its canonical string. The members are:

Construct and inspect data types with:

Data types support equality comparison with == and !=.