• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / sdfglib / 20632474619

31 Dec 2025 05:29PM UTC coverage: 39.635% (-0.08%) from 39.712%
20632474619

push

github

web-flow
Merge pull request #421 from daisytuner/copilot/extend-tensor-library-nodes

Extend tensor library nodes with primitive type support and refactor CMathNode to use enums

14997 of 49248 branches covered (30.45%)

Branch coverage included in aggregate %.

247 of 620 new or added lines in 52 files covered. (39.84%)

37 existing lines in 4 files now uncovered.

12875 of 21074 relevant lines covered (61.09%)

89.41 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/include/sdfg/data_flow/library_nodes/math/tensor/reduce_ops/std_node.h
1
#pragma once
2

3
#include "sdfg/data_flow/library_nodes/math/tensor/reduce_node.h"
4

5
namespace sdfg {
6
namespace math {
7
namespace tensor {
8

9
inline data_flow::LibraryNodeCode LibraryNodeType_Std("ml::Std");
10

11
class StdNode : public ReduceNode {
12
public:
13
    StdNode(
14
        size_t element_id,
15
        const DebugInfo& debug_info,
16
        const graph::Vertex vertex,
17
        data_flow::DataFlowGraph& parent,
18
        const std::vector<symbolic::Expression>& shape,
19
        const std::vector<int64_t>& axes,
20
        bool keepdims
21
    );
22

23
    bool expand(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) override;
24

25
    bool expand_reduction(
26
        builder::StructuredSDFGBuilder& builder,
27
        analysis::AnalysisManager& analysis_manager,
28
        structured_control_flow::Sequence& body,
29
        const std::string& input_name,
30
        const std::string& output_name,
31
        const types::IType& input_type,
32
        const types::IType& output_type,
33
        const data_flow::Subset& input_subset,
34
        const data_flow::Subset& output_subset
35
    ) override;
36

37
    std::string identity() const override;
38

NEW
39
    bool supports_integer_types() const override { return false; }
×
40

41
    std::unique_ptr<data_flow::DataFlowNode>
42
    clone(size_t element_id, const graph::Vertex vertex, data_flow::DataFlowGraph& parent) const override;
43
};
44

45
typedef ReduceNodeSerializer<StdNode> StdNodeSerializer;
46

47
} // namespace tensor
48
} // namespace math
49
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc