oa::FlowTransformer
Reusable bidirectional Transformer backbone for flow/diffusion denoisers. input is conditioned token state [B,S,D] or flattened [B*S,D]; output keeps the same shape. This is a sibling model family that composes generic Transformer blocks; it is not part of the generic Transformer itself.
Inheritance
public Module
Public Methods
Constructor & Destructor Documentation
Public Method Documentation
No public source comment is attached to this declaration.
Parameters
inIndexoa::I32—
Returns
const oa::TransformerBlock &The declared return value.
No public source comment is attached to this declaration.
Parameters
inIndexoa::I32—
Returns
oa::TransformerBlock &The declared return value.
No public source comment is attached to this declaration.
Returns
const FlowTransformerConfig &The declared return value.
No public source comment is attached to this declaration.
Parameters
inTokensconst oa::Matrix &—
Returns
oa::MatrixThe declared return value.
No public source comment is attached to this declaration.
Parameters
inTokensconst oa::Matrix &—
inConditionconst oa::Matrix &—
inTokenMaskconst oa::Matrix &Default: = {}
Returns
oa::MatrixThe declared return value.
No public source comment is attached to this declaration.
Parameters
inTokensconst oa::Matrix &—
inTokenMaskconst oa::Matrix &—
Returns
oa::MatrixThe declared return value.
No public source comment is attached to this declaration.
Returns
boolThe declared return value.
No public source comment is attached to this declaration.
Returns
oa::I32The declared return value.
No public source comment is attached to this declaration.
Parameters
inSequenceLengthoa::I32—
Returns
voidThe declared return value.