34 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Pooling2dLayer * Clone(Graph &graph) const override
This layer represents a pooling 2d operation.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
void ValidateTensorShapesFromInputs() override
Pooling2dLayer(const Pooling2dDescriptor ¶m, const char *name)
A Pooling2dDescriptor for the Pooling2dLayer.
~Pooling2dLayer()=default
Default destructor.
void Accept(ILayerVisitor &visitor) const override