TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.layers.RevBlock

View source on GitHub

Class RevBlock

Block of reversible layers. See rev_block.

Inherits From: Layer

__init__

View source

__init__(
    f,
    g,
    num_layers=1,
    f_side_input=None,
    g_side_input=None,
    use_efficient_backprop=True,
    name='revblock',
    **kwargs
)

Properties

graph

DEPRECATED FUNCTION

scope_name

Methods

backward

View source

backward(
    y1,
    y2
)

forward

View source

forward(
    x1,
    x2
)