mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Tensor block evaluation V2 support for unary/binary/broadcsting
This commit is contained in:
@@ -383,8 +383,17 @@ struct DSizes : array<DenseIndex, NumDims> {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
template <typename IndexType, int NumDims>
|
||||
std::ostream& operator<<(std::ostream& os,
|
||||
const DSizes<IndexType, NumDims>& dims) {
|
||||
os << "[";
|
||||
for (int i = 0; i < NumDims; ++i) {
|
||||
if (i > 0) os << ", ";
|
||||
os << dims[i];
|
||||
}
|
||||
os << "]";
|
||||
return os;
|
||||
}
|
||||
|
||||
// Boilerplate
|
||||
namespace internal {
|
||||
|
||||
Reference in New Issue
Block a user