credit.datasets.count_channels

credit.datasets.count_channels#

Functions#

find_key(nested, key)

Recursive breadth-first search to find the value associated

count_channels(conf)

Tallies up the total number of tensor channels resulting from a

Module Contents#

credit.datasets.count_channels.find_key(nested, key)#

Recursive breadth-first search to find the value associated with the first instance of a key in a nested dict

credit.datasets.count_channels.count_channels(conf)#

Tallies up the total number of tensor channels resulting from a ‘datasets’ configurtion, taking into account z-levels in 3D variables and a possible z-stride across them.