12 class ScopedCpuTensorHandle;
19 std::unique_ptr<ScopedCpuTensorHandle>
m_Weight;
21 std::unique_ptr<ScopedCpuTensorHandle>
m_Bias;
40 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
This layer represents a 2D transpose convolution operation.
void ValidateTensorShapesFromInputs() override
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
std::vector< std::reference_wrapper< std::unique_ptr< ScopedCpuTensorHandle > >> ConstantTensors
A TransposeConvolution2dDescriptor for the TransposeConvolution2dLayer.
ConstantTensors GetConstantTensorsByRef() override
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
TransposeConvolution2dLayer(const TransposeConvolution2dDescriptor ¶m, const char *name)
void Accept(ILayerVisitor &visitor) const override
std::unique_ptr< ScopedCpuTensorHandle > m_Bias
A unique pointer to store bias values.
TransposeConvolution2dLayer * Clone(Graph &graph) const override
~TransposeConvolution2dLayer()=default
Default destructor.
std::unique_ptr< ScopedCpuTensorHandle > m_Weight
A unique pointer to store weight values.