Flatten Layer */
| 699 | }; |
| 700 | /** Flatten Layer */ |
| 701 | class FlattenLayer final : public ILayer |
| 702 | { |
| 703 | public: |
| 704 | /** Construct a flatten layer. */ |
| 705 | FlattenLayer() |
| 706 | { |
| 707 | } |
| 708 | |
| 709 | NodeID create_layer(IStream &s) override |
| 710 | { |
| 711 | NodeParams common_params = {name(), s.hints().target_hint}; |
| 712 | NodeIdxPair input = {s.tail_node(), 0}; |
| 713 | return GraphBuilder::add_flatten_node(s.graph(), common_params, input); |
| 714 | } |
| 715 | }; |
| 716 | |
| 717 | /** Fully Connected Layer */ |
| 718 | class FullyConnectedLayer final : public ILayer |
no outgoing calls
no test coverage detected