Home
last modified time | relevance | path

Searched refs:TFGraphNode (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_stats.cc97 std::unique_ptr<TFGraphNode> node( in TFStats()
98 new TFGraphNode(node_pb.second, profile, &id_to_string_, &nodes_map_)); in TFStats()
99 nodes_map_.insert(std::pair<string, std::unique_ptr<TFGraphNode>>( in TFStats()
203 nodes_map_[node.name()] = std::unique_ptr<TFGraphNode>( in AddGraph()
204 new TFGraphNode(&node, num_nodes, &nodes_map_)); in AddGraph()
208 TFGraphNode* node = nodes_map_.at(it->first).get(); in AddGraph()
298 nodes_map_[name] = std::unique_ptr<TFGraphNode>( in AddRunMeta()
299 new TFGraphNode(&def, num_nodes, &nodes_map_)); in AddRunMeta()
370 void TFStats::AddNodeForTest(int64_t step, std::unique_ptr<TFGraphNode> node) { in AddNodeForTest()
Dtfprof_node.h42 class TFGraphNode; variable
307 class TFGraphNode {
309 TFGraphNode(const ProfileNode& node, const ProfileProto& profile, in TFGraphNode() function
311 const std::map<string, std::unique_ptr<TFGraphNode>>* nodes_map) { in TFGraphNode()
316 TFGraphNode(const NodeDef* node, int64_t id, in TFGraphNode() function
317 const std::map<string, std::unique_ptr<TFGraphNode>>* nodes_map) { in TFGraphNode()
382 const std::map<string, std::unique_ptr<TFGraphNode>>& nodes_map) { in ToProto()
715 const TFGraphNode* input_node = input_it->second.get(); in input_shapes()
731 const std::map<string, std::unique_ptr<TFGraphNode>>* nodes_map_;
793 std::vector<const TFGraphNode*> nodes = pick_nodes(type_regexes); in SnapshotNodes()
[all …]
Dtfprof_node_show.h43 explicit ShowNode(const TFGraphNode* node);
58 const TFGraphNode* node;
68 explicit GraphNode(TFGraphNode* node) : ShowNode(node) {} in GraphNode()
78 explicit ScopeNode(const TFGraphNode* node) : ShowNode(node) {} in ScopeNode()
Dtfprof_code.h59 void AddNode(TFGraphNode* node) override;
90 std::map<string, std::vector<TFGraphNode*>> grad_nodes_;
91 std::map<string, TFGraphNode*> forward_nodes_;
Dtfprof_stats.h63 const std::map<string, std::unique_ptr<TFGraphNode>>& nodes() const { in nodes()
98 void AddNodeForTest(int64_t step, std::unique_ptr<TFGraphNode> node);
115 std::map<string, std::unique_ptr<TFGraphNode>> nodes_map_;
Dtfprof_scope.h45 void AddNode(TFGraphNode* node) override;
70 std::map<string, std::unique_ptr<TFGraphNode>> parent_nodes_;
Dtfprof_graph.h47 void AddNode(TFGraphNode* node) override;
80 std::map<string, std::unique_ptr<TFGraphNode>> parent_nodes_;
Dtfprof_scope.cc36 parent_nodes_[name] = std::unique_ptr<TFGraphNode>( in CreateParentNode()
37 new TFGraphNode(node_defs_.back().get(), -1, nullptr)); in CreateParentNode()
43 void TFScope::AddNode(TFGraphNode* node) { in AddNode()
Dtfprof_graph.cc33 parent_nodes_[name] = std::unique_ptr<TFGraphNode>( in CreateParentNode()
34 new TFGraphNode(node_defs_.back().get(), -1, nullptr)); in CreateParentNode()
40 void TFGraph::AddNode(TFGraphNode* node) { in AddNode()
Dtfprof_op.h45 void AddNode(TFGraphNode* node) override;
Dtfprof_code.cc191 const TFGraphNode* gn = gn_it.second; in Add()
392 void TFCode::AddNode(TFGraphNode* node) { in AddNode()
406 std::pair<string, std::vector<TFGraphNode*>>(forward_name, {node})); in AddNode()
445 TFGraphNode* fn = forward_it->second; in Build()
458 for (TFGraphNode* gn : it.second) { in Build()
Dtfprof_show_multi.h43 virtual void AddNode(TFGraphNode* node) = 0;
Dtfprof_show.h43 virtual void AddNode(TFGraphNode* node) = 0;
Dtfprof_node.cc191 void TFGraphNode::AddStepStat(int64_t step, const string& device, in AddStepStat()
Dtfprof_node_show.cc21 ShowNode::ShowNode(const TFGraphNode* node) : node(node), account(false) { in ShowNode()
Dtfprof_op.cc81 void TFOp::AddNode(TFGraphNode* node) { in AddNode()
Dtfprof_timeline.cc180 const TFGraphNode* node = gnode->node; in AllocateTimeNodes()
/external/tensorflow/tensorflow/core/profiler/internal/advisor/
Dtfprof_advisor_test.cc38 std::unique_ptr<TFGraphNode> CreateNode(const string& name, in CreateNode()
51 std::unique_ptr<TFGraphNode> node(new TFGraphNode(def, -1, nullptr)); in CreateNode()
Doperation_checker.h42 const TFGraphNode* node = n.second.get(); in Check()
Daccelerator_utilization_checker.h73 void BuildExecStats(const TFGraphNode* node) { in BuildExecStats()