@@ -30,29 +30,35 @@ DynamicOpenDataflowGraph
3030 get_incoming_tensors (cg, layer),
3131 [](TensorSlotName const &slot_name, tensor_guid_t const &tensor) {
3232 return std::pair<DynamicTensorSlot, DynamicValueAttrs>{
33- DynamicTensorSlot{/* slot_name=*/ slot_name,
34- /* slot_tensor_role=*/ std::nullopt },
33+ DynamicTensorSlot{
34+ /* slot_name=*/ slot_name,
35+ /* slot_tensor_role=*/ std::nullopt ,
36+ },
3537 DynamicValueAttrs{
3638 /* tensor_guid=*/ dynamic_tensor_guid_t {tensor},
3739 /* parallel_tensor_shape=*/ std::nullopt ,
3840 /* shard_coord=*/ std::nullopt ,
3941 /* accessor=*/ std::nullopt ,
40- /* role=*/ std::nullopt },
42+ /* role=*/ std::nullopt ,
43+ },
4144 };
4245 });
4346 std::unordered_map<DynamicTensorSlot, DynamicValueAttrs> result_outputs =
4447 transform (
4548 get_outgoing_tensors (cg, layer),
4649 [](TensorSlotName const &slot_name, tensor_guid_t const &tensor) {
4750 return std::pair<DynamicTensorSlot, DynamicValueAttrs>{
48- DynamicTensorSlot{/* slot_name=*/ slot_name,
49- /* slot_tensor_role=*/ std::nullopt },
51+ DynamicTensorSlot{
52+ /* slot_name=*/ slot_name,
53+ /* slot_tensor_role=*/ std::nullopt ,
54+ },
5055 DynamicValueAttrs{
5156 /* tensor_guid=*/ dynamic_tensor_guid_t {tensor},
5257 /* parallel_tensor_shape=*/ std::nullopt ,
5358 /* shard_coord=*/ std::nullopt ,
5459 /* accessor=*/ std::nullopt ,
55- /* role=*/ std::nullopt },
60+ /* role=*/ std::nullopt ,
61+ },
5662 };
5763 });
5864
0 commit comments