Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/tvm/support/with.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ class With {
ContextType& operator*() { return *get(); }
const ContextType* operator*() const { return *get(); }

ContextType operator()() { return ctx_; }

private:
/*! \brief internal context type. */
ContextType ctx_;
Expand Down