tfm.utils.unpack_inputs

Stay organized with collections Save and categorize content based on your preferences.

unpack a tuple of inputs tensors to a tuple. (deprecated)

inputs a list of tensors.

a tuple of tensors. if any input is a special constant tensor, replace it with None.