Skip to content

Instantly share code, notes, and snippets.

@DiegoAgher
Created January 3, 2019 20:31
Show Gist options
  • Save DiegoAgher/dd6057c5d9a4b9557a42477c82e1e15d to your computer and use it in GitHub Desktop.
Save DiegoAgher/dd6057c5d9a4b9557a42477c82e1e15d to your computer and use it in GitHub Desktop.
sequenece and reshaping
conv1 = Conv2D(seq_lenght, (3, 3), padding='same', name='conv1', kernel_initializer='he_normal')(inputs)
dims = conv1.get_shape()
reshape = Reshape(target_shape=(seq_lenght, int(dims[1]*dims[2])), name='reshape')(conv1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment