(stage_cfg)
return ret
For a single stage
For a single stage
For a single stage
def expand_stage_cfg(stage_cfg):
    """ For a single stage """
    assert isinstance(stage_cfg, list)
    ret = []
    for x in stage_cfg:
        ret += _expand_block_cfg(x)
    return ret
def expand_stage_cfg ( stage_cfg ) : assert isinstance ( stage_cfg , list ) ret = [ ] for x in stage_cfg : ret += _expand_block_cfg ( x ) return ret