megatron.model.module.conversion_helper#

megatron.model.module.conversion_helper(val, conversion)#

Apply conversion to val. Recursively apply conversion if val #is a nested tuple/list structure.