<spanid="paddle::DataProvider::create__DataConfigCR.b"></span><spanclass="target"id="paddleclasspaddle_1_1DataProvider_1ad782dc59f7366c19ba4375101159ba95"></span><emclass="property">static</em><aclass="reference internal"href="#_CPPv2N6paddle12DataProviderE"title="paddle::DataProvider">DataProvider</a> *<codeclass="descname">create</code><spanclass="sig-paren">(</span><emclass="property">const</em> DataConfig &<em>config</em>, bool <em>useGpu</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N6paddle12DataProvider6createERK10DataConfigb"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::DataProvider::registrar___ClassRegistrar:DataProvider.DataConfig.b:"></span><spanclass="target"id="paddleclasspaddle_1_1DataProvider_1acc7ff8754097b2ecdd6c85ba98e78e18"></span>ClassRegistrar<<aclass="reference internal"href="#_CPPv2N6paddle12DataProviderE"title="paddle::DataProvider">DataProvider</a>, DataConfig, bool><codeclass="descname">registrar_</code><aclass="headerlink"href="#_CPPv2N6paddle12DataProvider10registrar_E"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::DataProvider::registrar___ClassRegistrar:DataProvider.DataConfig.ModelConfig.b:"></span><spanclass="target"id="paddleclasspaddle_1_1DataProvider_1ae40e5169aa51da3fb0e903ff75b8ab01"></span>ClassRegistrar<<aclass="reference internal"href="#_CPPv2N6paddle12DataProviderE"title="paddle::DataProvider">DataProvider</a>, DataConfig, <aclass="reference internal"href="../../api/api.html#_CPPv211ModelConfig"title="ModelConfig">ModelConfig</a>, bool><codeclass="descname">registrar_</code><aclass="headerlink"href="#_CPPv2N6paddle12DataProvider10registrar_E"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::MultiDataProvider::MultiDataProvider__DataConfigCR.b"></span><spanclass="target"id="paddleclasspaddle_1_1MultiDataProvider_1a9335b9b57d19fccd0b374746b0e28336"></span><codeclass="descname">MultiDataProvider</code><spanclass="sig-paren">(</span><emclass="property">const</em> DataConfig &<em>config</em>, bool <em>useGpu</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N6paddle17MultiDataProvider17MultiDataProviderERK10DataConfigb"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::MultiDataProvider::MultiDataProvider__DataConfigCR.ModelConfigCR.b"></span><spanclass="target"id="paddleclasspaddle_1_1MultiDataProvider_1acd993858e31a0f829e7ca3034bcdb655"></span><codeclass="descname">MultiDataProvider</code><spanclass="sig-paren">(</span><emclass="property">const</em> DataConfig &<em>config</em>, <emclass="property">const</em><aclass="reference internal"href="../../api/api.html#_CPPv211ModelConfig"title="ModelConfig">ModelConfig</a>&<em>modelConfig</em>, bool <em>useGpu</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N6paddle17MultiDataProvider17MultiDataProviderERK10DataConfigRK11ModelConfigb"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::PyDataProvider2::PyDataProvider2__DataConfigCR.b"></span><spanclass="target"id="paddleclasspaddle_1_1PyDataProvider2_1a493a2635a8b83aeb9be3ce6db0d3aa55"></span><codeclass="descname">PyDataProvider2</code><spanclass="sig-paren">(</span><emclass="property">const</em> DataConfig &<em>config</em>, bool <em>useGpu</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N6paddle15PyDataProvider215PyDataProvider2ERK10DataConfigb"title="Permalink to this definition">¶</a></dt>
<spanid="paddle::PyDataProvider2::PyDataProvider2__DataConfigCR.ModelConfigCR.b"></span><spanclass="target"id="paddleclasspaddle_1_1PyDataProvider2_1a2281a7aca7c68247414746864688e7bb"></span><codeclass="descname">PyDataProvider2</code><spanclass="sig-paren">(</span><emclass="property">const</em> DataConfig &<em>config</em>, <emclass="property">const</em><aclass="reference internal"href="../../api/api.html#_CPPv211ModelConfig"title="ModelConfig">ModelConfig</a>&<em>modelConfig</em>, bool <em>useGpu</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#_CPPv2N6paddle15PyDataProvider215PyDataProvider2ERK10DataConfigRK11ModelConfigb"title="Permalink to this definition">¶</a></dt>
<spanclass="k">def</span><spanclass="nf">process</span><spanclass="p">(</span><spanclass="n">settings</span><spanclass="p">,</span><spanclass="n">filename</span><spanclass="p">):</span><spanclass="c1"># settings is not used currently.</span>
<spanclass="n">f</span><spanclass="o">=</span><spanclass="nb">open</span><spanclass="p">(</span><spanclass="n">filename</span><spanclass="p">,</span><spanclass="s1">'r'</span><spanclass="p">)</span><spanclass="c1"># open one of training file</span>
<spanclass="k">for</span><spanclass="n">line</span><spanclass="ow">in</span><spanclass="n">f</span><spanclass="p">:</span><spanclass="c1"># read each line</span>