24 #ifndef ARM_COMPUTE_GRAPH_SPLIT_LAYER_NODE_H 25 #define ARM_COMPUTE_GRAPH_SPLIT_LAYER_NODE_H 58 unsigned int num_splits,
int axis,
unsigned int idx);
68 unsigned int axis()
const;
78 unsigned int _num_splits;
80 std::vector<int> _size_splits;
NodeType type() const override
Returns node's type.
unsigned int num_splits() const
Number of splits accessor.
Copyright (c) 2017-2021 Arm Limited.
unsigned int axis() const
Split axis accessor.
SplitLayerNode(unsigned int num_splits, int axis=0, std::vector< int > size_splits=std::vector< int >())
Default Constructor.
void accept(INodeVisitor &v) override
Accepts a node visitor.
std::pair< TensorDescriptor, Coordinates > compute_output_descriptor(const TensorDescriptor &input_descriptor, unsigned int num_splits, int axis, unsigned int idx)
Computes split layer output descriptor.
bool forward_descriptors() override
Forwards descriptor information to outputs if possible.
Status validate() const override
Validate node.
TensorDescriptor configure_output(size_t idx) const override
Calculates output configuration.