Skip to content
class

PhantomBackend

extendsIBackend
PhantomBackend

Constructors

1

Static methods

1
static

diag_shape

int diag_shape(const int & v_shape, int k)

The shape the CPU and Metal diag give: a square matrix with v on diagonal k for a vector, the k-th diagonal for a matrix.

Virtual methods

1

Methods

251