Skip to content

Make Net master of its phase and device #1500

Closed
@shelhamer

Description

@shelhamer

Leaving phase and device to the Caffe singleton is awkward and spells trouble for parallelization and device abstraction.

Net should own phase and device, which are to be set at instantiation, so that nets can co-exist without the delicate coordination of phase and device for parallel execution within and across nets.

At the same time phase issues like #192 #1250 #1430 should be settled at the same time. Phase has been settled in #1790.

@longjon @jeffdonahue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions