24.08
|
Go to the documentation of this file.
28 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
~BroadcastToLayer()=default
Default destructor.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Infers the output shapes from given input shapes and layer properties.
void ExecuteStrategy(IStrategy &strategy) const override
Execute Strategy on BroadcastTo layer.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the BroadcastTo type.
Copyright (c) 2021 ARM Limited and Contributors.
BroadcastToLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor BroadcastTo(s) will lead to a valid configuration of BroadcastToLayer.
BroadcastToLayer(const BroadcastToDescriptor ¶m, const char *name)
Constructor to create a BroadcastToLayer.