Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ValueError: `logits` and `labels` must have the same shape, received ((None, 2) vs (None, 1)).

tf.keras.layers.Dense(1, activation="sigmoid") # binary activation output
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #received
ADD COMMENT
Topic
Name
7+3 =