Home
last modified time | relevance | path

Searched refs:initial_state (Results 1 – 25 of 166) sorted by relevance

1234567

/external/mesa3d/src/intel/isl/
Disl_aux_info.c130 isl_aux_prepare_access(enum isl_aux_state initial_state, in isl_aux_prepare_access() argument
137 assert(aux_state_possible(initial_state, state_superset_usage)); in isl_aux_prepare_access()
141 switch (initial_state) { in isl_aux_prepare_access()
171 isl_aux_state_transition_aux_op(enum isl_aux_state initial_state, in isl_aux_state_transition_aux_op() argument
175 assert(aux_state_possible(initial_state, usage)); in isl_aux_state_transition_aux_op()
180 return initial_state; in isl_aux_state_transition_aux_op()
185 assert(isl_aux_state_has_valid_aux(initial_state)); in isl_aux_state_transition_aux_op()
187 return initial_state == ISL_AUX_STATE_CLEAR || in isl_aux_state_transition_aux_op()
188 initial_state == ISL_AUX_STATE_PARTIAL_CLEAR || in isl_aux_state_transition_aux_op()
189 initial_state == ISL_AUX_STATE_COMPRESSED_CLEAR ? in isl_aux_state_transition_aux_op()
[all …]
/external/tensorflow/tensorflow/python/keras/layers/
Dlstm_test.py201 initial_state = [keras.Input((units,)) for _ in range(num_states)]
203 if len(initial_state) == 1:
204 output = layer(inputs, initial_state=initial_state[0])
206 output = layer(inputs, initial_state=initial_state)
208 any(initial_state[0] is t
211 model = keras.models.Model([inputs] + initial_state, output)
218 initial_state = [np.random.random((num_samples, units))
221 model.train_on_batch([inputs] + initial_state, targets)
232 initial_state = [keras.backend.random_normal_variable(
236 output = layer(inputs, initial_state=initial_state)
[all …]
Dwrappers.py577 def __call__(self, inputs, initial_state=None, constants=None, **kwargs): argument
579 inputs, initial_state, constants = _standardize_args(
580 inputs, initial_state, constants, self._num_constants)
584 initial_state = inputs[1:]
587 if initial_state is None and constants is None:
593 if initial_state is not None:
595 num_states = len(initial_state)
601 'Found: ' + str(initial_state))
603 kwargs['initial_state'] = initial_state
604 additional_inputs += initial_state
[all …]
Dcudnn_recurrent.py83 def call(self, inputs, mask=None, training=None, initial_state=None): argument
93 initial_state = inputs[1:]
95 elif initial_state is not None:
98 initial_state = self.states
100 initial_state = self.get_initial_state(inputs)
102 if len(initial_state) != len(self.states):
104 ' states but was passed ' + str(len(initial_state)) +
110 output, states = self._process_batch(inputs, initial_state)
272 def _process_batch(self, inputs, initial_state): argument
275 input_h = initial_state[0]
[all …]
Dconvolutional_recurrent.py279 initial_state = K.zeros_like(inputs)
281 initial_state = K.sum(initial_state, axis=1)
284 initial_state = self.cell.input_conv(initial_state,
286 initial_state.dtype),
290 return [initial_state for _ in self.cell.state_size]
292 return [initial_state]
298 initial_state=None, argument
302 inputs, initial_state, constants = self._process_inputs(
303 inputs, initial_state, constants)
327 initial_state,
[all …]
Drecurrent.py665 def __call__(self, inputs, initial_state=None, constants=None, **kwargs): argument
666 inputs, initial_state, constants = _standardize_args(inputs,
667 initial_state,
671 if initial_state is None and constants is None:
680 if initial_state is not None:
681 additional_inputs += initial_state
683 lambda s: InputSpec(shape=K.int_shape(s)), initial_state)
725 if initial_state is not None:
726 kwargs['initial_state'] = initial_state
735 initial_state=None, argument
[all …]
Dlstm_v2_test.py148 initial_state = [keras.Input((units,)) for _ in range(num_states)]
150 if len(initial_state) == 1:
151 output = layer(inputs, initial_state=initial_state[0])
153 output = layer(inputs, initial_state=initial_state)
155 any(initial_state[0] is t
158 model = keras.models.Model([inputs] + initial_state, output)
164 initial_state = [
168 model.train_on_batch([inputs] + initial_state, targets)
179 initial_state = [
184 output = layer(inputs, initial_state=initial_state)
[all …]
Dcudnn_recurrent_test.py138 initial_state = [keras.Input((units,)) for _ in range(num_states)]
140 if len(initial_state) == 1:
141 output = layer(inputs, initial_state=initial_state[0])
143 output = layer(inputs, initial_state=initial_state)
145 any(initial_state[0] is t
148 model = keras.models.Model([inputs] + initial_state, output)
155 initial_state = [
159 model.fit([inputs] + initial_state, targets)
Drecurrent_v2.py421 def call(self, inputs, mask=None, training=None, initial_state=None): argument
429 inputs, initial_state, _ = self._process_inputs(inputs, initial_state, None)
449 initial_state,
461 inputs, initial_state, training, mask, row_lengths)
479 def _defun_gru_call(self, inputs, initial_state, training, mask, argument
493 'init_h': _read_variable_value(initial_state[0]),
508 'init_h': _read_variable_value(initial_state[0]),
1147 def call(self, inputs, mask=None, training=None, initial_state=None): argument
1155 inputs, initial_state, _ = self._process_inputs(inputs, initial_state, None)
1176 initial_state,
[all …]
Drecurrent_test.py506 y = layer(x, initial_state=s, constants=c)
527 y = layer(x, initial_state=s, constants=c)
554 y = layer(x, initial_state=s, constants=c)
571 y = layer(x, initial_state=s, constants=c)
665 output = layer_class(units)(input2, initial_state=state)
1002 y = layer(x, initial_state=s)
1024 layer(x, initial_state=s)
1060 initial_state = cell.get_initial_state(inputs, None, None)
1061 self.assertEqual(initial_state.shape.as_list(), [None, 5])
1062 self.assertEqual(initial_state.dtype, inputs.dtype)
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.h44 using BitGeneratorTy = std::function<RngOutput(XlaOp key, XlaOp initial_state,
50 RngOutput ThreeFryBitGenerator(XlaOp key, XlaOp initial_state,
61 RngOutput PhiloxBitGenerator(XlaOp key, XlaOp initial_state,
70 RngOutput UniformFloatingPointDistribution(XlaOp key, XlaOp initial_state,
77 RngOutput UniformIntDistribution(XlaOp key, XlaOp initial_state,
84 RngOutput NormalFloatingPointDistribution(XlaOp key, XlaOp initial_state,
Dprng.cc141 XlaOp initial_state, const Shape& shape) { in GetThreeFryInputsAndUpdatedState() argument
142 XlaBuilder* builder = initial_state.builder(); in GetThreeFryInputsAndUpdatedState()
145 auto input_u64 = Broadcast(Reshape(initial_state, {}), shape.dimensions()); in GetThreeFryInputsAndUpdatedState()
157 initial_state + ConstantR0<uint64>(builder, ShapeUtil::ElementsIn(shape)); in GetThreeFryInputsAndUpdatedState()
243 RngOutput ThreeFryRngBit32(XlaOp key, XlaOp initial_state, const Shape& shape) { in ThreeFryRngBit32() argument
246 GetThreeFryInputsAndUpdatedState(initial_state, shape_pair.half_shape); in ThreeFryRngBit32()
255 RngOutput ThreeFryRngBit64(XlaOp key, XlaOp initial_state, const Shape& shape) { in ThreeFryRngBit64() argument
257 GetThreeFryInputsAndUpdatedState(initial_state, shape); in ThreeFryRngBit64()
391 XlaOp initial_state, in GeneratePhiloxBits() argument
394 state = Uint128ToUint32s(Uint128FromOp(initial_state)); in GeneratePhiloxBits()
[all …]
/external/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
DFSM.py102 def __init__(self, initial_state, memory=None): argument
116 self.initial_state = initial_state
117 self.current_state = self.initial_state
128 self.current_state = self.initial_state
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/
Dsubchannel_interface.h70 grpc_connectivity_state initial_state,
109 grpc_connectivity_state initial_state, in WatchConnectivityState() argument
111 return wrapped_subchannel_->WatchConnectivityState(initial_state, in WatchConnectivityState()
/external/rust/crates/ring/src/
Ddigest.rs55 state: algorithm.initial_state, in new()
284 initial_state: State, field
318 initial_state: State {
343 initial_state: State {
368 initial_state: State {
393 initial_state: State {
422 initial_state: State {
579 state: alg.initial_state, in nearly_full_context()
/external/tensorflow/tensorflow/python/ops/
Drnn.py442 initial_state=initial_state_fw,
481 initial_state=initial_state_bw,
508 initial_state=None, argument
655 if initial_state is not None:
656 state = initial_state
705 initial_state, argument
744 state = initial_state
1101 initial_state, emit_structure, init_loop_state) = loop_fn(
1123 nest.assert_same_structure(initial_state, cell.state_size)
1124 state = initial_state
[all …]
/external/tensorflow/tensorflow/lite/experimental/examples/lstm/
Drnn.py48 initial_state=None, argument
233 if initial_state is not None:
234 state = initial_state
377 initial_state=initial_state_fw,
416 initial_state=initial_state_bw,
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dscan_ops.py34 initial_state, argument
39 self._initial_state = structure.normalize_element(initial_state)
158 def scan(initial_state, scan_func): argument
179 return _ScanDataset(dataset, initial_state, scan_func)
/external/elfutils/libdw/
Dcfi.c316 cfi_assert (cie->initial_state != NULL); in execute_cfi()
321 if (cie->initial_state->nregs > operand) in execute_cfi()
322 fs->regs[operand] = cie->initial_state->regs[operand]; in execute_cfi()
396 cfi_assert (cie->initial_state != NULL); in execute_cfi()
444 if (likely (cie->initial_state != NULL)) in cie_cache_initial_state()
501 cie->initial_state = cie_fs; in cie_cache_initial_state()
515 Dwarf_Frame *fs = duplicate_frame_state (fde->cie->initial_state, NULL); in __libdw_frame_at_address()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dstateless_random_ops.cc86 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in StatelessRngUniform() local
92 key, initial_state, in StatelessRngUniform()
99 key, initial_state, in StatelessRngUniform()
122 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in StatelessRngUniformFullInt() local
125 GetBitGeneratorForDevice(device_type_string)(key, initial_state, shape); in StatelessRngUniformFullInt()
305 xla::XlaOp initial_state = xla::ConstantR0WithType(builder, xla::U64, 0); in Compile() local
310 key, initial_state, GetBitGeneratorForDevice(device_type_string_), in Compile()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ReduceDataset.pbtxt11 name: "initial_state"
22 `new_state` must match the structure of `initial_state`.
/external/rust/crates/grpcio-sys/grpc/src/core/lib/transport/
Dconnectivity_state.cc118 grpc_connectivity_state initial_state, in AddWatcher() argument
125 if (initial_state != current_state) { in AddWatcher()
129 name_, this, watcher.get(), ConnectivityStateName(initial_state), in AddWatcher()
/external/libchrome/base/threading/
Dthread_perftest.cc236 WaitableEvent::InitialState initial_state) in ConditionVariableEvent() argument
239 DCHECK_EQ(WaitableEvent::InitialState::NOT_SIGNALED, initial_state); in ConditionVariableEvent()
276 WaitableEvent::InitialState initial_state) { in PthreadEvent() argument
278 DCHECK_EQ(WaitableEvent::InitialState::NOT_SIGNALED, initial_state); in PthreadEvent()
/external/webrtc/modules/audio_processing/aec3/
Ddominant_nearend_detector.cc36 bool initial_state) { in Update() argument
51 if ((!initial_state || use_during_initial_phase_) && in Update()
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/
DExperimentalScanDataset.pbtxt8 name: "initial_state"
54 name: "initial_state"

1234567