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:
// Helper functions that can be used with setComputeOutputDims():
static const ComputeDimsFunc Identity;
void setComputeOutputDims(ComputeDimsFunc func) {
inline void setComputeOutputDims(ComputeDimsFunc func) {
mComputeOutputDims = func;
}
......
......@@ -118,9 +118,7 @@ public:
* @brief Set the a new OperatorImpl to the Operator
*
*/
void setImpl(std::shared_ptr<OperatorImpl> impl){
mImpl = impl;
}
inline void setImpl(std::shared_ptr<OperatorImpl> impl) { mImpl = impl; }
/**
* @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