Precision#

class nvmath.device.Precision(a: type[object], b: type[object], c: type[object])[source]#

A namedtuple class that encapsulates the three precisions in matrix multiplication \(C = \alpha Op(A) Op(B) + \beta C\).

a#

The precision of two-dimensional array used to store the matrix A.

Type:

type

b#

The precision of two-dimensional array used to store the matrix B.

Type:

type

c#

The precision of two-dimensional array used to store the matrix C.

Type:

type

static __new__(
_cls,
a: type[object],
b: type[object],
c: type[object],
)#

Create new instance of Precision(a, b, c)