# qtimldemux

Source: [https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtimldemux.html](https://docs.qualcomm.com/doc/80-70022-50SC/topic/qtimldemux.html)

qtimldemux 元素将单个输入 GstBuffer 中的批处理（例如第一个张量维数更大且 1）张量（GstMemory 块）拆分为包含未批处理张量（GstMemory 块）的单独 GstBuffer。

Figure : qtimldemux 架构
            
            <!--?xml version="1.0" encoding="UTF-8" standalone="no"?-->

<!-- Generated by Microsoft Visio, SVG Export qtimldemux_architecture.svg Layer_1 -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:v="http://schemas.microsoft.com/visio/2003/SVGExtensions/" width="12.7083in" height="11.625in" viewbox="0 0 915 837" xml:space="preserve" color-interpolation-filters="sRGB" class="st21"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-1 .st1 { fill: #fafafa; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st2 { fill: #d2d7e1; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st3 { fill: #2a2aea; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st4 { fill: #ffffff; font-family: Roboto; font-size: 0.874992em }
.svg-1 .st5 { fill: none; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st6 { fill: #000000; font-family: Roboto; font-size: 0.874992em }
.svg-1 .st7 { font-size: 1em }
.svg-1 .st8 { fill: #ffffff; stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st9 { fill: #000000; font-family: SimHei; font-size: 0.874992em }
.svg-1 .st10 { fill: #007884; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st11 { fill: #ffffff; font-family: SimHei; font-size: 0.874992em }
.svg-1 .st12 { stroke: #000000; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st13 { fill: #000000; stroke: none; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st14 { fill: none }
.svg-1 .st15 { fill: #ffffff; font-family: Roboto; font-size: 0.874992em; font-weight: bold }
.svg-1 .st16 { stroke: #b3b7bf; stroke-linecap: butt; stroke-width: 0.75 }
.svg-1 .st17 { font-family: SimHei; font-size: 1em; font-weight: normal }
.svg-1 .st18 { font-size: 1em; font-weight: normal }
.svg-1 .st19 { font-family: Symbol; font-size: 1em; font-weight: normal }
.svg-1 .st20 { font-family: SimHei; font-size: 1em }
.svg-1 .st21 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<g v:mid="0" v:index="1" v:groupcontext="foregroundPage">	<title>Layer_1</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="9" v:shadowoffsety="-9"></v:pageproperties>	<v:layer v:name="Connector" v:index="0"></v:layer>	<g id="shape2-1" v:mid="2" v:groupcontext="shape" transform="translate(0.375,-0.375046)">		<title>Sheet.2</title>		<path d="M0 831.38 A5.62513 5.62513 -180 0 0 5.62 837 L908.62 837 A5.62513 5.62513 -180 0 0 914.25 831.38 L914.25 6.37					 A5.62513 5.62513 -180 0 0 908.62 0.75 L5.62 0.75 A5.62513 5.62513 -180 0 0 -0 6.37 L0 831.38 Z" class="st1"></path>	</g>	<g id="shape3-3" v:mid="3" v:groupcontext="shape">		<title>Sheet.3</title>		<path d="M909 0.75 C911.89 0.75 914.25 3.11 914.25 6 L914.25 831 C914.25 833.89 911.89 836.25 909 836.25 L6 836.25 C3.11					 836.25 0.75 833.89 0.75 831 L0.75 6 C0.75 3.11 3.11 0.75 6 0.75 L909 0.75 ZM909 0 L6 0 C2.69 0 0 2.69 0					 6 L0 831 C0 834.31 2.69 837 6 837 L909 837 C912.31 837 915 834.31 915 831 L915 6 C915 2.69 912.31 0 909					 0 Z" class="st2"></path>	</g>	<g id="shape599-5" v:mid="599" v:groupcontext="shape" transform="translate(426.89,-428.288)">		<title>Sheet.599</title>		<desc>qtimldemux</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.8" cy="820.5" width="105.61" height="33"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L102.6 837 A3.00007 3.00007 -180 0 0 105.6 834 L105.6 807 A3.00007 3.00007					 -180 0 0 102.6 804 L3 804 A3.00007 3.00007 -180 0 0 0 807 L0 834 Z" class="st3"></path>		<text x="25.11" y="824.1" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>qtimldemux</text>		</g>	<g id="shape601-8" v:mid="601" v:groupcontext="shape" transform="translate(124.427,-414.696)">		<title>Sheet.601</title>		<desc>neural-network/tensors dimensions=&lt;&lt;4,50,80,80,85&gt;, &lt;4,300,30...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="148.5" cy="814.848" width="297" height="44.3043"></v:textrect>		<rect x="0" y="792.696" width="297" height="44.3043" class="st5"></rect>		<text x="94.06" y="803.04" class="st6" v:langid="1033"><v:paragraph v:spline="-1.5" v:horizalign="1"></v:paragraph><v:tablist></v:tablist>neural-network/tensors<v:newlinechar></v:newlinechar><tspan x="8.05" dy="1.5em" class="st7">dimensions=&lt;&lt;4,50,80,80,85&gt;, &lt;4,300,300,85&gt; ...&lt;4,500,85&gt;&gt;,<v:newlinechar></v:newlinechar></tspan><tspan x="121.04" dy="1.5em" class="st7">type=UINT8</tspan></text>		</g>	<g id="shape607-13" v:mid="607" v:groupcontext="shape" transform="translate(751.636,-604.836)">		<title>Sheet.607</title>		<desc>后处理插件</desc>		<v:textblock v:margins="rect(0,0,0,7.2)"></v:textblock>		<v:textrect cx="75" cy="814.5" width="150" height="45"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L147 837 A3.00007 3.00007 -180 0 0 150 834 L150 795 A3.00007 3.00007					 -180 0 0 147 792 L3 792 A3.00007 3.00007 -180 0 0 0 795 L0 834 Z" class="st8"></path>		<text x="7.2" y="818.11" class="st9" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>后处理插件</text>		</g>	<g id="shape609-16" v:mid="609" v:groupcontext="shape" transform="translate(847.336,-612.336)">		<title>Sheet.609</title>		<desc>模块</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="23.1" cy="822" width="46.2" height="30"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L43.2 837 A3.00007 3.00007 -180 0 0 46.2 834 L46.2 810 A3.00007 3.00007					 -180 0 0 43.2 807 L3 807 A3.00007 3.00007 -180 0 0 -0 810 L0 834 Z" class="st10"></path>		<text x="12.6" y="825.61" class="st11" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>模块</text>		</g>	<g id="shape613-19" v:mid="613" v:groupcontext="shape" transform="translate(751.636,-488.357)">		<title>Sheet.613</title>		<desc>后处理插件</desc>		<v:textblock v:margins="rect(0,0,0,7.2)"></v:textblock>		<v:textrect cx="75" cy="814.5" width="150" height="45"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L147 837 A3.00007 3.00007 -180 0 0 150 834 L150 795 A3.00007 3.00007					 -180 0 0 147 792 L3 792 A3.00007 3.00007 -180 0 0 0 795 L0 834 Z" class="st8"></path>		<text x="7.2" y="818.11" class="st9" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>后处理插件</text>		</g>	<g id="shape615-22" v:mid="615" v:groupcontext="shape" transform="translate(847.336,-495.857)">		<title>Sheet.615</title>		<desc>模块</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="23.1" cy="822" width="46.2" height="30"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L43.2 837 A3.00007 3.00007 -180 0 0 46.2 834 L46.2 810 A3.00007 3.00007					 -180 0 0 43.2 807 L3 807 A3.00007 3.00007 -180 0 0 -0 810 L0 834 Z" class="st10"></path>		<text x="12.6" y="825.61" class="st11" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>模块</text>		</g>	<g id="shape619-25" v:mid="619" v:groupcontext="shape" transform="translate(751.636,-301.059)">		<title>Sheet.619</title>		<desc>后处理插件</desc>		<v:textblock v:margins="rect(0,0,0,7.2)"></v:textblock>		<v:textrect cx="75" cy="814.5" width="150" height="45"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L147 837 A3.00007 3.00007 -180 0 0 150 834 L150 795 A3.00007 3.00007					 -180 0 0 147 792 L3 792 A3.00007 3.00007 -180 0 0 0 795 L0 834 Z" class="st8"></path>		<text x="7.2" y="818.11" class="st9" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>后处理插件</text>		</g>	<g id="shape621-28" v:mid="621" v:groupcontext="shape" transform="translate(847.336,-308.559)">		<title>Sheet.621</title>		<desc>模块</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="23.1" cy="822" width="46.2" height="30"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L43.2 837 A3.00007 3.00007 -180 0 0 46.2 834 L46.2 810 A3.00007 3.00007					 -180 0 0 43.2 807 L3 807 A3.00007 3.00007 -180 0 0 -0 810 L0 834 Z" class="st10"></path>		<text x="12.6" y="825.61" class="st11" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>模块</text>		</g>	<g id="shape624-31" v:mid="624" v:groupcontext="shape" transform="translate(566.716,-240.174)">		<title>Sheet.624</title>		<desc>每个张量的第一个维度表示其批量大小</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="142.5" cy="822" width="285" height="30"></v:textrect>		<path d="M-0 834 A3.00007 3.00007 -180 0 0 3 837 L282 837 A3.00007 3.00007 -180 0 0 285 834 L285 810 A3.00007 3.00007					 -180 0 0 282 807 L3 807 A3.00007 3.00007 -180 0 0 -0 810 L0 834 Z" class="st8"></path>		<text x="53.25" y="825.61" class="st9" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>每个张量的第一个维度表示其批量大小</text>		</g>	<g id="shape627-34" v:mid="627" v:groupcontext="shape" transform="translate(112.5,-444.788)">		<title>Sheet.627</title>		<path d="M0 837 L312.24 837" class="st12"></path>	</g>	<g id="shape628-37" v:mid="628" v:groupcontext="shape" transform="translate(421.709,-441.796)">		<title>Sheet.628</title>		<path d="M0 837 L5.18 834.01 L0 831.02 L0 837 Z" class="st13"></path>	</g>	<g id="shape633-39" v:mid="633" v:groupcontext="shape" transform="translate(375.339,-687.277)">		<title>Sheet.633</title>		<path d="M0 761.94 L253.48 761.94 L253.48 837 L0 761.94 Z" class="st14"></path>		<path d="M0 761.94 L253.48 761.94 L253.48 837" class="st12"></path>	</g>	<g id="shape634-42" v:mid="634" v:groupcontext="shape" transform="translate(625.829,-682.971)">		<title>Sheet.634</title>		<path d="M0 831.82 L2.99 837 L5.98 831.82 L0 831.82 Z" class="st13"></path>	</g>	<g id="shape635-44" v:mid="635" v:groupcontext="shape" transform="translate(532.49,-444.788)">		<title>Sheet.635</title>		<path d="M0 837 L34.23 837 L34.23 654.45 L219.15 654.45 L0 837 Z" class="st14"></path>		<path d="M0 837 L34.23 837 L34.23 654.45 L219.15 654.45" class="st12"></path>	</g>	<g id="shape636-47" v:mid="636" v:groupcontext="shape" transform="translate(751.636,1163.14) rotate(180)">		<title>Sheet.636</title>		<path d="M0 837 L184.92 837" class="st12"></path>	</g>	<g id="shape637-50" v:mid="637" v:groupcontext="shape" transform="translate(566.716,-321.324)">		<title>Sheet.637</title>		<path d="M0 713.54 L0 837 L184.14 837 L0 713.54 Z" class="st14"></path>		<path d="M0 713.54 L0 837 L184.14 837" class="st12"></path>	</g>	<g id="group658-53" transform="translate(170.515,-472.5)" v:mid="658" v:groupcontext="group">		<title>Sheet.658</title>		<g id="shape301-54" v:mid="301" v:groupcontext="shape">			<title>Sheet.301</title>			<desc>GstBuffer</desc>			<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="102.412" cy="663.246" width="204.83" height="347.509"></v:textrect>			<path d="M0 833.94 A3.00007 3.06322 -180 0 0 3 837 L201.82 837 A3.00007 3.06322 -180 0 0 204.82 833.94 L204.82 492.55						 A3.00007 3.06322 -180 0 0 201.82 489.49 L3 489.49 A3.00007 3.06322 -180 0 0 -0 492.55 L0 833.94 Z" class="st10"></path>			<text x="79.56" y="507.49" class="st15" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>			</g>		<g id="shape303-57" v:mid="303" v:groupcontext="shape" transform="translate(6.39488E-14,-321.75)">			<title>Sheet.303</title>			<path d="M0 837 L204.82 837" class="st16"></path>		</g>		<g id="shape304-60" v:mid="304" v:groupcontext="shape" transform="translate(6.39488E-14,-249.702)">			<title>Sheet.304</title>			<path d="M0 837 L204.82 837" class="st16"></path>		</g>		<g id="shape305-63" v:mid="305" v:groupcontext="shape" transform="translate(14.6481,-249.75)">			<title>Sheet.305</title>			<desc>+ GstMemory 0: 张量 0 + GstMemory 1: 张量 1… + GstMemory ‘N-1’: 张...</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="91.9183" cy="801" width="183.84" height="72"></v:textrect>			<rect x="0" y="765" width="183.837" height="72" class="st5"></rect>			<text x="0" y="783.53" class="st15" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory 0:<v:tabchar></v:tabchar><tspan dx="3.138em" class="st17">张量</tspan><tspan class="st18"> </tspan><tspan class="st18">0<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory 1:<v:tabchar></v:tabchar></tspan><tspan dx="3.138em" class="st17">张量</tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory </tspan>‘N-1’:<tspan dx="1.581em" class="st17">张量<v:tabchar></v:tabchar></tspan><tspan dx="0.447em" class="st18">N</tspan><tspan class="st18">-</tspan><tspan class="st18">1</tspan><tspan class="st18">’</tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory </tspan>‘N’:<tspan dx="2.543em" class="st17">张量</tspan><tspan dx="0.447em" class="st18">N</tspan><tspan class="st18">’</tspan></text>			</g>		<g id="shape646-81" v:mid="646" v:groupcontext="shape" transform="translate(14.6481,-6.75)">			<title>Sheet.646</title>			<desc>+ GstMLTensorMeta 0: type: UINT8 n_dimensions: 5 dimensions[ ...</desc>			<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>			<v:textrect cx="91.9183" cy="720" width="183.84" height="234"></v:textrect>			<rect x="0" y="603" width="183.837" height="234" class="st5"></rect>			<text x="0" y="612.45" class="st15" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMLTensorMeta 0:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 5<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {1, 50, 80, 80, 85}<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.775em" class="st7">+ GstMLTensorMeta 1:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph></tspan><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 4<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {1, 300, 300, 85}<v:newlinechar></v:newlinechar><v:paragraph></v:paragraph></tspan><tspan x="0" dy="1.204em" class="st18">…<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.771em" class="st7">+ GstMLTensorMeta </tspan>‘N-1’:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 2<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {1, 100}<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.775em" class="st7">+ GstMLTensorMeta </tspan>‘N’:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 3<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {1, 500, 85}</tspan></text>			</g>	</g>	<g id="group662-124" transform="translate(170.515,-37.7456)" v:mid="662" v:groupcontext="group">		<title>Sheet.662</title>		<g id="group657-125" transform="translate(99.42,-348.546)" v:mid="657" v:groupcontext="group">			<title>Sheet.657</title>			<g id="shape630-126" v:mid="630" v:groupcontext="shape" transform="translate(-834.008,837) rotate(-90)">				<title>Sheet.630</title>				<path d="M0 837 L23.44 837" class="st12"></path>			</g>			<g id="shape631-129" v:mid="631" v:groupcontext="shape" transform="translate(0,-22.5689)">				<title>Sheet.631</title>				<path d="M5.98 837 L2.99 831.82 L0 837 L5.98 837 Z" class="st13"></path>			</g>		</g>		<g id="group659-131" v:mid="659" v:groupcontext="group">			<title>Sheet.659</title>			<g id="shape650-132" v:mid="650" v:groupcontext="shape">				<title>Sheet.650</title>				<desc>GstBuffer</desc>				<v:textblock v:margins="rect(7.2,0,0,0)" v:verticalalign="0"></v:textblock>				<v:textrect cx="102.412" cy="663.246" width="204.83" height="347.509"></v:textrect>				<path d="M0 833.94 A3.00007 3.06322 -180 0 0 3 837 L201.82 837 A3.00007 3.06322 -180 0 0 204.82 833.94 L204.82							 492.55 A3.00007 3.06322 -180 0 0 201.82 489.49 L3 489.49 A3.00007 3.06322 -180 0 0 -0 492.55 L0							 833.94 Z" class="st10"></path>				<text x="79.56" y="507.49" class="st15" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GstBuffer</text>				</g>			<g id="shape651-135" v:mid="651" v:groupcontext="shape" transform="translate(6.39488E-14,-321.75)">				<title>Sheet.651</title>				<path d="M0 837 L204.82 837" class="st16"></path>			</g>			<g id="shape652-138" v:mid="652" v:groupcontext="shape" transform="translate(6.39488E-14,-249.702)">				<title>Sheet.652</title>				<path d="M0 837 L204.82 837" class="st16"></path>			</g>			<g id="shape653-141" v:mid="653" v:groupcontext="shape" transform="translate(14.6481,-249.75)">				<title>Sheet.653</title>				<desc>+ GstMemory 0: 张量 0 + GstMemory 1: 张量 1… + GstMemory ‘N-1’: 张...</desc>				<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>				<v:textrect cx="91.9183" cy="801" width="183.84" height="72"></v:textrect>				<rect x="0" y="765" width="183.837" height="72" class="st5"></rect>				<text x="0" y="783.53" class="st15" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMemory 0:<v:tabchar></v:tabchar><tspan dx="3.138em" class="st17">张量</tspan><tspan class="st18"> </tspan><tspan class="st18">0<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory 1:<v:tabchar></v:tabchar></tspan><tspan dx="3.138em" class="st17">张量</tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory </tspan>‘N-1’:<tspan dx="1.581em" class="st17">张量<v:tabchar></v:tabchar></tspan><tspan dx="0.447em" class="st18">N</tspan><tspan class="st18">-</tspan><tspan class="st18">1</tspan><tspan class="st18">’</tspan><tspan x="0" dy="1.331em" class="st7">+ GstMemory </tspan>‘N’:<tspan dx="2.543em" class="st17">张量</tspan><tspan dx="0.447em" class="st18">N</tspan><tspan class="st18">’</tspan></text>				</g>			<g id="shape654-159" v:mid="654" v:groupcontext="shape" transform="translate(14.6481,-6.75)">				<title>Sheet.654</title>				<desc>+ GstMLTensorMeta 0: type: UINT8 n_dimensions: 5 dimensions[ ...</desc>				<v:textblock v:margins="rect(0,0,0,0)" v:verticalalign="0"></v:textblock>				<v:textrect cx="91.9183" cy="720" width="183.84" height="234"></v:textrect>				<rect x="0" y="603" width="183.837" height="234" class="st5"></rect>				<text x="0" y="612.45" class="st15" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>+ GstMLTensorMeta 0:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 5<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {4, 50, 80, 80, 85}<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.775em" class="st7">+ GstMLTensorMeta 1:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph></tspan><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 4<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {4, 300, 300, 85}<v:newlinechar></v:newlinechar><v:paragraph></v:paragraph></tspan><tspan x="0" dy="1.204em" class="st18">…<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.771em" class="st7">+ GstMLTensorMeta </tspan>‘N-1’:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 2<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {4, 100}<v:newlinechar></v:newlinechar><v:paragraph v:spbefore="6"></v:paragraph></tspan><tspan x="0" dy="1.775em" class="st7">+ GstMLTensorMeta </tspan>‘N’:<v:newlinechar></v:newlinechar><v:paragraph v:indentfirst="-18" v:indentleft="18" v:bullet="1"></v:paragraph><tspan x="0" dy="1.211em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">type: UINT8<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">n_dimensions: 3<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.215em" class="st19" v:isbullet="true">·</tspan><tspan class="st19"> </tspan><tspan class="st18">dimensions[ ]: {4, 500, 85}</tspan></text>				</g>		</g>	</g>	<g id="shape596-202" v:mid="596" v:groupcontext="shape" transform="translate(13.3643,-428.288)">		<title>Sheet.596</title>		<desc>ML 推理插件</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="52.8" cy="820.5" width="105.61" height="33"></v:textrect>		<path d="M0 834 A3.00007 3.00007 -180 0 0 3 837 L102.6 837 A3.00007 3.00007 -180 0 0 105.6 834 L105.6 807 A3.00007 3.00007					 -180 0 0 102.6 804 L3 804 A3.00007 3.00007 -180 0 0 0 807 L0 834 Z" class="st10"></path>		<text x="23.09" y="824.11" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>ML <tspan class="st20">推理插件</tspan></text>		</g>	<g id="shape673-206" v:mid="673" v:groupcontext="shape" transform="translate(573.75,-632.25)">		<title>Sheet.673</title>		<desc>neural-network/tensors dimensions=&lt;&lt;4,50,80,80,85&gt;, &lt;4,300,30...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="81" cy="814.848" width="162" height="44.3043"></v:textrect>		<rect x="0" y="792.696" width="162" height="44.3043" class="st5"></rect>		<text x="0" y="799.1" class="st6" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>neural-network/tensors<v:newlinechar></v:newlinechar><tspan x="0" dy="1.2em" class="st7">dimensions=&lt;&lt;4,50,80,80,85&gt;,<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.2em" class="st7">&lt;4,300,300,85&gt; … &lt;4,500,85&gt;&gt;, </tspan><tspan x="0" dy="1.2em" class="st7">type=UINT8</tspan></text>		</g>	<g id="shape674-212" v:mid="674" v:groupcontext="shape" transform="translate(573.75,-515.598)">		<title>Sheet.674</title>		<desc>neural-network/tensors dimensions=&lt;&lt;4,50,80,80,85&gt;, &lt;4,300,30...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="81" cy="814.848" width="162" height="44.3043"></v:textrect>		<rect x="0" y="792.696" width="162" height="44.3043" class="st5"></rect>		<text x="0" y="799.1" class="st6" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>neural-network/tensors<v:newlinechar></v:newlinechar><tspan x="0" dy="1.2em" class="st7">dimensions=&lt;&lt;4,50,80,80,85&gt;,<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.2em" class="st7">&lt;4,300,300,85&gt; … &lt;4,500,85&gt;&gt;, </tspan><tspan x="0" dy="1.2em" class="st7">type=UINT8</tspan></text>		</g>	<g id="shape675-218" v:mid="675" v:groupcontext="shape" transform="translate(573.75,-326.25)">		<title>Sheet.675</title>		<desc>neural-network/tensors dimensions=&lt;&lt;4,50,80,80,85&gt;, &lt;4,300,30...</desc>		<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>		<v:textrect cx="81" cy="814.848" width="162" height="44.3043"></v:textrect>		<rect x="0" y="792.696" width="162" height="44.3043" class="st5"></rect>		<text x="0" y="799.1" class="st6" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>neural-network/tensors<v:newlinechar></v:newlinechar><tspan x="0" dy="1.2em" class="st7">dimensions=&lt;&lt;4,50,80,80,85&gt;,<v:newlinechar></v:newlinechar></tspan><tspan x="0" dy="1.2em" class="st7">&lt;4,300,300,85&gt; … &lt;4,500,85&gt;&gt;, </tspan><tspan x="0" dy="1.2em" class="st7">type=UINT8</tspan></text>		</g>	<g id="group676-224" transform="translate(791.511,-14.7814)" v:mid="676" v:groupcontext="group">		<title>Sheet.676</title>		<g id="shape640-225" v:mid="640" v:groupcontext="shape" transform="translate(15.1882,0)">			<title>Sheet.640</title>			<desc>Qualcomm</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="27.1903" cy="830.7" width="54.39" height="12.6"></v:textrect>			<rect x="0" y="824.4" width="54.3806" height="12.6" class="st5"></rect>			<text x="0" y="833.85" class="st6" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm  </text>			</g>		<g id="shape641-228" v:mid="641" v:groupcontext="shape" transform="translate(6.29496E-14,-0.218596)">			<title>Sheet.641</title>			<path d="M0 835.5 A1.50003 1.50003 -180 0 0 1.5 837 L10.5 837 A1.50003 1.50003 -180 0 0 12 835.5 L12 826.5 A1.50003						 1.50003 -180 0 0 10.5 825 L1.5 825 A1.50003 1.50003 -180 0 0 0 826.5 L0 835.5 Z" class="st3"></path>		</g>		<g id="shape643-230" v:mid="643" v:groupcontext="shape" transform="translate(89.1246,0)">			<title>Sheet.643</title>			<desc>开源</desc>			<v:textblock v:margins="rect(0,0,0,0)"></v:textblock>			<v:textrect cx="10.5" cy="830.7" width="21" height="12.6"></v:textrect>			<rect x="0" y="824.4" width="21" height="12.6" class="st5"></rect>			<text x="0" y="834.19" class="st9" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>开源</text>			</g>		<g id="shape644-233" v:mid="644" v:groupcontext="shape" transform="translate(73.9363,-0.218596)">			<title>Sheet.644</title>			<path d="M0 835.5 A1.50003 1.50003 -180 0 0 1.5 837 L10.5 837 A1.50003 1.50003 -180 0 0 12 835.5 L12 826.5 A1.50003						 1.50003 -180 0 0 10.5 825 L1.5 825 A1.50003 1.50003 -180 0 0 0 826.5 L0 835.5 Z" class="st10"></path>		</g>	</g></g>
</svg>

## 继承链

[GObject](https://docs.gtk.org/gobject/) → [GstObject](https://gstreamer.freedesktop.org/documentation/gstreamer/gstobject.html?gi-language=c) → [GstElement](https://gstreamer.freedesktop.org/documentation/gstreamer/gstelement.html?gi-language=c) → GstMLDemux

下表提供了有关 qtimldemux 的端口模板和元素属性的信息。有关用例信息，请参见[图像分类](https://docs.qualcomm.com/doc/80-70022-50SC/topic/gst-ai-classification.html)。

## 端口配置

| 端口名称 | 功能 | 功能 | 功能 |
| --- | --- | --- | --- |
| SINK 模板：'sink'<br><br><br>                                <ul class="ul" id="qtimldemux__ul_wgz_qkn_s1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 按需</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 接收</li><br><br>                                </ul> | neural-network/tensors | type： | { (string)INT8, (string)UINT8, (string)INT32, (string)UINT32, (string)FLOAT16, (string)FLOAT32 } |
| SRC模板：'src\_%u'<br><br><br>                                <ul class="ul" id="qtimldemux__ul_xgz_qkn_s1c"><br>                                    <li class="li"><em class="ph i">可用性：</em> 始终可用</li><br><br>                                    <li class="li"><em class="ph i">方向：</em> 发送</li><br><br>                                </ul> | neural-network/tensors | type： | { (string)INT8, (string)UINT8, (string)INT32, (string)UINT32, (string)FLOAT16, (string)FLOAT32 } |

## 元素配置

Table : qtimlDemux 元素属性

| 属性 | 说明 |
| --- | --- |
| name | 对象名称<br><br><br>                                <ul class="ul" id="qtimldemux__ul_pdl_tkn_s1c"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">字符串。默认：“mldemux0”</li><br><br>                                </ul> |
| parent | 对象的父级<br><br><br>                                <ul class="ul" id="qtimldemux__ul_qdl_tkn_s1c"><br>                                    <li class="li">标志：可读、可写</li><br><br>                                    <li class="li">"GstObject" 类型的对象</li><br><br>                                </ul> |

**Parent Topic:** [配置 ML 插件](https://docs.qualcomm.com/doc/80-70022-50SC/topic/inferencing-plugins.html)

Last Published: Nov 05, 2025

[Previous Topic
qtimetamux](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/qtimetamux.md) [Next Topic
qtirtspbin](https://docs.qualcomm.com/bundle/publicresource/80-70022-50SC/topics/qtirtspbin.md)