Dragon API Dragon v0.3.0 Python Elementwise¶ class dragon.vm.tensorlayer.layers.Elementwise( operation='add', act=None, name=None)[source]¶ Layer to combine inputs by applying element-wise operation. __init__¶ Elementwise.__init__( operation='add', act=None, name=None)[source]¶ Create a Elementwise layer. Parameters: operation (str, optional, default='add') – The operation to perform. act (callable, optional) – The optional activation function. name (str, optional) – The layer name.