MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ channel()

DataDimension MayaFlux::Kakshya::DataDimension::channel ( uint64_t  count,
uint64_t  stride = 1 
)
static

Convenience constructor for a channel dimension.

Parameters
countNumber of channels
strideMemory stride (default: 1)
Returns
DataDimension representing channels

Definition at line 19 of file NDData.cpp.

20{
21 return { "channel", count, stride, Role::CHANNEL };
22}
@ CHANNEL
Parallel streams (audio channels, color channels)
uint64_t stride
Memory stride (elements between consecutive indices)
Definition NDData.hpp:189

References CHANNEL, and stride.

Referenced by create_dimensions(), MayaFlux::Kakshya::detect_data_dimensions(), and MayaFlux::Yantra::infer_from_eigen().

+ Here is the caller graph for this function: