Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Subtract layers

tf.keras.layers.Subtract(**kwargs)

# Layer that subtracts two inputs.

# It takes as input a list of tensors of size 2
# both of the same shape, and returns a single tensor, (inputs[0] - inputs[1])
# also of the same shape.
 
PREVIOUS NEXT
Tagged: #Subtract #layers
ADD COMMENT
Topic
Name
1+2 =