Home
last modified time | relevance | path

Searched refs:checkpoint (Results 1 – 25 of 162) sorted by relevance

1234567

/external/vixl/src/
Dpool-manager-impl.h162 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/tensorflow/tensorflow/python/training/
Dcheckpointable.py86 def __init__(self, checkpoint, proto_id): argument
93 self._checkpoint = checkpoint
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, ())):
124 checkpoint=checkpoint,
128 for slot_restoration in checkpoint.slot_restorations.pop(
130 optimizer_object = checkpoint.object_by_proto_id.get(
135 checkpoint.deferred_slot_restorations.setdefault(
[all …]
Dcheckpoint_state.proto6 // Protocol buffer representing the checkpoint state.
10 // Path to the most-recent model checkpoint.
/external/perfetto/src/base/test/
Dtest_task_runner.cc54 void TestTaskRunner::RunUntilCheckpoint(const std::string& checkpoint, in RunUntilCheckpoint() argument
57 if (checkpoints_.count(checkpoint) == 0) { in RunUntilCheckpoint()
59 checkpoint.c_str()); in RunUntilCheckpoint()
62 if (checkpoints_[checkpoint]) in RunUntilCheckpoint()
66 [this, checkpoint] { in RunUntilCheckpoint()
67 if (checkpoints_[checkpoint]) in RunUntilCheckpoint()
70 checkpoint.c_str()); in RunUntilCheckpoint()
75 pending_checkpoint_ = checkpoint; in RunUntilCheckpoint()
80 const std::string& checkpoint) { in CreateCheckpoint() argument
82 PERFETTO_DCHECK(checkpoints_.count(checkpoint) == 0); in CreateCheckpoint()
[all …]
Dtest_task_runner.h54 std::function<void()> CreateCheckpoint(const std::string& checkpoint);
55 void RunUntilCheckpoint(const std::string& checkpoint,
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader.i27 %typemap(out) const tensorflow::checkpoint::TensorSliceReader::VarToShapeMap& {
71 %typemap(out) const tensorflow::checkpoint::TensorSliceReader::VarToDataTypeMap& {
105 tensorflow::checkpoint::CheckpointReader* reader, in CheckpointReader_GetTensor()
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::GetVariableToShapeMa…
[all …]
/external/tensorflow/tensorflow/core/util/
Dsaved_tensor_slice.proto4 // 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/
Dsaver.proto12 // restoring a model checkpoint.
15 // The operation to run when saving a model checkpoint.
18 // The operation to run when restoring a model checkpoint.
27 // How often to keep an additional checkpoint. If not specified, only the last
29 // the last "max_to_keep" checkpoints, an additional checkpoint will be kept
33 // A version number that identifies a different on-disk checkpoint format.
36 // upgraded to support a newer checkpoint format in the future.
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_RestoreV2.pbtxt6 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.
Dapi_def_LoadAndRemapMatrix.pbtxt6 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/
Dsave_restore_tensor.cc40 checkpoint::TensorSliceWriter::CreateBuilderFunction builder_func, in SaveTensors()
82 checkpoint::TensorSliceWriter writer(filename_t.flat<string>()(0), in SaveTensors()
106 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice( in SaveTensors()
143 checkpoint::TensorSliceReader::OpenTableFunction open_func, in RestoreTensor()
160 std::unique_ptr<checkpoint::TensorSliceReader> allocated_reader; in RestoreTensor()
162 const checkpoint::TensorSliceReader* reader = in RestoreTensor()
166 allocated_reader.reset(new checkpoint::TensorSliceReader( in RestoreTensor()
193 OP_REQUIRES_OK(context, checkpoint::ParseShapeAndSlice( in RestoreTensor()
273 checkpoint::ParseShapeAndSlice(shape_and_slice, &parsed_full_shape, in RestoreTensorsV2()
Drestore_op.cc34 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()
Dsave_restore_tensor.h37 checkpoint::TensorSliceWriter::CreateBuilderFunction builder_func,
53 checkpoint::TensorSliceReader::OpenTableFunction open_func,
/external/perfetto/src/ipc/
Dunix_socket_unittest.cc84 auto checkpoint = task_runner_.CreateCheckpoint("failure"); in TEST_F() local
86 .WillOnce(InvokeWithoutArgs(checkpoint)); in TEST_F()
107 auto checkpoint = task_runner_.CreateCheckpoint("cli_connected"); in TEST_F() local
110 .WillOnce(InvokeWithoutArgs(checkpoint)); in TEST_F()
230 auto checkpoint = task_runner_.CreateCheckpoint(std::to_string(i)); in TEST_F() local
232 .WillOnce(Invoke([checkpoint](UnixSocket* s) { in TEST_F()
234 checkpoint(); in TEST_F()
269 auto checkpoint = task_runner_.CreateCheckpoint("change_seen_by_server"); in TEST_F() local
272 [this, tmp_fd, checkpoint, mem](UnixSocket*, UnixSocket* new_conn) { in TEST_F()
277 .WillOnce(Invoke([checkpoint, mem](UnixSocket* s) { in TEST_F()
[all …]
/external/tensorflow/tensorflow/contrib/tensorboard/plugins/projector/
Dprojector_config.proto31 // model checkpoint.
35 // is assumed to be stored in the model checkpoint.
40 // Path to the checkpoint file. Use either this or model_checkpoint_dir.
43 // Path to the checkpoint directory. The directory will be scanned for the
44 // latest checkpoint file.
/external/tensorflow/tensorflow/docs_src/get_started/
Dcheckpoints.md78 checkpoint
93 ### Default checkpoint directory
96 writes checkpoint files to a temporary directory chosen by Python's
121 [checkpoints](https://developers.google.com/machine-learning/glossary/#checkpoint)
124 * Writes a checkpoint every 10 minutes (600 seconds).
125 * Writes a checkpoint when the `train` method starts (first iteration)
156 checkpoint to the `model_dir`. Each subsequent call to the Estimator's
164 stored in the most recent checkpoint.
180 Restoring a model's state from a checkpoint only works if the model
181 and checkpoint are compatible. For example, suppose you trained a
[all …]
/external/autotest/client/tests/selftest/
Dselftest.py16 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/clang/test/CodeGenObjC/
Dfragile-arc.m145 // 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/tensorflow/tensorflow/contrib/eager/python/
Dcheckpointable_utils.py334 def __init__(self, checkpoint): argument
335 self._checkpoint = checkpoint
429 checkpoint = core_checkpointable._Checkpoint( # pylint: disable=protected-access
433 checkpoint=checkpoint, proto_id=0).restore(root_checkpointable)
434 load_status = CheckpointLoadStatus(checkpoint)
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_stats.h57 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader);
60 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader);
112 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader_;
/external/tensorflow/tensorflow/contrib/lookup/
Dlookup_ops.py313 checkpoint=True): argument
343 use_node_name_sharing = checkpoint and shared_name is None
365 if checkpoint:
519 checkpoint=True): argument
552 use_node_name_sharing = checkpoint and shared_name is None
567 if checkpoint:
/external/tensorflow/tensorflow/contrib/eager/proto/
Dcheckpointable_object_graph.proto8 // variables, allowing for more robust checkpoint loading into modified
28 // object-based API. Should match the checkpoint key which would have been
31 // The generated name of the Tensor in the checkpoint.
/external/autotest/client/bin/self-test/tests/
D080-sequencer-out1 checkpoint 1 1
4 checkpoint 2 3
/external/tensorflow/tensorflow/contrib/util/
Dinspect_checkpoint.cc26 tensorflow::checkpoint::TensorSliceReader reader( in InspectCheckpoint()
27 in, tensorflow::checkpoint::OpenTableTensorSliceReader); in InspectCheckpoint()
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py131 self._plog.checkpoint(name, start_time)
139 self._plog.checkpoint(name, start_time)
151 self._plog.checkpoint(name, start_time)
161 self._plog.checkpoint(name, start_time)
412 self._plog.checkpoint('backlight_%03d' % i, start_time)

1234567