MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / __init__

Method __init__

tensorflow/python/eager/context.py:70–94  ·  view source on GitHub ↗

Creates a new Context. Args: config: (Optional.) A `ConfigProto` protocol buffer with configuration options for the Context. Note that a lot of these options may be currently unimplemented or irrelevant when eager execution is enabled. device_policy: (Optional.) What p

(self, config=None, device_policy=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

__init__Method · 0.45

Calls 1

_EagerContextClass · 0.85

Tested by

no test coverage detected