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

Function cols

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

Source from the content-addressed store, hash-verified

756 : 1;
757 }
758 __host__ __device__ CUMAT_STRONG_INLINE Index cols() const
759 {
760 return _Col == Axis::Row ? child_.rows()
761 : _Col == Axis::Column ? child_.cols()
762 : _Col == Axis::Batch ? child_.batches()
763 : 1;
764 }
765 __host__ __device__ CUMAT_STRONG_INLINE Index batches() const
766 {
767 return _Batch == Axis::Row ? child_.rows()

Calls 3

rowsMethod · 0.45
colsMethod · 0.45
batchesMethod · 0.45

Tested by

no test coverage detected