Skip to content
Open
Show file tree
Hide file tree
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/matx/operators/hermitian.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ namespace matx
return (dim < (Rank() - 2)) ? op_.Size(dim) : op_.Size((dim == Rank() - 1) ? Rank() - 2 : Rank() - 1);
}

__MATX_INLINE__ const auto &InputOp() const noexcept { return op_; }

template <typename ShapeType, typename Executor>
__MATX_INLINE__ void PreRun(ShapeType &&shape, Executor &&ex) const noexcept
{
Expand Down
3 changes: 3 additions & 0 deletions include/matx/operators/unary_operators.h
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,9 @@ namespace matx
}
#endif

__MATX_INLINE__ const auto &InputOp() const noexcept { return in1_; }
__MATX_INLINE__ const auto &UnaryOp() const noexcept { return op_; }

template <OperatorCapability Cap, typename InType>
__MATX_INLINE__ __MATX_HOST__ auto get_capability([[maybe_unused]] InType &in) const {
if constexpr (Cap == OperatorCapability::JIT_TYPE_QUERY) {
Expand Down
Loading