Searched refs:tensor_values (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/python/debug/lib/ |
D | dumping_callback_test.py | 158 tensor_values = collections.defaultdict(lambda: []) 216 tensor_values[execution.op_type].append( 224 self.assertAllClose(tensor_values["Greater"], [1, 1, 1, 1, 1, 1, 0]) 225 self.assertAllClose(tensor_values["RealDiv"], [5, 8, 4, 2, 1]) 226 self.assertAllClose(tensor_values["Mul"], [15]) 227 self.assertAllClose(tensor_values["AddV2"], [16]) 928 tensor_values = [reader.graph_execution_trace_to_tensor_value(digest) 932 self.assertLen(tensor_values, 2) 933 self.assertAllClose(tensor_values[0], 5.0) # 1st AddV2 op. 935 tensor_values[1], np.log(5.0) + 1.0) # 2nd AddV2 op. [all …]
|
D | debug_events_monitors.py | 269 tensor_values = self._debug_data_reader.execution_to_tensor_values( 271 for output_slot, tensor_value in enumerate(tensor_values):
|
/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_tensor_supported_values_test.py | 155 tensor_values = constant_op.constant( 157 values = WrappedTensor(tensor_values) 162 self.assertAllEqual(rt.values.value, tensor_values) 168 self.assertAllEqual(rt.values.value, tensor_values) 174 self.assertAllEqual(rt.values.value, tensor_values) 180 self.assertAllEqual(rt.values.value, tensor_values) 185 self.assertAllEqual(rt.values.value, tensor_values) 189 tensor_values = constant_op.constant(['a', 'b', 'c', 'd', 'e', 'f', 'g']) 190 values = WrappedTensor(tensor_values) 203 tensor_values = constant_op.constant(['a', 'b', 'c', 'd', 'e', 'f', 'g']) [all …]
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibration_logger.h | 52 TfLiteStatus LogTensorValue(int tensor_index, const float* tensor_values, in LogTensorValue() argument 56 tensor_values, tensor_size, error_reporter); in LogTensorValue()
|
/external/tensorflow/tensorflow/python/client/ |
D | session.py | 535 def build_results(self, session, tensor_values): argument 555 assert len(self._final_fetches) == len(tensor_values) 571 value = tensor_values[j] 579 assert j == len(tensor_values)
|
/external/tensorflow/tensorflow/python/training/ |
D | basic_session_run_hooks.py | 249 def _log_tensors(self, tensor_values): argument 254 logging.info(self._formatter(tensor_values)) 258 stats.append("%s = %s" % (tag, tensor_values[tag]))
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | arithmetic_optimizer.cc | 85 typename checkpoint::SaveTypeTraits<T>::RepeatedField* tensor_values = in ValuesFromConstNode() local 88 if (!tensor_values->empty() && tensor.has_tensor_shape()) { in ValuesFromConstNode() 93 if (shape.dim_size() == 1 && shape.dim(0).size() == tensor_values->size()) { in ValuesFromConstNode() 94 values->insert(values->end(), tensor_values->begin(), in ValuesFromConstNode() 95 tensor_values->end()); in ValuesFromConstNode()
|