Home
last modified time | relevance | path

Searched refs:ckpt_reader (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dsparsify_gather.cc156 const string& tensor_name, const std::unique_ptr<BundleReader>& ckpt_reader, in ReadTensorFromCheckpoint() argument
158 if (ckpt_reader) { in ReadTensorFromCheckpoint()
171 TF_RETURN_IF_ERROR(ckpt_reader->LookupSlice( in ReadTensorFromCheckpoint()
175 ckpt_reader->Lookup(GetMonolithicTensorKey(tensor_name), tensor)); in ReadTensorFromCheckpoint()
183 std::unique_ptr<BundleReader>* ckpt_reader) { in InitializeCheckpointReader() argument
186 ckpt_reader->reset(new BundleReader(Env::Default(), input_checkpoint)); in InitializeCheckpointReader()
187 TF_RETURN_IF_ERROR((*ckpt_reader)->status()); in InitializeCheckpointReader()
227 const std::unique_ptr<BundleReader>& ckpt_reader, in SparsifyGatherInternal() argument
256 [&ckpt_reader, &any_match_found, &init_table_node_names, in SparsifyGatherInternal()
340 weights_node.name(), ckpt_reader, in SparsifyGatherInternal()
[all …]
Dsparsify_gather_test.cc36 const string& tensor_name, const std::unique_ptr<BundleReader>& ckpt_reader,
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_scope.h41 explicit TFScope(checkpoint::CheckpointReader* ckpt_reader) in TFScope() argument
42 : TFShow(ckpt_reader), root_(nullptr) {} in TFScope()
Dtfprof_tensor_test.cc43 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader( in TFProfTensorTest() local
49 std::move(op_log_pb), std::move(ckpt_reader))); in TFProfTensorTest()
Dtfprof_graph.h43 explicit TFGraph(checkpoint::CheckpointReader* ckpt_reader) in TFGraph() argument
44 : TFShow(ckpt_reader), root_(nullptr) {} in TFGraph()
Dtfprof_stats.h56 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader);
59 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader);
Dtfprof_stats.cc54 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader) in TFStats() argument
57 ckpt_reader_(std::move(ckpt_reader)) { in TFStats()
77 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader) in TFStats() argument
80 ckpt_reader_(std::move(ckpt_reader)) { in TFStats()
Dtfprof_show_test.cc65 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader( in TFProfShowTest() local
71 std::move(op_log_pb), std::move(ckpt_reader))); in TFProfShowTest()
Dtfprof_stats_test.cc58 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader( in TFProfStatsTest() local
64 std::move(op_log_pb), std::move(ckpt_reader))); in TFProfStatsTest()
Dtfprof_show.h40 explicit TFShow(checkpoint::CheckpointReader* ckpt_reader) in TFShow() argument
41 : ckpt_reader_(ckpt_reader) {} in TFShow()
Dprint_model_analysis.cc196 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader; in PrintModelAnalysis() local
199 std::move(op_log_ptr), std::move(ckpt_reader)); in PrintModelAnalysis()
/external/tensorflow/tensorflow/core/profiler/
Dprofiler.cc184 std::unique_ptr<checkpoint::CheckpointReader> ckpt_reader; in Run() local
187 ckpt_reader.reset( in Run()
199 tf_stat.reset(new TFStats(FLAGS_profile_path, std::move(ckpt_reader))); in Run()
227 std::move(ckpt_reader))); in Run()