# API

Qualcomm Linux 提供 [Qualcomm® Intelligent Multimedia SDK (IM SDK) Gstreamer 插件 API，](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-50/qim-sdk-plugins.html) 用来与 Qualcomm AI 栈 SDK API 进行对接，从而在 NPU、GPU、CPU 等硬件模块上优化运行深度学习模型。

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by Microsoft Visio, SVG Export top_level_ai_hw.svg top_level_ai_hw -->
<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="11.1215in" height="7.37153in" viewbox="0 0 800.748 530.75" xml:space="preserve" color-interpolation-filters="sRGB" class="st26" aria-label="../_images/top_level_ai_hw.svg"><v:documentproperties v:langid="1033" v:viewmarkup="false"></v:documentproperties>
<style>.svg-1 .st1 { fill: #ffffff; stroke: #ffffff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st2 { fill: #ffffff; stroke: #d8d8d8; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st3 { fill: #000000; font-family: Microsoft YaHei UI; font-size: 1.33333em }
.svg-1 .st4 { fill: #000000; font-family: Arial; font-size: 1.33333em }
.svg-1 .st5 { font-family: Microsoft YaHei UI; font-size: 1em }
.svg-1 .st6 { fill: #040a40; stroke: #4a5a75; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st7 { fill: #ffffff; font-family: Arial; font-size: 1.33333em }
.svg-1 .st8 { fill: #3253dc; stroke: #d8d8d8; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st9 { baseline-shift: 32.4948%; font-size: 0.649895em }
.svg-1 .st10 { font-size: 1em }
.svg-1 .st11 { fill: #3253dc; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st12 { fill: #ffffff; font-family: Arial; font-size: 1.24999em }
.svg-1 .st13 { baseline-shift: 32.495%; font-size: 0.6499em }
.svg-1 .st14 { fill: #dee3ec; stroke: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st15 { marker-end: url("#mrkr13-54"); stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2 }
.svg-1 .st16 { fill: #000000; fill-opacity: 1; stroke: #000000; stroke-opacity: 1; stroke-width: 0.44247725995514 }
.svg-1 .st17 { marker-end: url("#mrkr13-65"); stroke: #000000; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75 }
.svg-1 .st18 { fill: #000000; fill-opacity: 1; stroke: #000000; stroke-opacity: 1; stroke-width: 0.40983546146334 }
.svg-1 .st19 { fill: #7ba0ff; stroke: #7ba0ff; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.749998 }
.svg-1 .st20 { fill: #ffffff; font-family: Arial; font-size: 1.16666em }
.svg-1 .st21 { fill: #3253dc; stroke: #f5f6f7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.999998 }
.svg-1 .st22 { fill: #dee3ec; stroke: #f5f6f7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.999998 }
.svg-1 .st23 { fill: #000000; font-family: Microsoft YaHei UI; font-size: 1.16666em }
.svg-1 .st24 { fill: #040a40; stroke: #f5f6f7; stroke-linecap: round; stroke-linejoin: round; stroke-width: 0.999998 }
.svg-1 .st25 { fill: #ffffff; font-family: Microsoft YaHei UI; font-size: 1.16666em }
.svg-1 .st26 { fill: none; fill-rule: evenodd; font-size: 12px; overflow: visible; stroke-linecap: square; stroke-miterlimit: 3 }</style>
<defs id="Markers">	<g id="lend13">		<path d="M 3 1 L 0 0 L 3 -1 L 3 1 " style="stroke:none"></path>	</g>	<marker id="mrkr13-54" class="st16" v:arrowtype="13" v:arrowsize="2" v:setback="0" refx="-0" orient="auto" markerunits="strokeWidth" overflow="visible">		<use xlink:href="#lend13" transform="scale(-2.2600031470575,-2.2600031470575) "></use>	</marker>	<marker id="mrkr13-65" class="st18" v:arrowtype="13" v:arrowsize="2" v:setback="0" refx="-0" orient="auto" markerunits="strokeWidth" overflow="visible">		<use xlink:href="#lend13" transform="scale(-2.4400035966371,-2.4400035966371) "></use>	</marker></defs><g v:mid="6" v:index="4" v:groupcontext="foregroundPage">	<title>top_level_ai_hw</title>	<v:pageproperties v:drawingscale="1" v:pagescale="1" v:drawingunits="19" v:shadowoffsetx="8.99998" v:shadowoffsety="-8.99998"></v:pageproperties>	<v:layer v:name="full" v:index="0"></v:layer>	<g id="shape1-1" v:mid="1" v:groupcontext="shape" transform="translate(0.374999,-0.375723)">		<title>Sheet.1</title>		<path d="M0 526.75 A4.00008 4.00008 -180 0 0 4 530.75 L796 530.75 A4.00008 4.00008 -180 0 0 800 526.75 L800 4.75 A4.00008					 4.00008 -180 0 0 796 0.75 L4 0.75 A4.00008 4.00008 -180 0 0 0 4.75 L0 526.75 Z" class="st1"></path>	</g>	<g id="shape2-3" v:mid="2" v:groupcontext="shape" transform="translate(18.584,-54.6087)">		<title>Sheet.2</title>		<desc>Hardware</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)" v:verticalalign="0"></v:textblock>		<v:textrect cx="383.582" cy="473.669" width="767.17" height="114.162"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L762.66 530.75 A4.50009 4.50009 -180 0 0 767.16 526.25 L767.16					 421.09 A4.50009 4.50009 -180 0 0 762.66 416.59 L4.5 416.59 A4.50009 4.50009 -180 0 0 0 421.09 L0 526.25					 Z" class="st2"></path>		<text x="4" y="435.18" class="st3" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>硬件</text>		</g>	<g id="shape3-6" v:mid="3" v:groupcontext="shape" transform="translate(18.584,-190.967)">		<title>Sheet.3</title>		<desc>AI SDKs</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)" v:verticalalign="0"></v:textblock>		<v:textrect cx="383.582" cy="473.669" width="767.17" height="114.162"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L762.66 530.75 A4.50009 4.50009 -180 0 0 767.16 526.25 L767.16					 421.09 A4.50009 4.50009 -180 0 0 762.66 416.59 L4.5 416.59 A4.50009 4.50009 -180 0 0 0 421.09 L0 526.25					 Z" class="st2"></path>		<text x="4" y="434.99" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>AI SDK</text>		</g>	<g id="shape4-9" v:mid="4" v:groupcontext="shape" transform="translate(18.584,-326.375)">		<title>Sheet.4</title>		<desc>Qualcomm IMSDK Gstreamer plugins</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)" v:verticalalign="0"></v:textblock>		<v:textrect cx="383.582" cy="473.669" width="767.17" height="114.162"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L762.66 530.75 A4.50009 4.50009 -180 0 0 767.16 526.25 L767.16					 421.09 A4.50009 4.50009 -180 0 0 762.66 416.59 L4.5 416.59 A4.50009 4.50009 -180 0 0 0 421.09 L0 526.25					 Z" class="st2"></path>		<text x="4" y="435.18" class="st4" v:langid="1033"><v:paragraph></v:paragraph><v:tablist></v:tablist>Qualcomm IMSDK Gstreamer <tspan class="st5">插件</tspan></text>		</g>	<g id="shape5-13" v:mid="5" v:groupcontext="shape" transform="translate(18.584,-467.636)">		<title>Sheet.5</title>		<desc>AI applications</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="383.582" cy="506.866" width="767.17" height="47.7651"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L762.66 530.75 A4.50009 4.50009 -180 0 0 767.16 526.25 L767.16					 487.49 A4.50009 4.50009 -180 0 0 762.66 482.99 L4.5 482.99 A4.50009 4.50009 -180 0 0 -0 487.49 L0 526.25					 Z" class="st6"></path>		<text x="341.8" y="511.73" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>AI <tspan class="st5">应用程序</tspan></text>		</g>	<g id="shape6-17" v:mid="6" v:groupcontext="shape" transform="translate(52.119,-347.623)">		<title>Sheet.6</title>		<desc>Qualcomm® Neural Processing Engine plugin (qtimlsnpe)</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="155.26" cy="499.333" width="310.52" height="62.8343"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L306.02 530.75 A4.50009 4.50009 -180 0 0 310.52 526.25 L310.52					 472.42 A4.50009 4.50009 -180 0 0 306.02 467.92 L4.5 467.92 A4.50009 4.50009 -180 0 0 0 472.42 L0 526.25					 Z" class="st8"></path>		<text x="18.04" y="494.4" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>Qualcomm<tspan dy="-0.235em" class="st9" v:basefontsize="16">®</tspan><tspan dy="0.153em" class="st10"> </tspan>Neural Processing Engine <tspan x="97.47" dy="1.212em" class="st5">插件</tspan> (qtimlsnpe)</text>		</g>	<g id="shape7-23" v:mid="7" v:groupcontext="shape" transform="translate(52.119,-212.213)">		<title>Sheet.7</title>		<desc>Qualcomm Neural Processing Engine</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="155.26" cy="499.356" width="310.52" height="62.7887"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L306.02 530.75 A4.50009 4.50009 -180 0 0 310.52 526.25 L310.52					 472.46 A4.50009 4.50009 -180 0 0 306.02 467.96 L4.5 467.96 A4.50009 4.50009 -180 0 0 0 472.46 L0 526.25					 Z" class="st11"></path>		<text x="21.87" y="504.16" class="st7" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>Qualcomm Neural Processing Engine</text>		</g>	<g id="shape8-26" v:mid="8" v:groupcontext="shape" transform="translate(421.56,-347.623)">		<title>Sheet.8</title>		<desc>Qualcomm® AI Engine Direct plugin (qtimlqnn)</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="77.6297" cy="499.333" width="155.26" height="62.8343"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L150.76 530.75 A4.50009 4.50009 -180 0 0 155.26 526.25 L155.26					 472.42 A4.50009 4.50009 -180 0 0 150.76 467.92 L4.5 467.92 A4.50009 4.50009 -180 0 0 -0 472.42 L0 526.25					 Z" class="st8"></path>		<text x="28.61" y="485.71" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>Qualcomm<tspan dy="-0.235em" class="st13" v:basefontsize="15">®</tspan><tspan dy="0.153em" class="st10"> </tspan>AI <tspan x="15.52" dy="1.212em" class="st10">Engine Direct </tspan><tspan class="st5">插件</tspan> <tspan x="44.29" dy="1.204em" class="st10">(qtimlqnn)</tspan></text>		</g>	<g id="shape9-34" v:mid="9" v:groupcontext="shape" transform="translate(588.236,-347.623)">		<title>Sheet.9</title>		<desc>TensorFlow Lite plugin (qtimltflite)</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="77.6297" cy="499.333" width="155.26" height="62.8343"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L150.76 530.75 A4.50009 4.50009 -180 0 0 155.26 526.25 L155.26					 472.42 A4.50009 4.50009 -180 0 0 150.76 467.92 L4.5 467.92 A4.50009 4.50009 -180 0 0 -0 472.42 L0 526.25					 Z" class="st8"></path>		<text x="7.19" y="494.89" class="st12" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>TensorFlow Lite <tspan class="st5">插件</tspan> <tspan x="43.05" dy="1.204em" class="st10">(qtimltflite)</tspan></text>		</g>	<g id="shape10-39" v:mid="10" v:groupcontext="shape" transform="translate(52.119,-75.0216)">		<title>Sheet.10</title>		<desc>NPU (DSP/HMX/HTP)</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="91.3291" cy="499.698" width="182.66" height="62.1037"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L178.16 530.75 A4.50009 4.50009 -180 0 0 182.66 526.25 L182.66					 473.15 A4.50009 4.50009 -180 0 0 178.16 468.65 L4.5 468.65 A4.50009 4.50009 -180 0 0 -0 473.15 L0 526.25					 Z" class="st14"></path>		<text x="74.44" y="494.9" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>NPU <v:newlinechar></v:newlinechar><v:paragraph v:horizalign="1"></v:paragraph><tspan x="31.33" dy="1.2em" class="st10">(DSP/HMX/HTP)</tspan></text>		</g>	<g id="shape11-43" v:mid="11" v:groupcontext="shape" transform="translate(306.478,-75.0216)">		<title>Sheet.11</title>		<desc>GPU</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="91.3291" cy="499.698" width="182.66" height="62.1037"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L178.16 530.75 A4.50009 4.50009 -180 0 0 182.66 526.25 L182.66					 473.15 A4.50009 4.50009 -180 0 0 178.16 468.65 L4.5 468.65 A4.50009 4.50009 -180 0 0 -0 473.15 L0 526.25					 Z" class="st14"></path>		<text x="73.99" y="504.5" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>GPU</text>		</g>	<g id="shape12-46" v:mid="12" v:groupcontext="shape" transform="translate(560.837,-75.0216)">		<title>Sheet.12</title>		<desc>CPU</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="91.3291" cy="499.698" width="182.66" height="62.1037"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L178.16 530.75 A4.50009 4.50009 -180 0 0 182.66 526.25 L182.66					 473.15 A4.50009 4.50009 -180 0 0 178.16 468.65 L4.5 468.65 A4.50009 4.50009 -180 0 0 -0 473.15 L0 526.25					 Z" class="st14"></path>		<text x="74.44" y="504.5" class="st4" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>CPU</text>		</g>	<g id="shape13-49" v:mid="13" v:groupcontext="shape" v:layermember="0" transform="translate(932.916,63.1134) rotate(90)">		<title>Sheet.13</title>		<path d="M0 530.75 L13.54 530.75 L27.1 530.75" class="st15"></path>	</g>	<g id="shape14-55" v:mid="14" v:groupcontext="shape" transform="translate(738.129,183.37) rotate(90)">		<title>Sheet.14</title>		<path d="M0 530.75 L58.82 530.75 L72.38 530.75" class="st15"></path>	</g>	<g id="shape15-60" v:mid="15" v:groupcontext="shape" v:layermember="0" transform="translate(932.916,339.783) rotate(90)">		<title>Sheet.15</title>		<path d="M0 530.75 L9.84 530.75 L22.65 530.75" class="st17"></path>	</g>	<g id="shape16-66" v:mid="16" v:groupcontext="shape" transform="translate(421.56,-214.434)">		<title>Sheet.16</title>		<desc>Qualcomm AI Engine Direct</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="160.968" cy="499.356" width="321.94" height="62.7887"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L317.44 530.75 A4.50009 4.50009 -180 0 0 321.94 526.25 L321.94					 472.46 A4.50009 4.50009 -180 0 0 317.44 467.96 L4.5 467.96 A4.50009 4.50009 -180 0 0 -0 472.46 L0 526.25					 Z" class="st11"></path>		<text x="38" y="493.36" class="st7" v:langid="1033"><v:paragraph v:indentleft="34" v:spline="-1.5"></v:paragraph><v:tablist></v:tablist>Qualcomm AI  <v:lf></v:lf><tspan x="38" dy="1.5em" class="st10">Engine Direct</tspan></text>		</g>	<g id="shape17-70" v:mid="17" v:groupcontext="shape" transform="translate(1219.45,182.401) rotate(90)">		<title>Sheet.17</title>		<path d="M0 530.75 L58.77 530.75 L72.33 530.75" class="st15"></path>	</g>	<g id="shape18-75" v:mid="18" v:groupcontext="shape" transform="translate(1029.94,182.49) rotate(90)">		<title>Sheet.18</title>		<path d="M0 530.75 L58.77 530.75 L72.33 530.75" class="st15"></path>	</g>	<g id="shape19-80" v:mid="19" v:groupcontext="shape" transform="translate(630.373,-225.852)">		<title>Sheet.19</title>		<desc>TFLite Delegate</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="48.5694" cy="510.772" width="97.14" height="39.9565"></v:textrect>		<path d="M0 526.25 A4.50009 4.50009 -180 0 0 4.5 530.75 L92.64 530.75 A4.50009 4.50009 -180 0 0 97.14 526.25 L97.14 495.29					 A4.50009 4.50009 -180 0 0 92.64 490.79 L4.5 490.79 A4.50009 4.50009 -180 0 0 0 495.29 L0 526.25 Z" class="st19"></path>		<text x="28.73" y="506.57" class="st20" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>TFLite <tspan x="20.55" dy="1.2em" class="st10">Delegate</tspan></text>		</g>	<g id="shape20-84" v:mid="20" v:groupcontext="shape" transform="translate(361.661,-237.266) rotate(-0.105469)">		<title>Sheet.20</title>		<path d="M0 530.75 L45.36 530.75 L58.92 530.75" class="st15"></path>	</g>	<g id="shape21-89" v:mid="21" v:groupcontext="shape" transform="translate(19.409,-10.3761)">		<title>Sheet.21</title>		<desc>QTI</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="45.6645" cy="514.342" width="91.33" height="32.8166"></v:textrect>		<path d="M0 526.75 A4.00008 4.00008 -180 0 0 4 530.75 L87.33 530.75 A4.00008 4.00008 -180 0 0 91.33 526.75 L91.33 501.93					 A4.00008 4.00008 -180 0 0 87.33 497.93 L4 497.93 A4.00008 4.00008 -180 0 0 0 501.93 L0 526.75 Z" class="st21"></path>		<text x="34" y="518.54" class="st20" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>QTI</text>		</g>	<g id="shape22-92" v:mid="22" v:groupcontext="shape" transform="translate(125.008,-10.3761)">		<title>Sheet.22</title>		<desc>Hardware</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="45.8875" cy="514.342" width="91.78" height="32.8166"></v:textrect>		<path d="M0 526.75 A4.00008 4.00008 -180 0 0 4 530.75 L87.77 530.75 A4.00008 4.00008 -180 0 0 91.77 526.75 L91.77 501.93					 A4.00008 4.00008 -180 0 0 87.77 497.93 L4 497.93 A4.00008 4.00008 -180 0 0 0 501.93 L0 526.75 Z" class="st22"></path>		<text x="31.89" y="518.6" class="st23" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>硬件</text>		</g>	<g id="shape23-95" v:mid="23" v:groupcontext="shape" transform="translate(230.607,-10.3761)">		<title>Sheet.23</title>		<desc>Third-party</desc>		<v:userdefs></v:userdefs>		<v:textblock v:margins="rect(3.99999,3.99999,3.99999,3.99999)"></v:textblock>		<v:textrect cx="62.3833" cy="514.342" width="124.77" height="32.8166"></v:textrect>		<path d="M0 526.75 A4.00008 4.00008 -180 0 0 4 530.75 L120.77 530.75 A4.00008 4.00008 -180 0 0 124.77 526.75 L124.77					 501.93 A4.00008 4.00008 -180 0 0 120.77 497.93 L4 497.93 A4.00008 4.00008 -180 0 0 0 501.93 L0 526.75 Z" class="st24"></path>		<text x="41.38" y="518.6" class="st25" v:langid="1033"><v:paragraph v:horizalign="1"></v:paragraph><v:tablist></v:tablist>第三方</text>		</g></g>
</svg>

提供了三个 Gstreamer ML 插件 API，以支持两个 AI 栈 SDK 以及外部的 TFLite，从而为开发者提供灵活性，使其能够选择适合其 AI 需求的最佳组合。

| [适用于 Qualcomm Neural Processing Engine (qtimlsnpe) 的 Qualcomm IM SDK 插件](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-50/qtimlsnpe.html) | 使用 [Qualcomm Neural Processing Engine](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-2) API 来加载和执行模型。<br><br><br>选择此插件可实现快速原型设计和 高层 API 支持。 |
| --- | --- |
| [适用于 Qualcomm AI Engine Direct 插件 (qtimlqnn) 的 Qualcomm IM SDK 插件](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-50/qtimlqnn.html) | 使用 [Qualcomm AI Engine Direct](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50) API，这些 API 提供 low-level的统一接口，并提升性能，以在所需的硬件加速器上优化和执行网络模型。<br><br><br>选择此插件可获得高级的图执行选项和优化。 |
| [适用于 LiteRT 的 Qualcomm IM SDK 插件 (qtimltflite)](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-50/qtimltflite.html) | 使用 [Qualcomm AI Engine Direct](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50) API 直接加载和执行 LiteRT 模型，从而加速 LiteRT 模型。<br><br><br>选择此插件可直接运行 LiteRT 模型，无需转换。 |

**SDK API** - 这些 SDK 为应用程序开发者提供 AI API。

| [Qualcomm Neural Processing Engine SDK](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-2/api.html) | C、C++ 和 Java API，支持异构计算、系统级配置并将 AI 工作负载引导至所有加速器核心。<br><br><br>为开发者提供灵活性，包括核心间的协作支持和其他高级功能。 |
| --- | --- |
| [Qualcomm AI Engine Direct](https://docs.qualcomm.com/bundle/publicresource/topics/80-63442-50/api.html) | 低层的、高度可定制的 API，通过各自的库加速所有 AI 加速核心上的 AI 模型。<br><br><br>该 SDK 可以用于指定的加速器核心或各流行 runtime 的 delegate 工作负载，其中包括<br><br><br>Qualcomm Neural Processing Engine SDK、LiteRT 和 ONNX runtime。 |

Last Published: Jul 23, 2025

[Previous Topic
概述](https://docs.qualcomm.com/bundle/publicresource/80-70020-15SC/topics/overview.md) [Next Topic
示例应用程序](https://docs.qualcomm.com/bundle/publicresource/80-70020-15SC/topics/sample-apps.md)