/external/vixl/src/ |
D | pool-manager-impl.h | 162 T PoolManager<T>::UpdateCheckpointForObject(T checkpoint, in UpdateCheckpointForObject() argument 164 checkpoint -= object->label_base_->GetPoolObjectSizeInBytes(); in UpdateCheckpointForObject() 165 if (checkpoint > object->max_location_) checkpoint = object->max_location_; in UpdateCheckpointForObject() 166 checkpoint = AlignDown(checkpoint, object->alignment_); in UpdateCheckpointForObject() 167 return checkpoint; in UpdateCheckpointForObject() 176 static inline bool CheckCurrentPC(T pc, T checkpoint) { in CheckCurrentPC() argument 177 VIXL_ASSERT(pc <= checkpoint); in CheckCurrentPC() 179 return pc == checkpoint; in CheckCurrentPC() 183 static inline bool CheckFuturePC(T pc, T checkpoint) { in CheckFuturePC() argument 186 return pc > checkpoint; in CheckFuturePC() [all …]
|
/external/openscreen/cast/streaming/ |
D | compound_rtcp_builder_unittest.cc | 59 const FrameId checkpoint = FrameId::first() + 42; in TEST_F() local 60 builder()->SetCheckpointFrame(checkpoint); in TEST_F() 71 EXPECT_CALL(*(client()), OnReceiverCheckpoint(checkpoint, playout_delay)); in TEST_F() 72 ASSERT_TRUE(parser()->Parse(packet, checkpoint)); in TEST_F() 78 const FrameId checkpoint = FrameId::first() + 42; in TEST_F() local 79 builder()->SetCheckpointFrame(checkpoint); in TEST_F() 99 const auto max_feedback_frame_id = checkpoint + 2; in TEST_F() 102 EXPECT_CALL(*(client()), OnReceiverCheckpoint(checkpoint, playout_delay)); in TEST_F() 124 EXPECT_CALL(*(client()), OnReceiverCheckpoint(checkpoint, playout_delay)); in TEST_F() 136 FrameId checkpoint = FrameId::first(); in TEST_F() local [all …]
|
/external/perfetto/src/base/test/ |
D | test_task_runner.cc | 53 void TestTaskRunner::RunUntilCheckpoint(const std::string& checkpoint, in RunUntilCheckpoint() argument 56 if (checkpoints_.count(checkpoint) == 0) { in RunUntilCheckpoint() 58 checkpoint.c_str()); in RunUntilCheckpoint() 60 if (checkpoints_[checkpoint]) in RunUntilCheckpoint() 64 [this, checkpoint] { in RunUntilCheckpoint() 65 if (checkpoints_[checkpoint]) in RunUntilCheckpoint() 68 checkpoint.c_str()); in RunUntilCheckpoint() 72 pending_checkpoint_ = checkpoint; in RunUntilCheckpoint() 77 const std::string& checkpoint) { in CreateCheckpoint() argument 79 PERFETTO_DCHECK(checkpoints_.count(checkpoint) == 0); in CreateCheckpoint() [all …]
|
/external/tensorflow/tensorflow/python/keras/distribute/ |
D | checkpointing_test.py | 68 def checkpoint(): function 73 checkpoint = trackable_utils.Checkpoint(v=v, opt=opt) 76 save_path = checkpoint.save(prefix) 79 save_path = checkpoint() 82 checkpoint = trackable_utils.Checkpoint(v=v, opt=opt) 86 checkpoint.restore(save_path) 92 checkpoint = trackable_utils.Checkpoint(v=v, opt=opt) 97 checkpoint.restore(save_path) 120 def checkpoint(): function 123 checkpoint = trackable_utils.Checkpoint(v=v) [all …]
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | base.py | 237 def __init__(self, checkpoint, proto_id): argument 244 self._checkpoint = checkpoint 269 checkpoint = self.checkpoint 270 checkpoint.all_python_objects.add(trackable) 271 current_assignment = checkpoint.object_by_proto_id.get(self._proto_id, None) 272 checkpoint.matched_proto_ids.add(self._proto_id) 274 checkpoint.object_by_proto_id[self._proto_id] = trackable 276 checkpoint.deferred_slot_restorations.pop(self._proto_id, ())): 279 checkpoint=checkpoint, 283 for slot_restoration in checkpoint.slot_restorations.pop( [all …]
|
D | benchmarks_test.py | 92 checkpoint = util.Checkpoint(m=_LazyTrivialObjects()) 93 checkpoint.m() 101 checkpoint = util.Checkpoint(m=_LazyTrivialObjects()) 102 checkpoint.m() 103 checkpoint.restore(checkpoint_path) 111 checkpoint = util.Checkpoint(m=_LazyTrivialObjects()) 112 checkpoint.restore(checkpoint_path) 113 checkpoint.m()
|
D | util_test.py | 153 checkpoint = trackable_utils.Checkpoint(x=CallsFunctionalStuff()) 155 checkpoint.save(prefix) 216 checkpoint = trackable_utils.Checkpoint(v=v) 220 save_path = checkpoint.save(prefix) 223 checkpoint.restore(save_path).assert_consumed().initialize_or_restore() 227 save_path = checkpoint.save(prefix) 229 checkpoint.restore(save_path).assert_consumed().initialize_or_restore() 290 checkpoint = trackable_utils.Checkpoint(v=v) 294 self.evaluate(checkpoint.save_counter.assign(12)) 295 saver = trackable_utils.frozen_saver(checkpoint) [all …]
|
D | tracking_test.py | 85 checkpoint = util.Checkpoint(a=a) 87 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt")) 97 checkpoint = util.Checkpoint(a=a) 99 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt")) 127 checkpoint = util.Checkpoint(a=a) 128 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt")) 131 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt")) 135 checkpoint.save(os.path.join(self.get_temp_dir(), "ckpt"))
|
/external/perfetto/test/ |
D | test_helper.cc | 142 auto checkpoint = CreateCheckpoint("attach." + key); in AttachConsumer() local 143 on_attach_callback_ = [&success, checkpoint](bool s) { in AttachConsumer() 145 checkpoint(); in AttachConsumer() 154 auto checkpoint = CreateCheckpoint("bugreport"); in SaveTraceForBugreportAndWait() local 155 auto callback = [&success, checkpoint](bool s, const std::string&) { in SaveTraceForBugreportAndWait() 157 checkpoint(); in SaveTraceForBugreportAndWait() 196 auto checkpoint = CreateCheckpoint(checkpoint_name); in FlushAndWait() local 197 endpoint_->Flush(timeout_ms, [checkpoint](bool) { checkpoint(); }); in FlushAndWait() 236 auto checkpoint = CreateCheckpoint(checkpoint_name); in SyncAndWaitProducer() local 238 [this, &checkpoint] { task_runner_->PostTask(checkpoint); }); in SyncAndWaitProducer() [all …]
|
D | android_test_utils.cc | 96 const auto checkpoint = task_runner->CreateCheckpoint(checkpoint_name); in WaitForProcess() local 98 [desired_run_state, task_runner, process, checkpoint] { in WaitForProcess() 100 std::move(checkpoint)); in WaitForProcess() 124 auto checkpoint = task_runner->CreateCheckpoint(checkpoint_name); in StopApp() local 125 task_runner->PostTask([desired_run_state, task_runner, app_name, checkpoint] { in StopApp() 127 std::move(checkpoint)); in StopApp()
|
/external/tensorflow/tensorflow/python/util/ |
D | py_checkpoint_reader_wrapper.cc | 103 tensorflow::checkpoint::CheckpointReader* reader, const string& name) { in CheckpointReader_GetTensor() 124 py::class_<tensorflow::checkpoint::CheckpointReader> checkpoint_reader_class( in PYBIND11_MODULE() 133 auto checkpoint = in PYBIND11_MODULE() local 134 std::make_unique<tensorflow::checkpoint::CheckpointReader>( in PYBIND11_MODULE() 137 return checkpoint; in PYBIND11_MODULE() 140 [](tensorflow::checkpoint::CheckpointReader& self) { in PYBIND11_MODULE() 144 &tensorflow::checkpoint::CheckpointReader::GetVariableToShapeMap) in PYBIND11_MODULE() 146 &tensorflow::checkpoint::CheckpointReader::GetVariableToDataTypeMap) in PYBIND11_MODULE() 147 .def("_HasTensor", &tensorflow::checkpoint::CheckpointReader::HasTensor) in PYBIND11_MODULE()
|
/external/tensorflow/tensorflow/python/training/ |
D | checkpoint_management_test.py | 329 checkpoint = util.Checkpoint() 331 checkpoint, self.get_temp_dir(), max_to_keep=3) 343 checkpoint = util.Checkpoint() 350 checkpoint, directory, max_to_keep=None) 362 checkpoint, directory, max_to_keep=None) 368 checkpoint, directory, max_to_keep=3) 389 checkpoint = util.Checkpoint() 391 checkpoint, directory, max_to_keep=2) 409 checkpoint, directory, 441 checkpoint, directory, [all …]
|
D | checkpoint_state.proto | 6 // Protocol buffer representing the checkpoint state. 8 // Path to the most-recent model checkpoint. 17 // when each checkpoint was created. 20 // checkpoint.
|
/external/tensorflow/tensorflow/core/util/ |
D | saved_tensor_slice.proto | 4 // A checkpoint file is an sstable. The value for each record is a serialized 7 // Each checkpoint file has a record with the empty key (""), which corresponds 12 // Each of the rest of the records in a checkpoint stores the raw data of a 33 // checkpoint file. 44 // Explicit list of slices saved in the checkpoint file. 48 // Metadata describing the set of tensor slices saved in a checkpoint file. 49 // It is always stored at the beginning of each checkpoint file. 54 // Compatibility version of this checkpoint. See core/public/version.h 75 // Each record in a v3 checkpoint file is a serialized SavedTensorSlices 78 // This is only present at the first item of each checkpoint file and serves [all …]
|
/external/tensorflow/tensorflow/core/protobuf/ |
D | saver.proto | 14 // restoring a model checkpoint. 17 // The operation to run when saving a model checkpoint. 20 // The operation to run when restoring a model checkpoint. 29 // How often to keep an additional checkpoint. If not specified, only the last 31 // the last "max_to_keep" checkpoints, an additional checkpoint will be kept 35 // A version number that identifies a different on-disk checkpoint format. 38 // upgraded to support a newer checkpoint format in the future.
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_RestoreV2.pbtxt | 6 Must have a single element. The prefix of a V2 checkpoint. 26 checkpoint directly. 33 those stored in the checkpoint. 36 summary: "Restores tensors from a V2 checkpoint." 39 restoring from a V1 checkpoint as well: 41 if found proceed to read it as a V2 checkpoint; 50 Callers must ensure all the named tensors are indeed stored in the checkpoint.
|
D | api_def_LoadAndRemapMatrix.pbtxt | 6 Path to the TensorFlow checkpoint (version 2, `TensorBundle`) from 13 Name of the 2-D `Tensor` to load from checkpoint. 37 in the output matrix that are not loaded from the checkpoint. Length must be 45 checkpoint, and with any missing values filled in from initializing_values. 63 The maximum number of rows to load from the checkpoint at 68 summary: "Loads a 2-D (matrix) `Tensor` with name `old_tensor_name` from the checkpoint" 81 `row_remapping[i]` in the old `Tensor` from the checkpoint. 85 `col_remapping[j]` in the old `Tensor` from the checkpoint. 98 the value from row i, column j of the old tensor in the checkpoint, the output
|
/external/tensorflow/tensorflow/core/kernels/ |
D | restore_op.cc | 34 preferred_shard_ = checkpoint::TensorSliceReader::kLoadAllShards; in RestoreOp() 43 RestoreTensor(context, &checkpoint::OpenTableTensorSliceReader, in Compute() 60 preferred_shard_ = checkpoint::TensorSliceReader::kLoadAllShards; in RestoreSliceOp() 69 RestoreTensor(context, &checkpoint::OpenTableTensorSliceReader, in Compute()
|
D | save_restore_tensor.cc | 42 checkpoint::TensorSliceWriter::CreateBuilderFunction builder_func, in SaveTensors() 84 checkpoint::TensorSliceWriter writer(filename_t.flat<tstring>()(0), in SaveTensors() 108 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice( in SaveTensors() 145 checkpoint::TensorSliceReader::OpenTableFunction open_func, in RestoreTensor() 162 std::unique_ptr<checkpoint::TensorSliceReader> allocated_reader; in RestoreTensor() 164 const checkpoint::TensorSliceReader* reader = nullptr; in RestoreTensor() 171 allocated_reader.reset(new checkpoint::TensorSliceReader( in RestoreTensor() 199 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice( in RestoreTensor() 289 checkpoint::ParseShapeAndSlice(shape_and_slice, &parsed_full_shape, in run()
|
/external/autotest/client/tests/selftest/ |
D | selftest.py | 16 def __mark(self, checkpoint): argument 29 logging.debug("checkpoint %d %d", current, checkpoint) 31 if (current != checkpoint): 33 "%d when %d expected" % (current, checkpoint))
|
/external/tensorflow/tensorflow/python/keras/protobuf/ |
D | projector_config.proto | 35 // model checkpoint. 39 // is assumed to be stored in the model checkpoint. 44 // Path to the checkpoint file. Use either this or model_checkpoint_dir. 47 // Path to the checkpoint directory. The directory will be scanned for the 48 // latest checkpoint file.
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | checkpoint_test.py | 307 checkpoint = trackable_utils.Checkpoint(iterator=iterator) 309 save_path = checkpoint.save(checkpoint_prefix) 312 checkpoint.restore(save_path).run_restore_ops() 332 checkpoint = trackable_utils.Checkpoint( 338 save_path = checkpoint.save(checkpoint_prefix) 342 checkpoint.restore(save_path).run_restore_ops() 354 checkpoint = trackable_utils.Checkpoint(iterator=iterator) 357 save_path = checkpoint.save(checkpoint_prefix) 359 checkpoint.restore(save_path).run_restore_ops() 361 save_path = checkpoint.save(checkpoint_prefix) [all …]
|
/external/llvm-project/clang/test/CodeGenObjC/ |
D | fragile-arc.m | 145 // CHECK: call void @checkpoint(i32 0) 148 // CHECK: call void @checkpoint(i32 3) 157 // CHECK: call void @checkpoint(i32 1) 163 // CHECK: call void @checkpoint(i32 2) 165 extern void checkpoint(int n); function 168 checkpoint(0); 170 checkpoint(1); 172 checkpoint(2); 174 checkpoint(3);
|
/external/clang/test/CodeGenObjC/ |
D | fragile-arc.m | 145 // CHECK: call void @checkpoint(i32 0) 148 // CHECK: call void @checkpoint(i32 3) 157 // CHECK: call void @checkpoint(i32 1) 163 // CHECK: call void @checkpoint(i32 2) 165 extern void checkpoint(int n); function 168 checkpoint(0); 170 checkpoint(1); 172 checkpoint(2); 174 checkpoint(3);
|
/external/rust/crates/grpcio-sys/grpc/third_party/upb/upb/pb/ |
D | decoder.c | 169 static void checkpoint(upb_pbdecoder *d) { in checkpoint() function 173 UPB_ASSERT(d->checkpoint != d->ptr); in checkpoint() 174 d->checkpoint = d->ptr; in checkpoint() 251 d->checkpoint = d->ptr; in upb_pbdecoder_resume() 258 checkpoint(d); in upb_pbdecoder_resume() 264 checkpoint(d); in upb_pbdecoder_resume() 274 if (d->checkpoint == d->residual) { in upb_pbdecoder_suspend() 279 size_t ret = d->size_param - (d->end - d->checkpoint); in upb_pbdecoder_suspend() 280 UPB_ASSERT(!in_residual_buf(d, d->checkpoint)); in upb_pbdecoder_suspend() 283 d->bufstart_ofs += (d->checkpoint - d->buf); in upb_pbdecoder_suspend() [all …]
|