Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/python/training/
Dcheckpoint_management.py220 ckpt = generate_checkpoint_state_proto(
227 ckpt = generate_checkpoint_state_proto(
234 if coord_checkpoint_filename == ckpt.model_checkpoint_path:
242 text_format.MessageToString(ckpt))
264 ckpt = None
274 ckpt = CheckpointState()
275 text_format.Merge(file_content, ckpt)
276 if not ckpt.model_checkpoint_path:
281 if not os.path.isabs(ckpt.model_checkpoint_path):
282 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.py209 ckpt = checkpoint_management.get_checkpoint_state(checkpoint_dir)
210 while not ckpt or not ckpt.model_checkpoint_path:
215 ckpt = checkpoint_management.get_checkpoint_state(checkpoint_dir)
220 saver.restore(sess, ckpt.model_checkpoint_path)
221 saver.recover_last_checkpoints(ckpt.all_model_checkpoint_paths)
/external/f2fs-tools/fsck/
Df2fs.h167 struct f2fs_checkpoint *ckpt; member
207 return (struct f2fs_checkpoint *)(sbi->ckpt); in F2FS_CKPT()
251 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_size() local
255 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
257 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
269 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in __bitmap_ptr() local
272 if (is_set_ckpt_flags(ckpt, CP_LARGE_NAT_BITMAP_FLAG)) { in __bitmap_ptr()
274 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
275 return &ckpt->sit_nat_version_bitmap + offset; in __bitmap_ptr()
280 return &ckpt->sit_nat_version_bitmap; in __bitmap_ptr()
[all …]
Dmain.c577 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_fsck() local
578 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_fsck()
643 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in do_dump() local
644 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()
850 if (sbi->ckpt) in main()
851 free(sbi->ckpt); in main()
Dmount.c851 sbi->ckpt = malloc(cp_blks * blk_size); in get_valid_checkpoint()
852 if (!sbi->ckpt) in get_valid_checkpoint()
888 memcpy(sbi->ckpt, cur_page, blk_size); in get_valid_checkpoint()
900 unsigned char *ckpt = (unsigned char *)sbi->ckpt; in get_valid_checkpoint() local
903 memcpy(ckpt + i * blk_size, cur_page, blk_size); in get_valid_checkpoint()
913 free(sbi->ckpt); in get_valid_checkpoint()
914 sbi->ckpt = NULL; in get_valid_checkpoint()
1982 if (le32_to_cpu(sbi->ckpt->cur_node_segno[0]) == segno || in build_sit_area_bitmap()
1983 le32_to_cpu(sbi->ckpt->cur_data_segno[0]) == segno || in build_sit_area_bitmap()
1984 le32_to_cpu(sbi->ckpt->cur_node_segno[1]) == segno || in build_sit_area_bitmap()
[all …]
Dnode.c63 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in new_node_block() local
77 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in new_node_block()
Ddir.c410 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); in init_inode_block() local
469 node_blk->footer.cp_ver = ckpt->checkpoint_ver; in init_inode_block()
/external/tensorflow/tensorflow/python/compiler/tensorrt/test/testdata/
Dcheckpoint1 model_checkpoint_path: "model.ckpt-46900"
2 all_model_checkpoint_paths: "model.ckpt-0"
3 all_model_checkpoint_paths: "model.ckpt-46900"
/external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
Dcifar10_eval.py60 ckpt = tf.train.get_checkpoint_state(FLAGS.checkpoint_dir)
61 if ckpt and ckpt.model_checkpoint_path:
63 saver.restore(sess, ckpt.model_checkpoint_path)
67 global_step = ckpt.model_checkpoint_path.split('/')[-1].split('-')[-1]
/external/tensorflow/tensorflow/core/profiler/internal/
DBUILD205 "testdata/ckpt.data-00000-of-00001",
206 "testdata/ckpt.index",
207 "testdata/ckpt.meta",
290 "testdata/ckpt.data-00000-of-00001",
291 "testdata/ckpt.index",
292 "testdata/ckpt.meta",
328 "testdata/ckpt.data-00000-of-00001",
329 "testdata/ckpt.index",
330 "testdata/ckpt.meta",
/external/openssh/regress/
Dkeygen-moduli.sh11 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt
18 rm -f $OBJ/moduli.out $OBJ/moduli.ckpt
/external/tensorflow/tensorflow/compiler/aot/tests/
DBUILD61 "test_graph_tfadd_with_ckpt.ckpt",
63 "test_graph_tfadd_with_ckpt_saver.ckpt",
108 freeze_checkpoint = "test_graph_tfadd_with_ckpt.ckpt",
120 freeze_checkpoint = "test_graph_tfadd_with_ckpt_saver.ckpt",
Dmake_test_graphs.py59 ckpt = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt.ckpt')
60 saver.save(sess, ckpt)
/external/tensorflow/tensorflow/contrib/eager/python/examples/revnet/
Dmain_estimator_tpu.py234 for ckpt in evaluation.checkpoints_iterator(
242 checkpoint_path=ckpt)
248 current_step = int(os.path.basename(ckpt).split("-")[1])
260 "Checkpoint %s no longer exists, skipping checkpoint" % ckpt)
/external/tensorflow/tensorflow/python/feature_column/
DBUILD93 "testdata/embedding.ckpt.data-00000-of-00001",
94 "testdata/embedding.ckpt.index",
95 "testdata/embedding.ckpt.meta",
/external/tensorflow/tensorflow/python/compiler/tensorrt/
DBUILD156 "test/testdata/model.ckpt-46900.data-00000-of-00001",
157 "test/testdata/model.ckpt-46900.index",
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.train.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
Dtensorflow.estimator.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
Dtensorflow.train.-supervisor.pbtxt107 …\'None\', \'0\', \'0\', \'0\', \'120\', \'600\', \'30\', \'120\', \'model.ckpt\', \'None\', \'0\',…
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.estimator.-checkpoint-saver-hook.pbtxt8 …args=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'model.ckpt\', \'None\', \'None…
/external/tensorflow/tensorflow/lite/java/demo/app/
Dbuild.gradle103 include "*.ckpt.*"
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Destimator_test.py715 ckpt = checkpoint_state_pb2.CheckpointState()
716 text_format.Merge(checkpoint_file_content, ckpt)
717 self.assertEqual(ckpt.model_checkpoint_path, 'model.ckpt-5')
721 ckpt.all_model_checkpoint_paths)
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dget_started.md101 * *checkpoint* (.ckpt) — Serialized variables from a TensorFlow graph. Since
118 --input_checkpoint=/tmp/checkpoints/mobilenet-10202.ckpt \
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
DREADME.md90 --start_checkpoint=/tmp/speech_commands_train/tiny_conv.ckpt-18000

12