Skip to content
Snippets Groups Projects
Commit fafe588f authored by Maxence Naud's avatar Maxence Naud
Browse files

[Upd] inline two functions

parent 9cb56340
No related branches found
No related tags found
2 merge requests!105version 0.2.0,!4Dataloader
Pipeline #38053 passed
...@@ -59,7 +59,7 @@ public: ...@@ -59,7 +59,7 @@ public:
// Helper functions that can be used with setComputeOutputDims(): // Helper functions that can be used with setComputeOutputDims():
static const ComputeDimsFunc Identity; static const ComputeDimsFunc Identity;
void setComputeOutputDims(ComputeDimsFunc func) { inline void setComputeOutputDims(ComputeDimsFunc func) {
mComputeOutputDims = func; mComputeOutputDims = func;
} }
......
...@@ -118,9 +118,7 @@ public: ...@@ -118,9 +118,7 @@ public:
* @brief Set the a new OperatorImpl to the Operator * @brief Set the a new OperatorImpl to the Operator
* *
*/ */
void setImpl(std::shared_ptr<OperatorImpl> impl){ inline void setImpl(std::shared_ptr<OperatorImpl> impl) { mImpl = impl; }
mImpl = impl;
}
/** /**
* @brief Minimum amount of data from a specific input for one computation pass. * @brief Minimum amount of data from a specific input for one computation pass.
......
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