Home
last modified time | relevance | path

Searched refs:ckpt (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/python/training/
Dcheckpoint_management.py226 ckpt = generate_checkpoint_state_proto(
233 ckpt = generate_checkpoint_state_proto(
240 if coord_checkpoint_filename == ckpt.model_checkpoint_path:
248 text_format.MessageToString(ckpt))
270 ckpt = None
280 ckpt = CheckpointState()
281 text_format.Merge(file_content, ckpt)
282 if not ckpt.model_checkpoint_path:
287 if not os.path.isabs(ckpt.model_checkpoint_path):
288 ckpt.model_checkpoint_path = os.path.join(checkpoint_dir,
[all …]
Dcheckpoint_management_test.py160 ckpt = checkpoint_management.generate_checkpoint_state_proto(
162 self.assertEqual(ckpt.model_checkpoint_path, abs_path)
163 self.assertTrue(os.path.isabs(ckpt.model_checkpoint_path))
164 self.assertEqual(len(ckpt.all_model_checkpoint_paths), 1)
165 self.assertEqual(ckpt.all_model_checkpoint_paths[-1], abs_path)
172 ckpt = checkpoint_management.generate_checkpoint_state_proto(
174 self.assertEqual(ckpt.model_checkpoint_path, new_rel_path)
175 self.assertEqual(len(ckpt.all_model_checkpoint_paths), 1)
176 self.assertEqual(ckpt.all_model_checkpoint_paths[-1], new_rel_path)
182 ckpt = checkpoint_management.generate_checkpoint_state_proto(
[all …]
Dsession_manager.py214 ckpt = checkpoint_management.get_checkpoint_state(checkpoint_dir)
215 while not ckpt or not ckpt.model_checkpoint_path:
220 ckpt = checkpoint_management.get_checkpoint_state(checkpoint_dir)
225 saver.restore(sess, ckpt.model_checkpoint_path)
226 saver.recover_last_checkpoints(ckpt.all_model_checkpoint_paths)
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/testdata/mnist/
Dcheckpoint1 model_checkpoint_path: "model.ckpt-46900"
2 all_model_checkpoint_paths: "model.ckpt-0"
3 all_model_checkpoint_paths: "model.ckpt-46900"
/external/f2fs-tools/fsck/
Df2fs.h250 struct f2fs_checkpoint *ckpt; member
298 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
353 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
357 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
359 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
371 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local
374 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()
378 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
380 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr()
384 return &ckpt->sit_nat_version_bitmap + offset + chksum_size; in __bitmap_ptr()
[all …]
Dnode.h141 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in is_recoverable_dnode() local
142 __u64 cp_ver = cur_cp_version(ckpt); in is_recoverable_dnode()
145 if (is_set_ckpt_flags(ckpt, CP_NOCRC_RECOVERY_FLAG)) in is_recoverable_dnode()
148 if (is_set_ckpt_flags(ckpt, CP_CRC_RECOVERY_FLAG)) in is_recoverable_dnode()
149 cp_ver |= (cur_cp_crc(ckpt) << 32); in is_recoverable_dnode()
Dmain.c811 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local
812 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()
888 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local
889 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()
1215 if (sbi->ckpt) in main()
1216 free(sbi->ckpt); in main()
Dnode.c67 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local
82 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
Dmount.c1152 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()
1153 if (!sbi->ckpt) in get_valid_checkpoint()
1189 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()
1201 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local
1204 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()
1214 free(sbi->ckpt); in get_valid_checkpoint()
1215 sbi->ckpt = NULL; in get_valid_checkpoint()
2445 if (le32_to_cpu(sbi->ckpt->cur_node_segno[0]) == segno || in build_sit_area_bitmap()
2446 le32_to_cpu(sbi->ckpt->cur_data_segno[0]) == segno || in build_sit_area_bitmap()
2447 le32_to_cpu(sbi->ckpt->cur_node_segno[1]) == segno || in build_sit_area_bitmap()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/testdata/
DBUILD13 "ckpt.data-00000-of-00001",
14 "ckpt.index",
15 "ckpt.meta",
/external/tensorflow/tensorflow/python/keras/mixed_precision/testdata/lso_ckpt_tf2.2/
Dcheckpoint1 model_checkpoint_path: "ckpt"
2 all_model_checkpoint_paths: "ckpt"
/external/openssh/regress/
Dkeygen-moduli.sh19 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt
27 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt
/external/tensorflow/tensorflow/compiler/aot/tests/
DBUILD96 "test_graph_tfadd_with_ckpt.ckpt",
98 "test_graph_tfadd_with_ckpt_saver.ckpt",
145 freeze_checkpoint = "test_graph_tfadd_with_ckpt.ckpt",
158 freeze_checkpoint = "test_graph_tfadd_with_ckpt_saver.ckpt",
367 freeze_checkpoint = "test_graph_tfadd_with_ckpt.ckpt",
380 freeze_checkpoint = "test_graph_tfadd_with_ckpt_saver.ckpt",
Dmake_test_graphs.py65 ckpt = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt.ckpt')
66 saver.save(sess, ckpt)
/external/tensorflow/tensorflow/python/feature_column/
DBUILD103 "testdata/embedding.ckpt.data-00000-of-00001",
104 "testdata/embedding.ckpt.index",
105 "testdata/embedding.ckpt.meta",
/external/tensorflow/tensorflow/python/training/tracking/
Dutil_test.py254 ckpt = trackable_utils.Checkpoint(v=v)
255 self.evaluate(trackable_utils.gather_initializers(ckpt))
256 save_path = ckpt.save(file_prefix=prefix)
257 status = ckpt.restore(save_path=save_path)
258 del ckpt
269 ckpt = trackable_utils.Checkpoint(v=v)
270 self.evaluate(trackable_utils.gather_initializers(ckpt))
271 save_path = ckpt.save(file_prefix=prefix, options=options)
272 status = ckpt.restore(save_path=save_path, options=options)
273 del ckpt
/external/tensorflow/tensorflow/python/distribute/
Dvars_test.py418 ckpt = trackable_utils.Checkpoint(var=v_on_write)
420 ckpt, "/tmp/ckpt_" + str(uuid.uuid4()), max_to_keep=None)
423 ckpt.restore(manager.latest_checkpoint)
436 ckpt = trackable_utils.Checkpoint(var=v_normal_save)
438 ckpt, "/tmp/ckptckpt_" + str(uuid.uuid4()), max_to_keep=None)
1104 ckpt = trackable_utils.Checkpoint(var=v_on_read)
1106 ckpt, "/tmp/ckpt_" + str(uuid.uuid4()), max_to_keep=None)
1109 ckpt.restore(manager.latest_checkpoint)
1121 ckpt = trackable_utils.Checkpoint(var=v_normal_save)
1123 ckpt, "/tmp/ckpt_" + str(uuid.uuid4()), max_to_keep=None)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.train.-checkpoint-manager.pbtxt27 …erval\', \'init_fn\'], varargs=None, keywords=None, defaults=[\'None\', \'ckpt\', \'None\', \'None…
Dtensorflow.estimator.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-checkpoint-manager.pbtxt27 …erval\', \'init_fn\'], varargs=None, keywords=None, defaults=[\'None\', \'ckpt\', \'None\', \'None…
Dtensorflow.estimator.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
Dtensorflow.train.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
/external/tensorflow/tensorflow/python/compiler/tensorrt/
DBUILD176 "test/testdata/mnist/model.ckpt-46900.data-00000-of-00001",
177 "test/testdata/mnist/model.ckpt-46900.index",
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dshuffle_test.py364 ckpt = trackable_utils.Checkpoint(iterator=iterator)
366 ckpt, self.get_temp_dir(), max_to_keep=1)
368 ckpt.restore(manager.latest_checkpoint)
Dcheckpoint_test.py387 ckpt = trackable_utils.Checkpoint(
390 ckpt, self.get_temp_dir(), max_to_keep=3)
397 ckpt.restore(manager.latest_checkpoint)
405 ckpt = trackable_utils.Checkpoint(
408 ckpt, self.get_temp_dir(), max_to_keep=3)

12