Skip to content

Disagree with an alleged anti-pattern #2

@jhihn

Description

@jhihn

Or, maybe I'm reading the documentation wrong?
http://www.tensorflowpatterns.org/patterns/use-default-graph.html

I think using the default graph is wrong, because it enforces an assumption of 1 graph per script, which may be fine in the beginning, but as time goes on this will be a nagging limitation if all scripts are written to assume 1 graph. Note that this extends to the process as well, so you can't import any code which uses its own graph.

Therefore I am left to conclude that using the default graph is the true anti-pattern.

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