It takes as input a list of tensors of size 2, both of the same shape, and
returns a single tensor, (inputs[[1]] - inputs[[2]]), also of the same
shape.
layer_subtract(inputs, ...)A list of input tensors (exactly 2). Can be missing.
Standard layer arguments (must be named).
A tensor, the difference of the inputs. If inputs is missing, a
keras layer instance is returned.
https://www.tensorflow.org/api_docs/python/tf/keras/layers/subtract
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Subtract
Other merge layers:
layer_average(),
layer_concatenate(),
layer_dot(),
layer_maximum(),
layer_minimum(),
layer_multiply()