Skip to content
class

StoragePair

StoragePair

Convenience wrapper bundling two Storage outputs from one op call.

Used by ops that naturally return a pair of arrays — QR decomposition, eigendecomposition, RMSNorm forward (output + saved rstd), sort+argsort, LU factor, LDL factor, and similar.

Attributes

first, secondStorage
The two output tensors; the semantic role of each is documented on the method that returns this struct.