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