struct CoopVec<T, int N>

Conforms to: IArray<T>, IArithmetic

Conditionally conforms to: IDifferentiable, IDifferentiableArithmetic

Description

Represents a Cooperative Vector type that is for matrix-vector multiplication that can take an advantage of the hardware acceleration. It can be used for evaluations of neural network in graphics and compute pipeline.

Generic Parameters

T: __BuiltinArithmeticType

The element type of the CoopVec.

N : int

The vector size.

Methods

Conditional Conformances

Conformance to IDifferentiable

CoopVec<T, int N> additionally conforms to IDifferentiable when the following conditions are met:

Conformance to IDifferentiableArithmetic

CoopVec<T, int N> additionally conforms to IDifferentiableArithmetic when the following conditions are met: