aboutsummaryrefslogtreecommitdiffhomepage
path: root/ISSUE_TEMPLATE.md
diff options
context:
space:
mode:
authorGravatar Akshay Agrawal <akshayka@google.com>2018-01-05 11:41:07 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-05 11:45:32 -0800
commitdbb0feec02a6c34c457ebe83ea307043939b0fc3 (patch)
treea8b2e19c047605e26583bd4991ef33a62704c111 /ISSUE_TEMPLATE.md
parent9878a2e64771e8feef527ec3d221163200bdaf30 (diff)
Make it possible to wrap Layer's `call` method in `tfe.defun`.
This change: (1) wraps Layer's `build` method in an `init_scope`, which in turn makes it possible to compile the `call` method into a graph function by wrapping it in `tfe.defun` because the `init_scope` lifts all ops created in `build` out of function-building graphs; (2) defers the creation of regularizers, constructing them after `build` exits and thereby ensuring that they are not created inside an `init_scope`. PiperOrigin-RevId: 180954866
Diffstat (limited to 'ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions