30 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
void Accept(ILayerVisitor &visitor) const override
Apply a visitor to this layer.
ArgMinMaxLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
Copyright (c) 2020 ARM Limited.
ArgMinMaxLayer(const ArgMinMaxDescriptor ¶m, const char *name)
Constructor to create a ArgMinMaxLayer.
~ArgMinMaxLayer()=default
Default destructor.
An ArgMinMaxDescriptor for ArgMinMaxLayer.
This layer represents a ArgMinMax operation.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the ArgMinMax type.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of ArgMinMaxLayer.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Infers the output shape from a given input shape and axis parameter.