Skip to content

refine Tensor CopyFrom function #6948

@dzhwinter

Description

@dzhwinter

Tensor's CopyFrom doesn't discriminate the cpu device and gpu device, it leads to redundant get device context from global pool.

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