oa::FnFlow::linearMatch

Construct x(t) = clean + t * (noise - clean) and the training target v(t) = noise - clean. inTime may be scalar, [B], or already broadcastable to inClean. A [B] vector is expanded across every non-batch dimension.

Function Documentation

FlowMatchBatch oa::FnFlow::linearMatch( const oa::Matrix & inClean, const oa::Matrix & inNoise, const oa::Matrix & inTime )
Construct x(t) = clean + t * (noise - clean) and the training target v(t) = noise - clean. inTime may be scalar, [B], or already broadcastable to inClean. A [B] vector is expanded across every non-batch dimension.

Parameters

inClean
const oa::Matrix &

inNoise
const oa::Matrix &

inTime
const oa::Matrix &

Returns

FlowMatchBatch

The declared return value.