tf.contrib.layers.RevBlock
Stay organized with collections
Save and categorize content based on your preferences.
Block of reversible layers. See rev_block.
Inherits From: Layer
tf.contrib.layers.RevBlock(
f, g, num_layers=1, f_side_input=None, g_side_input=None,
use_efficient_backprop=True, name='revblock', **kwargs
)
Attributes |
graph
|
DEPRECATED FUNCTION
|
scope_name
|
|
Methods
backward
View source
backward(
y1, y2
)
forward
View source
forward(
x1, x2
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.layers.RevBlock\n\n\u003cbr /\u003e\n\n|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/layers/python/layers/rev_block_lib.py#L176-L380) |\n\nBlock of reversible layers. See rev_block.\n\nInherits From: [`Layer`](../../../tf/layers/Layer) \n\n tf.contrib.layers.RevBlock(\n f, g, num_layers=1, f_side_input=None, g_side_input=None,\n use_efficient_backprop=True, name='revblock', **kwargs\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `graph` | DEPRECATED FUNCTION \u003cbr /\u003e | **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Stop using this property because tf.layers layers no longer track their graph. |\n| `scope_name` | \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `backward`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/layers/python/layers/rev_block_lib.py#L237-L238) \n\n backward(\n y1, y2\n )\n\n### `forward`\n\n[View source](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/layers/python/layers/rev_block_lib.py#L234-L235) \n\n forward(\n x1, x2\n )"]]