def build_block_specs(block_specs=None):
    'Builds the list of BlockSpec objects for SpineNet.'
    if (not block_specs):
        block_specs = SPINENET_BLOCK_SPECS
    logging.info('Building SpineNet block specs: %s', block_specs)
    return [BlockSpec(*b) for b in block_specs]
Builds the list of BlockSpec objects for SpineNet.
def build_block_specs(block_specs=None):
    
    if (not block_specs):
        block_specs = SPINENET_BLOCK_SPECS
    logging.info('Building SpineNet block specs: %s', block_specs)
    return [BlockSpec(*b) for b in block_specs]