View source on GitHub |
unpack a tuple of inputs
tensors to a tuple. (deprecated)
tfm.utils.unpack_inputs(
inputs
)
Args | |
---|---|
inputs
|
a list of tensors. |
Returns | |
---|---|
a tuple of tensors. if any input is a special constant tensor, replace it with None. |