Skip to content

Commit 863419f

Browse files
authored
Merge branch 'dev' into patch-8
2 parents fd9a64d + a65689e commit 863419f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

monai/engines/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,8 @@ def __call__(
219219
`kwargs` supports other args for `Tensor.to()` API.
220220
"""
221221
image, label = default_prepare_batch(batchdata, device, non_blocking, **kwargs)
222-
args_ = list()
223-
kwargs_ = dict()
222+
args_ = []
223+
kwargs_ = {}
224224

225225
def _get_data(key: str) -> torch.Tensor:
226226
data = batchdata[key]

0 commit comments

Comments
 (0)