tf.contrib.layers.RevBlock

Class RevBlock

Block of reversible layers. See rev_block.

Inherits From: Layer

Defined in contrib/layers/python/layers/rev_block_lib.py.

__init__

__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

backward(
    y1,
    y2
)

forward

forward(
    x1,
    x2
)