+ /** Flags if the tensor is used or not
+ *
+ * @return True if it is used else false
+ */
+ bool is_used() const;
+ /** Marks a tensor as unused */
+ void mark_as_unused() const;
+
+private:
+ mutable bool _is_used = { true }; /**< Flag that marks if the tensor is used or not */