Home
last modified time | relevance | path

Searched refs:state0 (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/contrib/recurrent/python/ops/
Drecurrent.py281 state0, argument
309 self._state = state0
338 (theta, state0, inputs) = _Pack(args, fwd_sig)
339 state1, extras = self._cell_fn(theta, state0, inputs)
366 (theta, state0, inputs, acc_state, acc_extras) = _Pack(
369 fwd = Fwd(*_Flatten([theta, state0, inputs_t]))
394 (theta, state0, inputs, max_input_length, _) = _Pack(op_inputs, op_struct)
408 theta, state0, inputs, max_input_length, acc_state, acc_extras,
423 theta, state0, inputs, max_input_length, extras = _Pack(args, forward_sig)
428 acc_state = _EmptyAcc(slen_dim, state0)
[all …]
Dfunctional_rnn.py73 inputs_t, state0 = nest.pack_sequence_as(input_structure, flat_inputs)
74 _SetShapeFromTemplate(state0, initial_state)
76 outputs_t, state1 = rnn_cell(inputs_t, state0)
302 state0=func_cell.extended_initial_state,
/external/v8/src/runtime/
Druntime-maths.cc31 uint64_t state0 = 0; in RUNTIME_FUNCTION() local
36 state0 = double_to_uint64(cache->get_scalar(kState0Offset)); in RUNTIME_FUNCTION()
47 state0 = FLAG_random_seed; in RUNTIME_FUNCTION()
50 while (state0 == 0 || state1 == 0) { in RUNTIME_FUNCTION()
51 isolate->random_number_generator()->NextBytes(&state0, sizeof(state0)); in RUNTIME_FUNCTION()
62 base::RandomNumberGenerator::XorShift128(&state0, &state1); in RUNTIME_FUNCTION()
63 raw_cache->set(i, base::RandomNumberGenerator::ToDouble(state0, state1)); in RUNTIME_FUNCTION()
67 raw_cache->set(kState0Offset, uint64_to_double(state0)); in RUNTIME_FUNCTION()
/external/jemalloc_new/include/jemalloc/internal/
Dprng.h68 uint32_t ret, state0, state1; in prng_lg_range_u32() local
73 state0 = atomic_load_u32(state, ATOMIC_RELAXED); in prng_lg_range_u32()
77 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
78 } while (!atomic_compare_exchange_weak_u32(state, &state0, in prng_lg_range_u32()
81 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
105 size_t ret, state0, state1; in prng_lg_range_zu() local
110 state0 = atomic_load_zu(state, ATOMIC_RELAXED); in prng_lg_range_zu()
114 state1 = prng_state_next_zu(state0); in prng_lg_range_zu()
115 } while (atomic_compare_exchange_weak_zu(state, &state0, in prng_lg_range_zu()
118 state1 = prng_state_next_zu(state0); in prng_lg_range_zu()
/external/webrtc/webrtc/common_audio/signal_processing/
Dresample_by_2_mips.c38 register int32_t state0 = filtState[0]; in WebRtcSpl_DownsampleBy2() local
109 [tmp11] "=&r" (tmp11), [state0] "+r" (state0), in WebRtcSpl_DownsampleBy2()
158 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
159 state0 = in32; in WebRtcSpl_DownsampleBy2()
187 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
188 state0 = in32; in WebRtcSpl_DownsampleBy2()
216 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
217 state0 = in32; in WebRtcSpl_DownsampleBy2()
245 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
246 state0 = in32; in WebRtcSpl_DownsampleBy2()
[all …]
Dresample_by_2.c75 register int32_t state0 = filtState[0]; in WebRtcSpl_DownsampleBy2() local
88 tmp1 = MUL_ACCUM_1(kResampleAllpass2[0], diff, state0); in WebRtcSpl_DownsampleBy2()
89 state0 = in32; in WebRtcSpl_DownsampleBy2()
116 filtState[0] = state0; in WebRtcSpl_DownsampleBy2()
133 register int32_t state0 = filtState[0]; in WebRtcSpl_UpsampleBy2() local
146 tmp1 = MUL_ACCUM_1(kResampleAllpass1[0], diff, state0); in WebRtcSpl_UpsampleBy2()
147 state0 = in32; in WebRtcSpl_UpsampleBy2()
175 filtState[0] = state0; in WebRtcSpl_UpsampleBy2()
/external/jemalloc/include/jemalloc/internal/
Dprng.h93 uint32_t state0; in prng_lg_range_u32() local
96 state0 = atomic_read_uint32(state); in prng_lg_range_u32()
97 state1 = prng_state_next_u32(state0); in prng_lg_range_u32()
98 } while (atomic_cas_uint32(state, state0, state1)); in prng_lg_range_u32()
133 size_t state0; in prng_lg_range_zu() local
136 state0 = atomic_read_z(state); in prng_lg_range_zu()
137 state1 = prng_state_next_zu(state0); in prng_lg_range_zu()
138 } while (atomic_cas_z(state, state0, state1)); in prng_lg_range_zu()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c100 int32_t state0 = state[0]; in WebRtcIsacfix_HighpassFilterFixDec32C() local
126 [state0]"r"(state0), in WebRtcIsacfix_HighpassFilterFixDec32C()
132 a1 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[5], state0) + in WebRtcIsacfix_HighpassFilterFixDec32C()
133 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[4], state0) >> 16); in WebRtcIsacfix_HighpassFilterFixDec32C()
138 a2 = WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[1], state0) + in WebRtcIsacfix_HighpassFilterFixDec32C()
139 (WEBRTC_SPL_MUL_16_32_RSFT16(coefficient[0], state0) >> 16); in WebRtcIsacfix_HighpassFilterFixDec32C()
150 state1 = state0; in WebRtcIsacfix_HighpassFilterFixDec32C()
151 state0 = c << 2; // Write state as Q4 in WebRtcIsacfix_HighpassFilterFixDec32C()
153 state[0] = state0; in WebRtcIsacfix_HighpassFilterFixDec32C()
Dfilterbanks_mips.c112 int32_t state0 = state[0]; in WebRtcIsacfix_HighpassFilterFixDec32MIPS() local
140 : [coeff_ptr] "r" (coefficient), [state0] "r" (state0), in WebRtcIsacfix_HighpassFilterFixDec32MIPS()
/external/tensorflow/tensorflow/contrib/recurrent/python/kernel_tests/
Drecurrent_test.py100 def Elman(theta, state0, inputs): argument
101 h0, w, b, x = state0.h, theta.w, theta.b, inputs.x
108 def ElmanGrad(theta, state0, inputs, extras, dstate1): argument
124 dh0, dx, dw, db = Grad(state0.h, theta.w, theta.b, inputs.x,
152 state0 = _ElmanState(h=RecurrentTest.Rand([batch, dims]))
156 s = state0
165 loss0, [theta.w, theta.b, state0.h, inputs.x])
169 state0=state0,
178 loss1, [theta.w, theta.b, state0.h, inputs.x])
/external/v8/src/base/utils/
Drandom-number-generator.h111 static inline double ToDouble(uint64_t state0, uint64_t state1) { in ToDouble() argument
115 uint64_t random = ((state0 + state1) & kMantissaMask) | kExponentBits; in ToDouble()
120 static inline void XorShift128(uint64_t* state0, uint64_t* state1) { in XorShift128() argument
121 uint64_t s1 = *state0; in XorShift128()
123 *state0 = s0; in XorShift128()
/external/wycheproof/java/com/google/security/wycheproof/
DRandomUtil.java95 long state0 = l0 + eps; in getState() local
96 long state1 = nextState(state0); in getState()
98 return state0; in getState()
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_code.c87 unsigned rc_constants_add_state(struct rc_constant_list * c, unsigned state0, unsigned state1) in rc_constants_add_state() argument
94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state()
103 constant.u.State[0] = state0; in rc_constants_add_state()
/external/aac/libSBRenc/src/
Dresampler.cpp376 FIXP_DBL state0; in AdvanceFilter() local
382 state0 = input + fMult(state1, coeff[B1]) + fMult(state2, coeff[B2]); in AdvanceFilter()
383 y = state0 - fMult(state1b, coeff[A1]) - fMult(state2b, coeff[A2]); in AdvanceFilter()
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dkalman_filter_test.py389 state0 = original_state
390 state1 = kf.predict_state_mean(state0, transition_fn(3 * [1]))
394 self.assertAllClose(state0.eval()[1], batch_eval[1])
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Drnn_cell_test.py1186 state0 = rnn_cell.LSTMStateTuple(c0, h0)
1188 (t, x), state0)
1645 state0 = rnn_cell.LSTMStateTuple(c0, h0)
1649 state = (state0, state1)
1713 state0 = rnn_cell.LSTMStateTuple(c0, h0)
1717 state = (state0, state1)
1780 state0 = rnn_cell.LSTMStateTuple(c0, h0)
1786 h, (s0, s1) = cell(x, (state0, state1))
1818 state0 = rnn_cell_impl.LSTMStateTuple(c0, h0)
1827 h, (s0, s1) = cell(x, (state0, state1))
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dtensor_array_ops_test.py925 def func(v0, state0, var): argument
945 loop_vars=(time_0, ta, state0),
953 state0 = array_ops.identity(np.array([1] * 5, dtype=np_dtype))
961 vout = func(v0, state0, var)
965 v0_grad, state0_grad, var_grad = grad_fn(v0, state0, var, dy=grad_val)
968 state0_grad = gradients_impl.gradients([vout], [state0], [grad_val])[0]
974 ([state0, var, v0, vout, v0_grad, var_grad, state0_grad])))
/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid.cc55 const uint32 state0; member
351 const uint8* Tbl0 = &st->state_table[st->state0]; in InStateZero()
370 const uint8* Tbl_0 = &st->state_table[st->state0]; in UTF8GenericScan()
/external/python/cpython2/Lib/test/
Dtest_audioop.py307 d0, state0 = audioop.ratecv(datas[w], w, 1, 8000, 16000, None)
314 self.assertEqual(state, state0)
/external/v8/src/compiler/
Dload-elimination.cc1107 AbstractState const* state0 = node_states_.Get(effect0); in ReduceEffectPhi() local
1108 if (state0 == nullptr) return NoChange(); in ReduceEffectPhi()
1113 AbstractState const* state = ComputeLoopState(node, state0); in ReduceEffectPhi()
1127 AbstractState* state = new (zone()) AbstractState(*state0); in ReduceEffectPhi()
/external/python/cpython3/Lib/test/
Dtest_audioop.py385 d0, state0 = audioop.ratecv(datas[w], w, 1, 8000, 16000, None)
392 self.assertEqual(state, state0)
/external/icu/icu4c/source/common/
Ducnvmbcs.cpp5631 const int32_t *state0; in ucnv_MBCSGetStarters() local
5634 state0=cnv->sharedData->mbcs.stateTable[cnv->sharedData->mbcs.dbcsOnlyState]; in ucnv_MBCSGetStarters()
5637 starters[i]= (UBool)MBCS_ENTRY_IS_TRANSITION(state0[i]); in ucnv_MBCSGetStarters()
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jar ... maxWidth com.google.googlejavaformat.Doc$State state0 com.google.googlejavaformat.Doc$State state ...