Skip to content

Support device=None #993

@NicolasHug

Description

@NicolasHug

We should support VideoDecoder(..., device=None).

device=None should mean "use the current device", and the "current device" is usually the CPU but can also be set by (e.g.) the with torch.device(...) context manager.

device=None should probably become the default eventually, even if it's a very, very small BC-breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions