---
title: matrixgame2
---

<div class="python-reference">

<a id="fastvideo.pipelines.basic.matrixgame2"></a>

<h2 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline</code></h2>
<pre class="doc-signature"><code>MatrixGame2I2VPipeline(*args, **kwargs)</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline.initialize_pipeline"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline.initialize_pipeline</code></h3>
<pre class="doc-signature"><code>initialize_pipeline(fastvideo_args: FastVideoArgs)</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline.create_pipeline_stages"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2I2VPipeline.create_pipeline_stages</code></h3>
<pre class="doc-signature"><code>create_pipeline_stages(fastvideo_args: FastVideoArgs)</code></pre>

<h2 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline</code></h2>
<pre class="doc-signature"><code>MatrixGame2CausalDMDPipeline(*args, **kwargs)</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.create_pipeline_stages"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.create_pipeline_stages</code></h3>
<pre class="doc-signature"><code>create_pipeline_stages(fastvideo_args: FastVideoArgs) -&gt; None</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_reset"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_reset</code></h3>
<pre class="doc-signature"><code>streaming_reset(batch: ForwardBatch, fastvideo_args: FastVideoArgs)</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_step"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_step</code></h3>
<pre class="doc-signature"><code>streaming_step(keyboard_action, mouse_action) -&gt; ForwardBatch</code></pre>

<h3 id="fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_clear"><code>fastvideo.pipelines.basic.matrixgame2.MatrixGame2CausalDMDPipeline.streaming_clear</code></h3>
<pre class="doc-signature"><code>streaming_clear() -&gt; None</code></pre>

</div>

<h2>Submodules</h2>
<ul>
<li><a href="/FastVideo/api/fastvideo/pipelines/basic/matrixgame2/matrixgame2_causal_dmd_pipeline">matrixgame2_causal_dmd_pipeline</a></li>
<li><a href="/FastVideo/api/fastvideo/pipelines/basic/matrixgame2/matrixgame2_i2v_pipeline">matrixgame2_i2v_pipeline</a></li>
<li><a href="/FastVideo/api/fastvideo/pipelines/basic/matrixgame2/presets">presets</a></li>
</ul>
