Home
last modified time | relevance | path

Searched refs:input_chunk (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dlp_residual.cc123 std::array<float, kNumLpcCoefficients> input_chunk; in ComputeLpResidual() local
124 input_chunk.fill(0.f); in ComputeLpResidual()
126 const float sum = std::inner_product(input_chunk.begin(), input_chunk.end(), in ComputeLpResidual()
130 input_chunk[j] = input_chunk[j - 1]; in ComputeLpResidual()
131 input_chunk[0] = x[i]; in ComputeLpResidual()
/external/libtextclassifier/native/lang_id/common/flatbuffers/
Dembedding-network-params-from-flatbuffer.cc289 const saft_fbs::InputChunk *input_chunk = input_chunks->Get(i); in SafeGetInputChunk() local
290 if (input_chunk == nullptr) { in SafeGetInputChunk()
293 return input_chunk; in SafeGetInputChunk()
298 const saft_fbs::InputChunk *input_chunk = SafeGetInputChunk(i); in SafeGetEmbeddingMatrix() local
299 if (input_chunk == nullptr) return nullptr; in SafeGetEmbeddingMatrix()
300 const saft_fbs::Matrix *matrix = input_chunk->embedding(); in SafeGetEmbeddingMatrix()
Dembedding-network-params-from-flatbuffer.h177 const saft_fbs::InputChunk *input_chunk = SafeGetInputChunk(i); in embedding_num_features() local
178 if (input_chunk == nullptr) { in embedding_num_features()
181 return input_chunk->num_features(); in embedding_num_features()
/external/python/cpython2/Modules/_io/
Dtextio.c1396 PyObject *input_chunk = NULL; in textiowrapper_read_chunk() local
1436 input_chunk = PyObject_CallMethodObjArgs(self->buffer, in textiowrapper_read_chunk()
1439 if (input_chunk == NULL) in textiowrapper_read_chunk()
1441 if (!PyBytes_Check(input_chunk)) { in textiowrapper_read_chunk()
1444 "not '%.200s'", Py_TYPE(input_chunk)->tp_name); in textiowrapper_read_chunk()
1448 eof = (PyBytes_Size(input_chunk) == 0); in textiowrapper_read_chunk()
1452 self->decoder, input_chunk, eof); in textiowrapper_read_chunk()
1456 _PyIO_str_decode, input_chunk, eof ? Py_True : Py_False, NULL); in textiowrapper_read_chunk()
1469 PyObject *next_input = PyNumber_Add(dec_buffer, input_chunk); in textiowrapper_read_chunk()
1483 Py_DECREF(input_chunk); in textiowrapper_read_chunk()
[all …]
/external/webrtc/modules/audio_coding/codecs/opus/test/
Dblocker_unittest.cc65 float* const* input_chunk, in RunTest() argument
73 CopyTo(input_chunk, 0, start, num_input_channels, chunk_size, input); in RunTest()
74 blocker->ProcessChunk(input_chunk, chunk_size, num_input_channels, in RunTest()
/external/python/cpython3/Modules/_io/
Dtextio.c1792 PyObject *input_chunk = NULL; in textiowrapper_read_chunk() local
1854 input_chunk = PyObject_CallMethodOneArg(self->buffer, in textiowrapper_read_chunk()
1858 if (input_chunk == NULL) in textiowrapper_read_chunk()
1861 if (PyObject_GetBuffer(input_chunk, &input_chunk_buf, 0) != 0) { in textiowrapper_read_chunk()
1865 Py_TYPE(input_chunk)->tp_name); in textiowrapper_read_chunk()
1872 decoded_chars = _textiowrapper_decode(self->decoder, input_chunk, eof); in textiowrapper_read_chunk()
1891 PyBytes_Concat(&next_input, input_chunk); in textiowrapper_read_chunk()
1903 Py_DECREF(input_chunk); in textiowrapper_read_chunk()
1910 Py_XDECREF(input_chunk); in textiowrapper_read_chunk()
2574 PyObject *input_chunk = _PyObject_CallMethodId( in _io_TextIOWrapper_seek_impl() local
[all …]
/external/python/cpython3/Lib/
D_pyio.py2286 input_chunk = self.buffer.read1(self._CHUNK_SIZE)
2288 input_chunk = self.buffer.read(self._CHUNK_SIZE)
2289 eof = not input_chunk
2290 decoded_chars = self._decoder.decode(input_chunk, eof)
2293 self._b2cratio = len(input_chunk) / len(self._decoded_chars)
2300 self._snapshot = (dec_flags, dec_buffer + input_chunk)
2496 input_chunk = self.buffer.read(bytes_to_feed)
2498 self._decoder.decode(input_chunk, need_eof))
2499 self._snapshot = (dec_flags, input_chunk)
/external/python/cpython2/Lib/
D_pyio.py1688 input_chunk = self.buffer.read1(self._CHUNK_SIZE)
1689 eof = not input_chunk
1690 self._set_decoded_chars(self._decoder.decode(input_chunk, eof))
1695 self._snapshot = (dec_flags, dec_buffer + input_chunk)
1841 input_chunk = self.buffer.read(bytes_to_feed)
1843 self._decoder.decode(input_chunk, need_eof))
1844 self._snapshot = (dec_flags, input_chunk)