Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Custom(tf.keras.Model):
- ...
- def compute_output_shape(self, input_shape):
- # input_shape = (None, ...)
- batch_size = ???
- return (batch_size, ...)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement