/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/ |
D | autoregressive_test.py | 40 def _random_scale_tril(self, event_size): argument 41 n = np.int32(event_size * (event_size + 1) // 2) 55 event_size = 2 57 batch_event_shape = np.concatenate([batch_shape, [event_size]], axis=0) 59 affine = Affine(scale_tril=self._random_scale_tril(event_size)) 69 event_size = np.int32(2) 71 batch_event_shape = np.concatenate([batch_shape, [event_size]], axis=0) 73 affine = Affine(scale_tril=self._random_scale_tril(event_size)) 83 event_shape=[event_size], 87 [sample_shape, batch_shape, [event_size]], axis=0)
|
/external/perf_data_converter/src/quipper/ |
D | test_perf_data.cc | 145 const size_t event_size = sizeof(perf_event_header) + attr.size + in WriteTo() local 151 .size = static_cast<u16>(event_size), in WriteTo() 231 const size_t event_size = GetSize(); in WriteTo() local 238 .size = MaybeSwap16(static_cast<u16>(event_size)), in WriteTo() 257 CHECK_EQ(event_size, static_cast<u64>(written_event_size)); in WriteTo() 263 const size_t event_size = offsetof(struct mmap2_event, filename) + in WriteTo() local 272 .size = static_cast<u16>(event_size), in WriteTo() 299 const size_t event_size = sizeof(struct fork_event) + sample_id_.size(); in WriteTo() local 306 .size = MaybeSwap16(static_cast<u16>(event_size)), in WriteTo() 456 const size_t event_size = GetSize(); in WriteTo() local [all …]
|
D | perf_reader.h | 144 bool ReadEventType(DataReader* data, int attr_idx, size_t event_size);
|
D | perf_parser_test.cc | 539 const size_t event_size = in TEST() local 546 .size = static_cast<u16>(event_size), in TEST() 1276 const size_t event_size = in TEST() local 1283 .size = static_cast<u16>(event_size), in TEST() 1297 const size_t event_size = in TEST() local 1304 .size = static_cast<u16>(event_size), in TEST()
|
D | perf_reader.cc | 726 size_t event_size) { in ReadEventType() argument 736 if (event_size == 0) { // Not in an event. in ReadEventType() 739 event_name_len = event_size - sizeof(perf_event_header) - sizeof(event_id); in ReadEventType()
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/ |
D | onehot_categorical.py | 157 def event_size(self): member in OneHotCategorical 189 logits_2d = array_ops.reshape(logits, [-1, self.event_size]) 192 samples = array_ops.one_hot(samples, self.event_size, dtype=self.dtype) 207 logits_2d = array_ops.reshape(logits, [-1, self.event_size]) 208 x_2d = array_ops.reshape(x, [-1, self.event_size]) 221 ret = array_ops.one_hot(ret, self.event_size, dtype=self.dtype)
|
D | relaxed_onehot_categorical.py | 217 def event_size(self): member in ExpRelaxedOneHotCategorical 251 logits_2d = array_ops.reshape(logits, [-1, self.event_size]) 281 logits_2d = array_ops.reshape(logits, [-1, self.event_size]) 282 x_2d = array_ops.reshape(x, [-1, self.event_size]) 284 k = math_ops.cast(self.event_size, x.dtype)
|
D | distribution_util.py | 310 event_size = scale.range_dimension_tensor() 311 event_size_const = tensor_util.constant_value(event_size) 315 event_shape = event_size[array_ops.newaxis]
|
D | mixture.py | 160 num_components = cat.event_size
|
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/ |
D | masked_autoregressive.py | 241 event_size = tensor_shape.dimension_value( 243 if event_size is None: 249 for _ in range(event_size): 260 event_size = array_ops.shape(x)[-1] 286 cond=lambda index, _: index < event_size,
|
D | affine.py | 388 event_size = array_ops.shape(x)[-1] 389 event_size = math_ops.cast(event_size, dtype=self._scale.dtype) 390 return math_ops.log(math_ops.abs(self._scale)) * event_size
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.h | 153 int eloop_register_event(void *event, size_t event_size, 165 void eloop_unregister_event(void *event, size_t event_size);
|
D | eloop_win.c | 183 int eloop_register_event(void *event, size_t event_size, in eloop_register_event() argument 190 if (event_size != sizeof(HANDLE) || h == INVALID_HANDLE_VALUE) in eloop_register_event() 212 void eloop_unregister_event(void *event, size_t event_size) in eloop_unregister_event() argument 218 event_size != sizeof(HANDLE)) in eloop_unregister_event()
|
/external/perfetto/src/traced/probes/ftrace/ |
D | cpu_reader.cc | 505 uint32_t event_size; in ParsePage() local 507 if (!ReadAndAdvance<uint32_t>(&ptr, end, &event_size)) in ParsePage() 510 if (event_size < 4) in ParsePage() 512 event_size -= 4; in ParsePage() 514 event_size = 4 * event_header.type_or_length; in ParsePage() 517 const uint8_t* next = ptr + event_size; in ParsePage()
|
/external/tensorflow/tensorflow/python/ops/ |
D | special_math_ops_test.py | 150 event_size = 0 152 x = constant_op.constant([], shape=[batch_size, event_size]) 164 for event_size in [0, 1, 2]: 165 x = constant_op.constant([], shape=[batch_size, event_size])
|
/external/libchrome/mojo/core/ |
D | user_message_impl.cc | 139 const size_t event_size = event->GetSerializedSize(); in CreateOrExtendSerializedEventMessage() local 140 const size_t total_size = event_size + header_size + payload_size; in CreateOrExtendSerializedEventMessage() 142 event_size + header_size + payload_buffer_size; in CreateOrExtendSerializedEventMessage() 147 event_size); in CreateOrExtendSerializedEventMessage()
|
D | node_controller.cc | 94 const size_t event_size = event->GetSerializedSize(); in DeserializeEventMessage() local 98 DCHECK_LE(event_size, size); in DeserializeEventMessage() 103 static_cast<uint8_t*>(data) + event_size, size - event_size); in DeserializeEventMessage()
|
/external/tensorflow/tensorflow/python/ops/distributions/ |
D | util.py | 355 event_size = x_shape_static.dims[-1].value 356 if event_size < 2: 359 if event_size > max_event_size: 363 x_dtype.name, event_size, max_event_size)) 366 event_size = array_ops.shape(x, name="x_shape")[-1] 376 event_size, max_event_size,
|
D | categorical.py | 245 def event_size(self): member in Categorical 275 logits_2d = array_ops.reshape(self.logits, [-1, self.event_size])
|
/external/libchrome/base/files/ |
D | file_path_watcher_linux.cc | 263 size_t event_size = sizeof(inotify_event) + event->len; in ThreadMain() local 264 DCHECK(i + event_size <= static_cast<size_t>(bytes_read)); in ThreadMain() 266 i += event_size; in ThreadMain()
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | categorical_test.py | 76 self.assertEqual(10, dist.event_size.eval()) 79 self.assertEqual(10, tensor_util.constant_value(dist.event_size)) 89 self.assertEqual(10, dist.event_size.eval())
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.distributions.-categorical.pbtxt | 24 name: "event_size"
|
/external/tensorflow/tensorflow/contrib/seq2seq/python/ops/ |
D | sampler.py | 741 event_size = array_ops.shape(logits)[-1] 749 logits_2d = array_ops.reshape(logits, [-1, event_size])
|
D | helper.py | 97 event_size = array_ops.shape(logits)[-1] 104 logits_2d = array_ops.reshape(logits, [-1, event_size])
|
/external/perfetto/test/ |
D | end_to_end_integrationtest.cc | 271 for (int ev = 0; ev < packet.ftrace_events().event_size(); ev++) { in TEST_F() 326 for (int i = 0; i < packet.ftrace_events().event_size(); i++) { in TEST_F()
|