Skip to content
Snippets Groups Projects
Commit 9c18776a authored by Olivier BICHLER's avatar Olivier BICHLER
Browse files

Fixed post merge issues

parent 9157399f
No related branches found
No related tags found
No related merge requests found
......@@ -154,12 +154,12 @@ public:
/**
* Return the number of elements stored.
*/
std::size_t size() const { return mNbElts; }
inline std::size_t size() const noexcept { return mNbElts; }
/**
* Return the size (in bytes) of one element (scalar).
*/
virtual std::size_t scalarSize() const = 0;
virtual std::size_t scalarSize() const noexcept = 0;
constexpr const char *backend() const { return mBackend; }
virtual ~TensorImpl() = default;
virtual bool operator==(const TensorImpl &othImpl) const = 0;
......
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