Fix TensorRef details

This commit is contained in:
Antonio Sánchez
2025-02-14 18:33:26 +00:00
parent 22cd7307dd
commit 9c211430b5
5 changed files with 146 additions and 69 deletions

View File

@@ -27,6 +27,10 @@ struct traits<TensorBroadcastingOp<Broadcast, XprType>> : public traits<XprType>
static constexpr int NumDimensions = XprTraits::NumDimensions;
static constexpr int Layout = XprTraits::Layout;
typedef typename XprTraits::PointerType PointerType;
enum {
// Broadcast is read-only.
Flags = traits<XprType>::Flags & ~LvalueBit
};
};
template <typename Broadcast, typename XprType>