contrib.layers.stack

tf.contrib.layers.stack

tf.contrib.layers.stack

stack(
    inputs,
    layer,
    stack_args,
    **kwargs
)

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

Builds a stack of layers by applying layer repeatedly using stack_args.

stack allows you to repeatedly apply the same operation with different arguments stack_args[i]. For each application of the layer, stack creates a new scope appended with an incre