MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / rows

Function rows

extensions/include/cuMat/src/UnaryOps.h:751–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

749 {}
750
751 __host__ __device__ CUMAT_STRONG_INLINE Index rows() const
752 {
753 return _Row == Axis::Row ? child_.rows()
754 : _Row == Axis::Column ? child_.cols()
755 : _Row == Axis::Batch ? child_.batches()
756 : 1;
757 }
758 __host__ __device__ CUMAT_STRONG_INLINE Index cols() const
759 {
760 return _Col == Axis::Row ? child_.rows()

Calls 3

rowsMethod · 0.45
colsMethod · 0.45
batchesMethod · 0.45

Tested by

no test coverage detected