12 class ScopedCpuTensorHandle;
19 std::unique_ptr<ScopedCpuTensorHandle>
m_Weight;
21 std::unique_ptr<ScopedCpuTensorHandle>
m_Bias;
41 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
std::unique_ptr< ScopedCpuTensorHandle > m_Weight
A unique pointer to store Weight values.
ConstantTensors GetConstantTensorsByRef() override
std::unique_ptr< ScopedCpuTensorHandle > m_Bias
A unique pointer to store Bias values.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
FullyConnectedLayer * Clone(Graph &graph) const override
This layer represents a fully connected operation.
std::vector< std::reference_wrapper< std::unique_ptr< ScopedCpuTensorHandle > >> ConstantTensors
void ValidateTensorShapesFromInputs() override
A FullyConnectedDescriptor for the FullyConnectedLayer.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
FullyConnectedLayer(const FullyConnectedDescriptor ¶m, const char *name)
~FullyConnectedLayer()=default
Default destructor.
void Accept(ILayerVisitor &visitor) const override