MCPcopy Create free account
hub / github.com/ai-techsystems/deepC / shape

Method shape

include/graph/node.h:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 DNNC_DataType dtype() override { return _dtype; }
107 NODE_TYPE ntype() override { return _ntype; }
108 std::vector<size_t> shape() { return _shape; }
109
110 bool outputNodes(graph &g, std::vector<node *> &nodes) override {
111 return getNodes(g, nodes, true);

Callers 15

assert_lessMethod · 0.45
assert_equalMethod · 0.45
assert_allcloseMethod · 0.45
test_Flatten1D_boolMethod · 0.45
test_Flatten1D_intMethod · 0.45
test_Flatten1D_floatMethod · 0.45
test_Flatten1D_doubleMethod · 0.45
test_Flatten2D_boolMethod · 0.45
test_Flatten2D_intMethod · 0.45
test_Flatten2D_floatMethod · 0.45
test_Flatten2D_doubleMethod · 0.45
test_Flatten3D_boolMethod · 0.45

Calls

no outgoing calls

Tested by 15

assert_lessMethod · 0.36
assert_equalMethod · 0.36
assert_allcloseMethod · 0.36
test_Flatten1D_boolMethod · 0.36
test_Flatten1D_intMethod · 0.36
test_Flatten1D_floatMethod · 0.36
test_Flatten1D_doubleMethod · 0.36
test_Flatten2D_boolMethod · 0.36
test_Flatten2D_intMethod · 0.36
test_Flatten2D_floatMethod · 0.36
test_Flatten2D_doubleMethod · 0.36
test_Flatten3D_boolMethod · 0.36