get_layer

FullyConnected.get_layer(name=None, index=None)

Retrieves a layer based on either its name (unique) or index.

If name and index are both provided, index will take precedence. Indices are based on order of horizontal graph traversal (bottom-up).

Parameters:
  • name – String, name of layer.

  • index – Integer, index of layer.

Returns:

A layer instance.