/external/tensorflow/tensorflow/compiler/tests/ |
D | lstm_test.py | 61 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/ |
D | training_test.py | 90 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 …]
|
D | evaluation_test.py | 150 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/ |
D | learning_test.py | 232 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 …]
|
D | evaluation_test.py | 86 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/ |
D | recurrent.py | 310 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/ |
D | evaluation_test.py | 68 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/ |
D | graph_matcher.py | 68 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/ |
D | dataset_test.py | 95 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/ |
D | sampling_ops_test.py | 139 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/ |
D | clustering_ops.py | 140 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/ |
D | clustering_ops.py | 141 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/ |
D | divide_and_merge_profiles.py | 24 self._inputs = inputs 47 for i in self._inputs: 71 for i in self._inputs:
|
/external/tensorflow/tensorflow/python/keras/engine/ |
D | training_utils.py | 1198 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/ |
D | debug_graphs.py | 175 self._inputs = [] 212 self._inputs.append(inp) 219 return self._inputs
|
/external/tensorflow/tensorflow/python/data/ops/ |
D | dataset_ops.py | 112 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 …]
|
D | multi_device_iterator_ops.py | 138 def _inputs(self): member in _PerDeviceGenerator 181 def _inputs(self): member in _ReincarnatedPerDeviceGenerator
|
D | readers.py | 241 def _inputs(self): member in TFRecordDatasetV2 242 return self._impl._inputs() # pylint: disable=protected-access
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | pfor.py | 673 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/ |
D | indexed_dataset_ops.py | 134 def _inputs(self): member in IdentityIndexedDataset
|
D | optimization.py | 173 def _inputs(self): member in _ChooseFastestDataset
|
D | interleave_ops.py | 135 def _inputs(self): member in _DirectedInterleaveDataset
|
/external/tensorflow/tensorflow/lite/python/ |
D | op_hint.py | 339 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/ |
D | ops.py | 2340 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/ |
D | helper.py | 248 self._inputs = inputs 267 return self._inputs
|