Home
last modified time | relevance | path

Searched refs:c_prev (Results 1 – 9 of 9) sorted by relevance

/external/aac/libArithCoding/src/
Dac_arith_coder.cpp613 UCHAR *RESTRICT c_prev, in decode2() argument
634 state_inc = c_prev[0] << 12; in decode2()
639 s = s + (c_prev[i + 1] << 8); in decode2()
703 c_prev[i] = (UCHAR)c_0; in decode2()
728 FDKmemset(&c_prev[i], 1, sizeof(c_prev[0]) * (nt - i)); in decode2()
753 FDKmemclear(pArcoData->c_prev, in CArco_DecodeArithData()
754 sizeof(pArcoData->c_prev[0]) * ((lg_max / 2) + 4)); in CArco_DecodeArithData()
765 copyTableAmrwbArith2(pArcoData->c_prev, pArcoData->m_numberLinesPrev >> 1, in CArco_DecodeArithData()
774 decode2(hBs, pArcoData->c_prev + 2, mdctSpectrum, lg >> 1, lg_max >> 1); in CArco_DecodeArithData()
776 FDKmemset(&pArcoData->c_prev[2], 1, in CArco_DecodeArithData()
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dlstm_test.py64 def _NextC(self, inputs, weight, m_prev, c_prev): argument
67 return _Clip(_Clip(_Sigmoid(x) * c_prev) + _Clip(_Sigmoid(x) * np.tanh(x)))
69 def _NextM(self, inputs, weight, m_prev, c_prev): argument
72 return _Clip(_Sigmoid(x) * self._NextC(inputs, weight, m_prev, c_prev))
82 c_prev = constant_op.constant([[c_prev_scalar]] * self._batch_size)
86 m, c = lstm.LSTMCell(weights, m_prev, c_prev, x, pad)
111 for c_prev in [0., 1.]:
113 init_ops.ones_initializer(), m_prev, c_prev,
115 self.assertAllClose(m, self._NextM(self._inputs, 1., m_prev, c_prev))
116 self.assertAllClose(c, self._NextC(self._inputs, 1., m_prev, c_prev))
[all …]
Dlstm.py50 def LSTMCell(weights, m_prev, c_prev, x, pad): argument
78 c_next = Clip(Clip(forget_gate * c_prev) + Clip(in_gate * in_value))
82 c_next = c_prev * pad + c_next * (1.0 - pad)
/external/libxaac/decoder/
Dixheaacd_arith_dec.c1632 WORD8 *c_prev, WORD8 *c, in ixheaacd_arith_map_context() argument
1642 c_prev[i] = 0; in ixheaacd_arith_map_context()
1648 c_prev_tmp[i] = c_prev[i]; in ixheaacd_arith_map_context()
1655 c_prev[2 + i] = c_prev_tmp[2 + k]; in ixheaacd_arith_map_context()
1658 c_prev[(pres_n / 2) + 2] = c_prev_tmp[(prev_n / 2) + 2]; in ixheaacd_arith_map_context()
1668 static WORD32 ixheaacd_arith_get_context(WORD8 *c_prev, WORD8 *c_pres, in ixheaacd_arith_get_context() argument
1670 WORD32 tmp = (WORD32)c_prev[1] << 12; in ixheaacd_arith_get_context()
1799 WORD8 *c_prev, WORD8 *c_pres, WORD32 n, in ixheaacd_arth_decoding_level2() argument
1814 c_prev[i] = c_pres[i]; in ixheaacd_arth_decoding_level2()
1820 c = (WORD32)c_prev[0] << 12; in ixheaacd_arth_decoding_level2()
[all …]
Dixheaacd_main.h127 WORD8 c_prev[MAX_NUM_CHANNELS][1024 / 2 + 4]; member
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py431 (c_prev, m_prev) = state
433 c_prev = array_ops.slice(state, [0, 0], [-1, self._num_units])
438 c_prev = self._tflite_wrapper.add_input(
439 c_prev,
491 sigmoid(f + self._w_f_diag * c_prev) * c_prev +
492 sigmoid(i + self._w_i_diag * c_prev) * self._activation(j))
494 c = (sigmoid(f) * c_prev + sigmoid(i) * self._activation(j))
/external/aac/libArithCoding/include/
Dac_arith_coder.h116 UCHAR c_prev[(1024 / 2) + 4]; /* 2-tuple context of previous frame, 4 bit */ member
/external/tensorflow/tensorflow/python/keras/layers/legacy_rnn/
Drnn_cell_impl.py1042 (c_prev, m_prev) = state
1044 c_prev = array_ops.slice(state, [0, 0], [-1, self._num_units])
1061 sigmoid(f + self._forget_bias + self._w_f_diag * c_prev) * c_prev +
1062 sigmoid(i + self._w_i_diag * c_prev) * self._activation(j))
1065 sigmoid(f + self._forget_bias) * c_prev +
/external/iproute2/lib/
Dbpf.c224 char *tmp_string, *pos, c_prev = ' '; in bpf_parse_string() local
243 if (c_prev != ',') in bpf_parse_string()
245 c_prev = ','; in bpf_parse_string()
249 if (c_prev != ' ') in bpf_parse_string()
251 c_prev = ' '; in bpf_parse_string()
255 c_prev = c; in bpf_parse_string()