Skip to content
Snippets Groups Projects
Commit 88323891 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

Fix matmul typo.

parent d2d94507
No related branches found
No related tags found
No related merge requests found
...@@ -58,22 +58,22 @@ public: ...@@ -58,22 +58,22 @@ public:
* @brief Copy-constructor. Copy the operator parameters and its output tensor(s), but not its input tensors (the new operator has no input associated). * @brief Copy-constructor. Copy the operator parameters and its output tensor(s), but not its input tensors (the new operator has no input associated).
* @param op Operator to copy. * @param op Operator to copy.
*/ */
Matmul_Op(const Matmul_Op& op) MatMul_Op(const MatMul_Op& op)
: Operator(Type), : Operator(Type),
Parameterizable_(op), Parameterizable_(op),
mOutput(std::make_shared<Tensor>(*op.mOutput)) mOutput(std::make_shared<Tensor>(*op.mOutput))
{ {
// cpy-ctor // cpy-ctor
setDatatype(op.mOutput->dataType()); setDatatype(op.mOutput->dataType());
mImpl = op.mImpl ? Registrar<Matmul_Op>::create(mOutput->getImpl()->backend())(*this) : nullptr; mImpl = op.mImpl ? Registrar<MatMul_Op>::create(mOutput->getImpl()->backend())(*this) : nullptr;
} }
/** /**
* @brief Clone the operator using its copy-constructor. * @brief Clone the operator using its copy-constructor.
* @see Operator::Matmul_Op * @see Operator::MatMul_Op
*/ */
std::shared_ptr<Operator> clone() const override { std::shared_ptr<Operator> clone() const override {
return std::make_shared<Matmul_Op>(*this); return std::make_shared<MatMul_Op>(*this);
} }
void associateInput(const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final { void associateInput(const IOIndex_t inputIdx, std::shared_ptr<Data> data) override final {
......
...@@ -34,7 +34,7 @@ public: ...@@ -34,7 +34,7 @@ public:
/** /**
* @brief Clone the operator using its copy-constructor. * @brief Clone the operator using its copy-constructor.
* @see Operator::Matmul_Op * @see Operator::MatMul_Op
*/ */
std::shared_ptr<Operator> clone() const override { std::shared_ptr<Operator> clone() const override {
return std::make_shared<MetaOperator>(*this); return std::make_shared<MetaOperator>(*this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment