Home
last modified time | relevance | path

Searched refs:_inputs (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tests/
Dlstm_test.py61 self._inputs = np.array([[-1.], [-.5], [0.], [.5], [1.]], np.float32)
62 self._batch_size = len(self._inputs)
83 x = constant_op.constant(self._inputs)
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))
128 self._NextM(self._inputs, weight, m_prev, c_prev))
130 self._NextC(self._inputs, weight, m_prev, c_prev))
147 x_seq = [constant_op.constant(self._inputs)] * seq_length
167 x_seq = [constant_op.constant(self._inputs)] * seq_length
200 m0 = self._NextM(self._inputs, weight1, m_init, c_init)
[all …]
/external/tensorflow/tensorflow/contrib/training/python/training/
Dtraining_test.py90 self._inputs = np.random.rand(16, 4).astype(np.float32)
95 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
109 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
112 expected_mean = np.mean(self._inputs, axis=(0))
113 expected_var = np.var(self._inputs, axis=(0))
146 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
179 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
202 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
229 self._inputs = np.zeros((16, 4))
234 self._inputs[i, j] = 1
[all …]
Devaluation_test.py150 self._inputs = np.zeros((16, 4))
155 self._inputs[i, j] = 1
169 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
194 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
221 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
248 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
269 self._inputs = np.zeros((16, 4))
274 self._inputs[i, j] = 1
288 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
310 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/
Dlearning_test.py232 self._inputs = np.zeros((16, 4))
237 self._inputs[i, j] = 1
245 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
266 self._inputs = np.random.rand(16, 4).astype(np.float32)
277 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
280 expected_mean = np.mean(self._inputs, axis=(0))
281 expected_var = np.var(self._inputs, axis=(0))
315 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
348 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
373 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
[all …]
Devaluation_test.py86 self._inputs = constant_op.constant(inputs, dtype=dtypes.float32)
88 self._predictions, self._scale = TestModel(self._inputs)
236 self._inputs = constant_op.constant(inputs, dtype=dtypes.float32)
238 self._predictions, self._scale = TestModel(self._inputs)
/external/tensorflow/tensorflow/contrib/recurrent/python/ops/
Drecurrent.py310 self._inputs = inputs
330 fwd_sig = [self._theta, self._state, self._inputs]
359 self._theta, self._state, self._inputs, self._state, self._extras
391 self._theta, self._state, self._inputs, self._max_input_length,
415 self._theta, self._state, self._inputs, self._max_input_length,
444 [self._theta, self._state, self._inputs, self._state, self._extras])
455 self._theta, self._state, self._inputs, self._extras, self._state
469 _AssertIsCompatible(dinputs, self._inputs)
509 self._theta, self._state, self._inputs, self._state, self._extras,
510 self._theta, self._state, self._inputs, self._state
[all …]
/external/tensorflow/tensorflow/python/training/
Devaluation_test.py68 self._inputs = np.zeros((16, 4))
73 self._inputs[i, j] = 1
87 tf_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
115 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
142 all_inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
182 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
210 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
239 inputs = constant_op.constant(self._inputs, dtype=dtypes.float32)
/external/tensorflow/tensorflow/contrib/quantize/python/
Dgraph_matcher.py68 self._inputs = [
87 if not self._inputs:
91 if len(op.inputs) != len(self._inputs):
94 input_patterns_list = [self._inputs]
98 input_patterns_list = list(itertools.permutations(self._inputs))
/external/tensorflow/tensorflow/python/data/kernel_tests/
Ddataset_test.py95 self.assertLen(dataset_fn()._inputs(), num_inputs)
104 self.assertEmpty(dataset_fn._inputs())
146 self.assertEqual([input_dataset], dataset_fn(input_dataset)._inputs())
151 self.assertEqual([input_dataset], dataset_fn(input_dataset)._inputs())
165 self.assertEqual([input_dataset], dataset_fn(input_dataset)._inputs())
174 self.assertEqual([input1, input2], dataset_fn(input1, input2)._inputs())
194 dataset_fn(input_datasets)._inputs())
206 queue.extend(ds._inputs())
/external/tensorflow/tensorflow/contrib/nn/python/ops/
Dsampling_ops_test.py139 def _inputs(self): member in RankSampledSoftmaxLossTest
157 inputs=self._inputs(),
176 inputs=self._inputs(),
194 inputs=self._inputs(),
210 inputs=self._inputs(),
223 inputs=self._inputs(),
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
Dclustering_ops.py140 self._inputs = inputs if isinstance(inputs, list) else [inputs]
361 inputs = self._inputs
366 self._inputs, num_clusters, initial_clusters, self._distance_metric,
583 self._inputs = inputs
597 [array_ops.shape(i)[0] for i in self._inputs])
606 return embedding_lookup(self._inputs, indices, partition_strategy='div')
611 inp = self._inputs[0]
635 first_shard = self._inputs[0]
710 lambda: array_ops.concat(self._inputs, 0),
728 return self._initial_clusters(self._inputs, self._num_remaining)
/external/tensorflow/tensorflow/python/ops/
Dclustering_ops.py141 self._inputs = inputs if isinstance(inputs, list) else [inputs]
362 inputs = self._inputs
367 self._inputs, num_clusters, initial_clusters, self._distance_metric,
584 self._inputs = inputs
598 [array_ops.shape(i)[0] for i in self._inputs])
607 return embedding_lookup(self._inputs, indices, partition_strategy='div')
612 inp = self._inputs[0]
634 first_shard = self._inputs[0]
709 lambda: array_ops.concat(self._inputs, 0),
727 return self._initial_clusters(self._inputs, self._num_remaining)
/external/toolchain-utils/fdo_scripts/
Ddivide_and_merge_profiles.py24 self._inputs = inputs
47 for i in self._inputs:
71 for i in self._inputs:
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_utils.py1198 for input_dataset in dataset._inputs():
1255 for input_dataset in dataset._inputs():
1399 self._inputs = inputs
1400 self._is_dict = isinstance(self._inputs, dict)
1401 self._is_single_input = not isinstance(self._inputs, (list, tuple, dict))
1407 for k in sorted(self._inputs.keys()):
1408 self._flattened_inputs.append(self._inputs[k])
1411 self._flattened_inputs = nest.flatten(self._inputs)
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_graphs.py175 self._inputs = []
212 self._inputs.append(inp)
219 return self._inputs
/external/tensorflow/tensorflow/python/data/ops/
Ddataset_ops.py112 def _inputs(self): member in DatasetV2
146 …[input_dataset._has_captured_ref() for input_dataset in self._inputs()]) # pylint: disable=protec…
165 for input_dataset in self._inputs():
1775 def _inputs(self): member in DatasetV1Adapter
1776 return self._dataset._inputs() # pylint: disable=protected-access
1810 for input_ds in ds._inputs(): # pylint: disable=protected-access
2034 def _inputs(self): member in DatasetSource
2045 def _inputs(self): member in UnaryDataset
2156 def _inputs(self): member in _VariantDataset
2539 def _inputs(self): member in ZipDataset
[all …]
Dmulti_device_iterator_ops.py138 def _inputs(self): member in _PerDeviceGenerator
181 def _inputs(self): member in _ReincarnatedPerDeviceGenerator
Dreaders.py241 def _inputs(self): member in TFRecordDatasetV2
242 return self._impl._inputs() # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py673 self._inputs = inputs
683 stack_indices = range(len(self._inputs))
686 inp = self._inputs[i]
688 self._inputs[i] = _stack(inp.t, length)
698 if not self._inputs:
708 ranks = [_get_rank(x) for x in self._inputs]
713 for i, inp in enumerate(self._inputs):
719 self._inputs[i] = wrap(array_ops.reshape(inp.t, new_shape), True)
723 return self._inputs
727 return len(self._inputs)
[all …]
/external/tensorflow/tensorflow/python/data/experimental/ops/
Dindexed_dataset_ops.py134 def _inputs(self): member in IdentityIndexedDataset
Doptimization.py173 def _inputs(self): member in _ChooseFastestDataset
Dinterleave_ops.py135 def _inputs(self): member in _DirectedInterleaveDataset
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py339 self._inputs = OpHint.OpHintArgumentTracker(
403 return self._inputs.add(*args, **kwargs)
439 self._inputs.add(arg, name=name)
443 return [self._inputs.add(arg) for arg in args]
/external/tensorflow/tensorflow/python/framework/
Dops.py2340 self._inputs = inputs
2343 return iter(self._inputs)
2346 return len(self._inputs)
2349 return bool(self._inputs)
2355 return self._inputs[i]
2374 def _inputs(self): member in Operation
2379 @_inputs.setter
2380 def _inputs(self, value): member in Operation
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/
Dhelper.py248 self._inputs = inputs
267 return self._inputs

12