/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
Canvas.kt | 27 val checkpoint = save() 31 restoreToCount(checkpoint) 44 val checkpoint = save() 49 restoreToCount(checkpoint) 63 val checkpoint = save() 68 restoreToCount(checkpoint) 83 val checkpoint = save() 88 restoreToCount(checkpoint) 101 val checkpoint = save() 106 restoreToCount(checkpoint) [all...] |
/external/perfetto/src/base/test/ |
test_task_runner.cc | 54 void TestTaskRunner::RunUntilCheckpoint(const std::string& checkpoint, 57 if (checkpoints_.count(checkpoint) == 0) { 58 fprintf(stderr, "[TestTaskRunner] Checkpoint \"%s\" does not exist.\n", 59 checkpoint.c_str()); 62 if (checkpoints_[checkpoint]) 66 [this, checkpoint] { 67 if (checkpoints_[checkpoint]) 69 fprintf(stderr, "[TestTaskRunner] Failed to reach checkpoint \"%s\"\n", 70 checkpoint.c_str()); 75 pending_checkpoint_ = checkpoint; [all...] |
test_task_runner.h | 54 std::function<void()> CreateCheckpoint(const std::string& checkpoint); 55 void RunUntilCheckpoint(const std::string& checkpoint,
|
/external/tensorflow/tensorflow/core/kernels/ |
save_restore_tensor.h | 26 // Legacy / V1 checkpoint format. 37 checkpoint::TensorSliceWriter::CreateBuilderFunction builder_func, 53 checkpoint::TensorSliceReader::OpenTableFunction open_func, 56 // V2 checkpoint format. 58 // Invokes the V2 checkpoint read path to read tensors.
|
restore_op.cc | 34 preferred_shard_ = checkpoint::TensorSliceReader::kLoadAllShards; 43 RestoreTensor(context, &checkpoint::OpenTableTensorSliceReader, 60 preferred_shard_ = checkpoint::TensorSliceReader::kLoadAllShards; 69 RestoreTensor(context, &checkpoint::OpenTableTensorSliceReader,
|
save_restore_tensor.cc | 40 checkpoint::TensorSliceWriter::CreateBuilderFunction builder_func, 82 checkpoint::TensorSliceWriter writer(filename_t.flat<string>()(0), 90 // checkpoint. 106 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice( 143 checkpoint::TensorSliceReader::OpenTableFunction open_func, 160 std::unique_ptr<checkpoint::TensorSliceReader> allocated_reader; 162 const checkpoint::TensorSliceReader* reader = 166 allocated_reader.reset(new checkpoint::TensorSliceReader( 178 "\" not found in checkpoint files ", file_pattern)); 193 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice [all...] |
save_op.cc | 34 SaveTensors(context, &checkpoint::CreateTableTensorSliceBuilder, false); 45 SaveTensors(context, &checkpoint::CreateTableTensorSliceBuilder, true);
|
/external/vixl/src/ |
pool-manager-impl.h | 63 // the alignment into account, which only makes the checkpoint calculations 116 // Recalculate the checkpoint before emitting the footer. The footer might 162 T PoolManager<T>::UpdateCheckpointForObject(T checkpoint, 164 checkpoint -= object->label_base_->GetPoolObjectSizeInBytes(); 165 if (checkpoint > object->max_location_) checkpoint = object->max_location_; 166 checkpoint = AlignDown(checkpoint, object->alignment_); 167 return checkpoint; 176 static inline bool CheckCurrentPC(T pc, T checkpoint) { 318 T checkpoint = MaxCheckpoint<T>(); local [all...] |
/external/tensorflow/tensorflow/contrib/util/ |
inspect_checkpoint.cc | 26 tensorflow::checkpoint::TensorSliceReader reader( 27 in, tensorflow::checkpoint::OpenTableTensorSliceReader); 30 fprintf(stderr, "Unable to open the checkpoint file\n");
|
/external/autotest/client/tests/selftest/ |
selftest.py | 16 def __mark(self, checkpoint): 29 logging.debug("checkpoint %d %d", current, checkpoint) 31 if (current != checkpoint): 33 "%d when %d expected" % (current, checkpoint))
|
/external/tensorflow/tensorflow/core/util/ |
saved_tensor_slice_util_test.cc | 25 namespace checkpoint { namespace in namespace:tensorflow 45 } // namespace checkpoint
|
tensor_slice_reader_cache.h | 31 namespace checkpoint { namespace in namespace:tensorflow 84 } // namespace checkpoint
|
tensor_slice_set.h | 38 namespace checkpoint { namespace in namespace:tensorflow 104 } // namespace checkpoint
|
/external/tensorflow/tensorflow/python/util/ |
py_checkpoint_reader.i | 27 %typemap(out) const tensorflow::checkpoint::TensorSliceReader::VarToShapeMap& { 71 %typemap(out) const tensorflow::checkpoint::TensorSliceReader::VarToDataTypeMap& { 105 tensorflow::checkpoint::CheckpointReader* reader, 124 tensorflow::checkpoint::CheckpointReader* reader, 131 %unignore tensorflow::checkpoint; 132 %unignore tensorflow::checkpoint::CheckpointReader; 133 %unignore tensorflow::checkpoint::CheckpointReader::CheckpointReader; 134 %unignore tensorflow::checkpoint::CheckpointReader::~CheckpointReader; 135 %rename("debug_string") tensorflow::checkpoint::CheckpointReader::DebugString; 136 %rename("get_variable_to_shape_map") tensorflow::checkpoint::CheckpointReader::GetVariableToShapeMap [all...] |
/external/tensorflow/tensorflow/python/training/ |
checkpointable.py | 86 def __init__(self, checkpoint, proto_id): 87 """Specify an object within a checkpoint. 90 checkpoint: A _Checkpoint object. 93 self._checkpoint = checkpoint 106 """Set a checkpoint<->object correspondence and process slot variables. 116 checkpoint = self.checkpoint 117 current_assignment = checkpoint.object_by_proto_id.get(self._proto_id, None) 119 checkpoint.object_by_proto_id[self._proto_id] = checkpointable 121 checkpoint.deferred_slot_restorations.pop(self._proto_id, ())) 189 def checkpoint(self): member in class:_CheckpointPosition [all...] |
/external/tensorflow/tensorflow/core/profiler/internal/ |
tfprof_stats.h | 57 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader); 60 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader); 112 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader_;
|
tfprof_tensor_test.cc | 46 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader( 47 new checkpoint::CheckpointReader(ckpt_path, status));
|
tfprof_graph.h | 45 explicit TFGraph(checkpoint::CheckpointReader* ckpt_reader)
|
tfprof_scope.h | 42 explicit TFScope(checkpoint::CheckpointReader* ckpt_reader)
|
tfprof_show.h | 42 explicit TFShow(checkpoint::CheckpointReader* ckpt_reader) 121 checkpoint::CheckpointReader* ckpt_reader_;
|
/external/tensorflow/tensorflow/c/ |
checkpoint_reader.h | 30 namespace checkpoint { namespace in namespace:tensorflow 35 // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for 79 } // namespace checkpoint
|
/external/perfetto/src/ipc/ |
unix_socket_unittest.cc | 84 auto checkpoint = task_runner_.CreateCheckpoint("failure"); local 86 .WillOnce(InvokeWithoutArgs(checkpoint)); 107 auto checkpoint = task_runner_.CreateCheckpoint("cli_connected"); local 110 .WillOnce(InvokeWithoutArgs(checkpoint)); 230 auto checkpoint = task_runner_.CreateCheckpoint(std::to_string(i)); local 232 .WillOnce(Invoke([checkpoint](UnixSocket* s) { 234 checkpoint(); 269 auto checkpoint = task_runner_.CreateCheckpoint("change_seen_by_server"); local 272 [this, tmp_fd, checkpoint, mem](UnixSocket*, UnixSocket* new_conn) { 277 .WillOnce(Invoke([checkpoint, mem](UnixSocket* s) 293 auto checkpoint = task_runner_.CreateCheckpoint("change_seen_by_client"); local [all...] |
/system/vold/bench/ |
benchgen.py | 168 static status_t BenchmarkRun(std::function<bool(int)> checkpoint) { 185 print >>bench, "if (!checkpoint(%d)) return -1;" % (50 + ((i * 50) / total)) 308 static status_t BenchmarkCreate(std::function<bool(int)> checkpoint) { 317 print >>bench, "if (!checkpoint(%d)) return -1;" % ((i * 50) / total)
|
/toolchain/binutils/binutils-2.27/gold/ |
dwarf_reader.h | 76 // Checkpoint the current position in the reloc section. 78 checkpoint() const function in class:gold::Elf_reloc_mapper 81 // Reset the current position to the CHECKPOINT. 83 reset(uint64_t checkpoint) 84 { this->do_reset(checkpoint); } 101 // Checkpoint the current position in the reloc section. 105 // Reset the current position to the CHECKPOINT. 107 do_reset(uint64_t checkpoint) = 0; 137 // Checkpoint the current position in the reloc section. 140 { return this->track_relocs_.checkpoint(); } [all...] |
/external/tensorflow/tensorflow/contrib/eager/python/ |
checkpointable_utils.py | 40 # Keyword for identifying that the next bit of a checkpoint variable name is a 41 # slot name. Checkpoint names for slot variables look like: 45 # Where <path to variable> is a full path from the checkpoint root to the 49 # attribute in checkpoint names. Used like: 139 # where <variable name> is exactly the checkpoint name used for the original 140 # variable, including the path from the checkpoint root and the local name in 237 """Determine checkpoint keys for variables and build a serialized graph. 289 """Save a training checkpoint. 292 file_prefix: A prefix to use for the checkpoint filenames 295 root_checkpointable: A Checkpointable object to save. The checkpoint [all...] |