Home
last modified time | relevance | path

Searched refs:m_prev (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/tests/
Dlstm_test.py64 def _NextC(self, inputs, weight, m_prev, c_prev): argument
66 x = (inputs + m_prev) * weight
69 def _NextM(self, inputs, weight, m_prev, c_prev): argument
71 x = (inputs + m_prev) * weight
72 return _Clip(_Sigmoid(x) * self._NextC(inputs, weight, m_prev, c_prev))
81 m_prev = constant_op.constant([[m_prev_scalar]] * self._batch_size)
86 m, c = lstm.LSTMCell(weights, m_prev, c_prev, x, pad)
110 for m_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))
[all …]
Dlstm.py47 def LSTMCell(weights, m_prev, c_prev, x, pad): argument
64 xm = array_ops.concat([x, m_prev], 1)
80 m_next = m_prev * pad + m_next * (1.0 - pad)
/external/tensorflow/tensorflow/contrib/grid_rnn/python/ops/
Dgrid_rnn_cell.py181 c_prev, m_prev, cell_output_size = self._extract_states(state)
188 self._project_input(inputs, c_prev, m_prev, cell_output_size > 0)
192 _propagate(conf.non_priority, conf, self._cells, c_prev, m_prev,
195 c_prev, m_prev, new_output, new_state, False)
239 m_prev = [None] * conf.num_dims
254 c_prev[recurrent_dim], m_prev[recurrent_dim] = recurrent_state
256 m_prev[recurrent_dim] = recurrent_state
264 m_prev[recurrent_dim] = array_ops.slice(
267 m_prev[recurrent_dim] = array_ops.slice(state, [0, start_idx],
269 return c_prev, m_prev, cell_output_size
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DElemContext.java109 final ElemContext m_prev; field in ElemContext
124 m_prev = this; in ElemContext()
141 m_prev = previous; in ElemContext()
155 return this.m_prev; in pop()
DToXMLSAXHandler.java273 m_elemContext = m_elemContext.m_prev; in endElement()
DToHTMLStream.java1030 m_elemContext = elemContext.m_prev; in endElement()
1040 m_elemContext = elemContext.m_prev; in endElement()
DToStream.java2266 m_elemContext = m_elemContext.m_prev; in endElement()
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn_cell.py419 (c_prev, m_prev) = state
422 m_prev = array_ops.slice(state, [0, self._num_units], [-1, num_proj])
432 m_prev = self._tflite_wrapper.add_input(
433 m_prev,
443 inputs_and_m_prev = array_ops.concat([inputs, m_prev], axis=1)
/external/tensorflow/tensorflow/contrib/model_pruning/python/layers/
Drnn_cells.py302 (c_prev, m_prev) = state
305 m_prev = array_ops.slice(state, [0, self._num_units], [-1, num_proj])
313 array_ops.concat([inputs, m_prev], 1), self._masked_kernel)
/external/tensorflow/tensorflow/contrib/rnn/python/ops/
Drnn_cell.py249 (c_prev, m_prev) = state
252 m_prev = array_ops.slice(state, [0, self._num_units], [-1, num_proj])
271 cell_inputs = array_ops.concat([inputs, m_prev], 1)
440 m_prev = array_ops.slice(state, [0, (2 * fq + 1) * self._num_units],
443 cell_inputs = array_ops.concat([freq_inputs[fq], m_prev, m_prev_freq], 1)
1571 (c_prev, m_prev) = state
1573 m_matrix = math_ops.matmul(m_prev, self.recurrent_kernel)
2380 (c_prev, m_prev) = state
2409 self._get_input_for_group(m_prev, group_id,
2667 (c_prev, m_prev) = state
[all …]
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_impl.py1008 (c_prev, m_prev) = state
1011 m_prev = array_ops.slice(state, [0, self._num_units], [-1, num_proj])
1019 array_ops.concat([inputs, m_prev], 1), self._kernel)
/external/libvpx/libwebm/mkvparser/
Dmkvparser.h179 const long long m_prev; variable
Dmkvparser.cc7587 m_prev(prev), in BlockGroup()
7597 m_block.SetKey((m_prev > 0) && (m_next <= 0)); in Parse()
7604 long long BlockGroup::GetPrevTimeCode() const { return m_prev; } in GetPrevTimeCode()
/external/libaom/libaom/third_party/libwebm/mkvparser/
Dmkvparser.h179 const long long m_prev; variable
Dmkvparser.cc7574 m_prev(prev), in BlockGroup()
7584 m_block.SetKey((m_prev > 0) && (m_next <= 0)); in Parse()
7591 long long BlockGroup::GetPrevTimeCode() const { return m_prev; } in GetPrevTimeCode()
/external/libvpx/libvpx/third_party/libwebm/mkvparser/
Dmkvparser.h179 const long long m_prev; variable
Dmkvparser.cc7574 m_prev(prev), in BlockGroup()
7584 m_block.SetKey((m_prev > 0) && (m_next <= 0)); in Parse()
7591 long long BlockGroup::GetPrevTimeCode() const { return m_prev; } in GetPrevTimeCode()