deephyper.nas.operation.Concatenate#

class deephyper.nas.operation.Concatenate(search_space, stacked_nodes=None, axis=- 1)[source]#

Bases: deephyper.nas.operation._base.Operation

Concatenate operation.

Parameters
  • graph

  • node (Node) –

  • stacked_nodes (list(Node)) – nodes to concatenate

  • axis (int) – axis to concatenate

Methods

init

Preprocess the current operation.

__call__(values, **kwargs)[source]#
Parameters

tensors (list) – a list of incoming tensors.

Returns

an output tensor.

Return type

tensor

init(current_node)[source]#

Preprocess the current operation.