Home
last modified time | relevance | path

Searched refs:debug_data (Results 1 – 25 of 83) sorted by relevance

1234

/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data_test.py24 from tensorflow.python.debug.lib import debug_data
36 debug_data.METADATA_FILE_PREFIX + debug_data.DEVICE_TAG +
38 debug_data.device_name_to_device_path("/job:ps/replica:1/task:2/cpu:0"))
43 debug_data.device_path_to_device_name(
44 debug_data.METADATA_FILE_PREFIX + debug_data.DEVICE_TAG +
51 self._dummy_datum = dummy_datum = debug_data.DebugTensorDatum(
56 self.assertTrue(debug_data.has_inf_or_nan(self._dummy_datum, a))
60 self.assertTrue(debug_data.has_inf_or_nan(self._dummy_datum, a))
64 self.assertTrue(debug_data.has_inf_or_nan(self._dummy_datum, a))
68 self.assertFalse(debug_data.has_inf_or_nan(self._dummy_datum, a))
[all …]
Dgrpc_debug_test_server.py33 from tensorflow.python.debug.lib import debug_data
57 dump_root, debug_data.device_name_to_device_path(device_name))
150 tensor_value = debug_data.load_tensor_from_event(event)
173 debug_data.METADATA_FILE_PREFIX + debug_data.CORE_METADATA_TAG +
185 debug_data.device_name_to_device_path(device_name),
186 debug_data.METADATA_FILE_PREFIX + debug_data.GRAPH_FILE_TAG +
187 debug_data.HASH_TAG + "%d_%d" % (graph_hash, wall_time))
469 dump_dir) and debug_data.DebugDumpDir(dump_dir).size > 0:
DBUILD109 name = "debug_data",
110 srcs = ["debug_data.py"],
132 ":debug_data",
272 ":debug_data",
353 ":debug_data",
396 ":debug_data",
462 ":debug_data",
513 ":debug_data",
531 ":debug_data",
549 ":debug_data",
[all …]
/external/libchrome-gestures/src/
Dtimestamp_filter_interpreter.cc31 auto debug_data = ActivityLog::TimestampHardwareStateDebug{}; in SyncInterpretImpl()
34 ChangeTimestampDefault(hwstate, debug_data); in SyncInterpretImpl()
36 ChangeTimestampUsingFake(hwstate, debug_data); in SyncInterpretImpl()
38 LogDebugData(debug_data); in SyncInterpretImpl()
45 ActivityLog::TimestampHardwareStateDebug& debug_data) { in ChangeTimestampDefault() argument
47 debug_data.prev_msc_timestamp_in = prev_msc_timestamp_; in ChangeTimestampDefault()
53 debug_data.was_first_or_backward = true; in ChangeTimestampDefault()
56 debug_data.prev_msc_timestamp_out = prev_msc_timestamp_; in ChangeTimestampDefault()
64 debug_data.skew = skew_; in ChangeTimestampDefault()
65 debug_data.max_skew = max_skew_; in ChangeTimestampDefault()
[all …]
Daccel_filter_interpreter.cc166 auto debug_data = ActivityLog::AccelGestureDebug{}; in ConsumeGesture()
191 debug_data.no_accel_for_gesture_type = true; in ConsumeGesture()
192 LogDebugData(debug_data); in ConsumeGesture()
197 debug_data.x_y_are_velocity = (dx == nullptr || dy == nullptr); in ConsumeGesture()
198 debug_data.x_scale = x_scale; in ConsumeGesture()
199 debug_data.y_scale = y_scale; in ConsumeGesture()
200 debug_data.dt = get_dt(gs); in ConsumeGesture()
201 debug_data.adjusted_dt = get_adjusted_dt(gs); in ConsumeGesture()
209 debug_data.no_accel_for_small_dt = true; in ConsumeGesture()
210 LogDebugData(debug_data); in ConsumeGesture()
[all …]
Dactivity_log.cc442 const AccelGestureDebug& debug_data) { in EncodeGestureDebug() argument
445 ret[kKeyAccelDebugDroppedGesture] = Json::Value(debug_data.dropped_gesture); in EncodeGestureDebug()
446 if (debug_data.no_accel_for_gesture_type) in EncodeGestureDebug()
448 else if (debug_data.no_accel_for_small_dt) in EncodeGestureDebug()
450 else if (debug_data.no_accel_for_small_speed) in EncodeGestureDebug()
452 else if (debug_data.no_accel_for_bad_gain) in EncodeGestureDebug()
454 ret[kKeyAccelDebugXYAreVelocity] = Json::Value(debug_data.x_y_are_velocity); in EncodeGestureDebug()
455 ret[kKeyAccelDebugXScale] = Json::Value(debug_data.x_scale); in EncodeGestureDebug()
456 ret[kKeyAccelDebugYScale] = Json::Value(debug_data.y_scale); in EncodeGestureDebug()
457 ret[kKeyAccelDebugDt] = Json::Value(debug_data.dt); in EncodeGestureDebug()
[all …]
/external/vulkan-validation-layers/layers/
Dvk_layer_logging.h250 static inline bool debug_log_msg(const debug_report_data *debug_data, VkFlags msg_flags, VkDebugRep…
255 static inline void AddDebugCallbackNode(debug_report_data *debug_data, VkLayerDbgFunctionNode **lis… in AddDebugCallbackNode() argument
262 static inline void RemoveDebugUtilsMessenger(debug_report_data *debug_data, VkLayerDbgFunctionNode … in RemoveDebugUtilsMessenger() argument
281 …debug_log_msg(debug_data, VK_DEBUG_REPORT_DEBUG_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_… in RemoveDebugUtilsMessenger()
311 debug_data->active_severities = local_severities; in RemoveDebugUtilsMessenger()
312 debug_data->active_types = local_types; in RemoveDebugUtilsMessenger()
316 static inline void RemoveDebugUtilsMessageCallback(debug_report_data *debug_data, VkLayerDbgFunctio… in RemoveDebugUtilsMessageCallback() argument
335 …debug_log_msg(debug_data, VK_DEBUG_REPORT_DEBUG_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_DEBUG_REPORT_… in RemoveDebugUtilsMessageCallback()
365 debug_data->active_severities = local_severities; in RemoveDebugUtilsMessageCallback()
366 debug_data->active_types = local_types; in RemoveDebugUtilsMessageCallback()
[all …]
Dvk_layer_data.h29 DATA_T *debug_data; in GetLayerDataPtr() local
36 debug_data = new DATA_T; in GetLayerDataPtr()
37 layer_data_map[(void *)data_key] = debug_data; in GetLayerDataPtr()
39 debug_data = got->second; in GetLayerDataPtr()
42 return debug_data; in GetLayerDataPtr()
/external/rust/android-crates-io/crates/h2/src/frame/
Dgo_away.rs11 debug_data: Bytes, field
19 debug_data: Bytes::new(), in new()
23 pub fn with_debug_data(last_stream_id: StreamId, reason: Reason, debug_data: Bytes) -> Self { in with_debug_data()
27 debug_data, in with_debug_data()
39 pub fn debug_data(&self) -> &Bytes { in debug_data() method
40 &self.debug_data in debug_data()
50 let debug_data = Bytes::copy_from_slice(&payload[8..]); in load() localVariable
55 debug_data, in load()
62 head.encode(8 + self.debug_data.len(), dst); in encode()
65 dst.put(self.debug_data.slice(..)); in encode()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dframe_goaway.cc37 p->debug_data = nullptr; in grpc_chttp2_goaway_parser_init()
41 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_destroy()
51 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_begin_frame()
53 p->debug_data = static_cast<char*>(gpr_malloc(p->debug_length)); in grpc_chttp2_goaway_parser_begin_frame()
137 memcpy(p->debug_data + p->debug_pos, cur, in grpc_chttp2_goaway_parser_parse()
146 absl::string_view(p->debug_data, p->debug_length)); in grpc_chttp2_goaway_parser_parse()
147 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_parse()
148 p->debug_data = nullptr; in grpc_chttp2_goaway_parser_parse()
156 const grpc_slice& debug_data, in grpc_chttp2_goaway_append() argument
161 GPR_ASSERT(GRPC_SLICE_LENGTH(debug_data) < UINT32_MAX - 4 - 4); in grpc_chttp2_goaway_append()
[all …]
Dframe_goaway.h47 char* debug_data; member
62 const grpc_slice& debug_data,
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/
Dframe_goaway.cc39 p->debug_data = nullptr; in grpc_chttp2_goaway_parser_init()
43 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_destroy()
53 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_begin_frame()
55 p->debug_data = static_cast<char*>(gpr_malloc(p->debug_length)); in grpc_chttp2_goaway_parser_begin_frame()
139 memcpy(p->debug_data + p->debug_pos, cur, in grpc_chttp2_goaway_parser_parse()
148 absl::string_view(p->debug_data, p->debug_length)); in grpc_chttp2_goaway_parser_parse()
149 gpr_free(p->debug_data); in grpc_chttp2_goaway_parser_parse()
150 p->debug_data = nullptr; in grpc_chttp2_goaway_parser_parse()
158 const grpc_slice& debug_data, in grpc_chttp2_goaway_append() argument
163 GPR_ASSERT(GRPC_SLICE_LENGTH(debug_data) < UINT32_MAX - 4 - 4); in grpc_chttp2_goaway_append()
[all …]
Dframe_goaway.h47 char* debug_data; member
62 const grpc_slice& debug_data,
/external/rust/android-crates-io/crates/h2/src/
Derror.rs126 GoAway(debug_data, reason, initiator) => { in from()
127 Kind::GoAway(debug_data, reason, initiator) in from()
164 let debug_data = match self.kind { in fmt() localVariable
174 Kind::GoAway(ref debug_data, reason, Initiator::User) => { in fmt()
176 debug_data in fmt()
178 Kind::GoAway(ref debug_data, reason, Initiator::Library) => { in fmt()
180 debug_data in fmt()
182 Kind::GoAway(ref debug_data, reason, Initiator::Remote) => { in fmt()
184 debug_data in fmt()
191 if !debug_data.is_empty() { in fmt()
[all …]
/external/tensorflow/tensorflow/python/debug/
D__init__.py44 from tensorflow.python.debug.lib.debug_data import DebugDumpDir
45 from tensorflow.python.debug.lib.debug_data import DebugTensorDatum
46 from tensorflow.python.debug.lib.debug_data import has_inf_or_nan
47 from tensorflow.python.debug.lib.debug_data import load_tensor_from_event
48 from tensorflow.python.debug.lib.debug_data import load_tensor_from_event_file
/external/tensorflow/tensorflow/python/debug/wrappers/
Ddumping_wrapper.py22 from tensorflow.python.debug.lib import debug_data
117 debug_data.METADATA_FILE_PREFIX + debug_data.FETCHES_INFO_FILE_TAG)
127 debug_data.METADATA_FILE_PREFIX + debug_data.FEED_KEYS_INFO_FILE_TAG)
Ddumping_wrapper_test.py22 from tensorflow.python.debug.lib import debug_data
104 dump = debug_data.DebugDumpDir(dump_dirs[0])
118 dump = debug_data.DebugDumpDir(
134 dump = debug_data.DebugDumpDir(dump_dirs[0])
152 dump = debug_data.DebugDumpDir(dump_dir)
197 dump = debug_data.DebugDumpDir(dump_dir)
226 dump = debug_data.DebugDumpDir(dump_dirs[0])
253 dump = debug_data.DebugDumpDir(dump_dirs[0])
272 dump = debug_data.DebugDumpDir(dump_dirs[0])
308 dump = debug_data.DebugDumpDir(dump_dir)
[all …]
/external/libchrome-gestures/include/
Dtimestamp_filter_interpreter.h63 ActivityLog::TimestampHardwareStateDebug& debug_data);
71 ActivityLog::TimestampHardwareStateDebug& debug_data);
76 void LogDebugData(const T& debug_data) { in LogDebugData() argument
79 log_->LogDebugData(debug_data); in LogDebugData()
/external/cronet/stable/net/spdy/
Dspdy_log_util.cc19 std::string_view debug_data) { in ElideGoAwayDebugDataForNetLog() argument
21 return NetLogStringValue(debug_data); in ElideGoAwayDebugDataForNetLog()
24 {"[", base::NumberToString(debug_data.size()), " bytes were stripped]"})); in ElideGoAwayDebugDataForNetLog()
/external/cronet/tot/net/spdy/
Dspdy_log_util.cc19 std::string_view debug_data) { in ElideGoAwayDebugDataForNetLog() argument
21 return NetLogStringValue(debug_data); in ElideGoAwayDebugDataForNetLog()
24 {"[", base::NumberToString(debug_data.size()), " bytes were stripped]"})); in ElideGoAwayDebugDataForNetLog()
/external/rust/android-crates-io/crates/h2/src/proto/
Derror.rs43 pub(crate) fn library_go_away_data(reason: Reason, debug_data: impl Into<Bytes>) -> Self { in library_go_away_data()
44 Self::GoAway(debug_data.into(), reason, Initiator::Library) in library_go_away_data()
51 pub(crate) fn remote_go_away(debug_data: Bytes, reason: Reason) -> Self { in remote_go_away()
52 Self::GoAway(debug_data, reason, Initiator::Remote) in remote_go_away()
/external/tensorflow/tensorflow/python/debug/cli/
Doffline_analyzer.py23 from tensorflow.python.debug.lib import debug_data
36 debug_dump = debug_data.DebugDumpDir(
40 tensor_filters={"has_inf_or_nan": debug_data.has_inf_or_nan},
DBUILD88 "//tensorflow/python/debug/lib:debug_data",
114 "//tensorflow/python/debug/lib:debug_data",
172 "//tensorflow/python/debug/lib:debug_data",
271 "//tensorflow/python/debug/lib:debug_data",
308 "//tensorflow/python/debug/lib:debug_data",
345 "//tensorflow/python/debug/lib:debug_data",
/external/cronet/stable/third_party/ced/src/compact_enc_det/
Dcompact_enc_det.cc366 DetailEntry* debug_data; // Normally NULL. Ptr to debug data for member
439 destatep->debug_data[next].offset = offset; in SetDetailsEncProb()
440 destatep->debug_data[next].best_enc = best_enc; in SetDetailsEncProb()
441 destatep->debug_data[next].label = label; in SetDetailsEncProb()
442 memcpy(&destatep->debug_data[next].detail_enc_prob, in SetDetailsEncProb()
452 destatep->debug_data[next].offset = destatep->debug_data[next - 1].offset; in SetDetailsEncProbCopyOffset()
453 destatep->debug_data[next].best_enc = best_enc; in SetDetailsEncProbCopyOffset()
454 destatep->debug_data[next].label = label; in SetDetailsEncProbCopyOffset()
455 memcpy(&destatep->debug_data[next].detail_enc_prob, in SetDetailsEncProbCopyOffset()
464 destatep->debug_data[next].offset = destatep->debug_data[next - 1].offset; in SetDetailsEncLabel()
[all …]
/external/cronet/tot/third_party/ced/src/compact_enc_det/
Dcompact_enc_det.cc366 DetailEntry* debug_data; // Normally NULL. Ptr to debug data for member
439 destatep->debug_data[next].offset = offset; in SetDetailsEncProb()
440 destatep->debug_data[next].best_enc = best_enc; in SetDetailsEncProb()
441 destatep->debug_data[next].label = label; in SetDetailsEncProb()
442 memcpy(&destatep->debug_data[next].detail_enc_prob, in SetDetailsEncProb()
452 destatep->debug_data[next].offset = destatep->debug_data[next - 1].offset; in SetDetailsEncProbCopyOffset()
453 destatep->debug_data[next].best_enc = best_enc; in SetDetailsEncProbCopyOffset()
454 destatep->debug_data[next].label = label; in SetDetailsEncProbCopyOffset()
455 memcpy(&destatep->debug_data[next].detail_enc_prob, in SetDetailsEncProbCopyOffset()
464 destatep->debug_data[next].offset = destatep->debug_data[next - 1].offset; in SetDetailsEncLabel()
[all …]

1234