`is_leaf` may become `False` after `.to(device=device)` function call.
Attach a file by drag & drop or click to upload