Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
lockshaw committed Sep 16, 2024
1 parent 5cf7a40 commit 5355085
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions lib/pcg/src/pcg/computation_graph.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ std::vector<tensor_guid_t> get_incoming_weights(ComputationGraph const &cg,
return get_incoming_tensors_with_role(cg, l, IncomingTensorRole::WEIGHT);
}



std::unordered_set<ComputationGraphEdge> get_subgraph_incoming_edges(
ComputationGraph const &cg,
std::unordered_set<layer_guid_t> const &subgraph_nodes) {
Expand Down
3 changes: 1 addition & 2 deletions lib/pcg/src/pcg/computation_graph_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ tensor_guid_t ComputationGraphBuilder::create_input(
maybe_name,
};

return get_only(
this->add_layer(layer_attrs, {}, {}, {tensor_attrs}));
return get_only(this->add_layer(layer_attrs, {}, {}, {tensor_attrs}));
}

tensor_guid_t ComputationGraphBuilder::create_weight(
Expand Down

0 comments on commit 5355085

Please sign in to comment.