HomeSort by relevance Sort by last modified time
    Searched refs:ckpt (Results 1 - 12 of 12) sorted by null

  /external/tensorflow/tensorflow/contrib/model_pruning/examples/cifar10/
cifar10_eval.py 60 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)
65 # /my-favorite-path/cifar10_train/model.ckpt-0,
67 global_step = ckpt.model_checkpoint_path.split('/')[-1].split('-')[-1]
  /external/f2fs-tools/fsck/
f2fs.h 167 struct f2fs_checkpoint *ckpt; member in struct:f2fs_sb_info
207 return (struct f2fs_checkpoint *)(sbi->ckpt);
245 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
249 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize);
251 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize);
258 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
262 return &ckpt->sit_nat_version_bitmap;
264 return ((char *)ckpt + F2FS_BLKSIZE);
267 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0;
268 return &ckpt->sit_nat_version_bitmap + offset
    [all...]
main.c 512 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
513 u32 flag = le32_to_cpu(ckpt->ckpt_flags);
576 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
577 u32 flag = le32_to_cpu(ckpt->ckpt_flags);
791 if (sbi->ckpt)
792 free(sbi->ckpt);
node.c 63 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
77 node_blk->footer.cp_ver = ckpt->checkpoint_ver;
mount.c 794 sbi->ckpt = malloc(cp_blks * blk_size);
795 if (!sbi->ckpt)
829 MSG(0, "Info: CKPT version = %llx\n", version);
831 memcpy(sbi->ckpt, cur_page, blk_size);
843 unsigned char *ckpt = (unsigned char *)sbi->ckpt; local
846 memcpy(ckpt + i * blk_size, cur_page, blk_size);
856 free(sbi->ckpt);
857 sbi->ckpt = NULL;
    [all...]
dir.c 393 struct f2fs_checkpoint *ckpt = F2FS_CKPT(sbi); local
449 node_blk->footer.cp_ver = ckpt->checkpoint_ver;
  /external/tensorflow/tensorflow/python/training/
session_manager.py 196 ckpt = saver_mod.get_checkpoint_state(checkpoint_dir)
197 while not ckpt or not ckpt.model_checkpoint_path:
202 ckpt = saver_mod.get_checkpoint_state(checkpoint_dir)
207 saver.restore(sess, ckpt.model_checkpoint_path)
208 saver.recover_last_checkpoints(ckpt.all_model_checkpoint_paths)
saver.py 239 # of a V2 checkpoint: e.g. "/fs/train/ckpt-<step>/tmp/worker<i>-<step>".
    [all...]
saver_test.py 183 ckpt_prefix = os.path.join(self.get_temp_dir(), "ckpt")
    [all...]
  /external/tensorflow/tensorflow/compiler/aot/tests/
make_test_graphs.py 57 ckpt = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt.ckpt')
58 saver.save(sess, ckpt)
72 ckpt_file = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt_saver.ckpt')
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
estimator_test.py 715 ckpt = checkpoint_state_pb2.CheckpointState()
716 text_format.Merge(checkpoint_file_content, ckpt)
717 self.assertEqual(ckpt.model_checkpoint_path, 'model.ckpt-5')
718 self.assertAllEqual(['model.ckpt-1', 'model.ckpt-5'],
719 ckpt.all_model_checkpoint_paths)
    [all...]
  /external/tensorflow/tensorflow/python/estimator/
estimator_test.py 678 ckpt = checkpoint_state_pb2.CheckpointState()
679 text_format.Merge(checkpoint_file_content, ckpt)
680 self.assertEqual(ckpt.model_checkpoint_path, 'model.ckpt-5')
682 ['model.ckpt-1', 'model.ckpt-5'], ckpt.all_model_checkpoint_paths)
    [all...]

Completed in 1589 milliseconds