We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
def cosine_distance(vecs, normalize=False): x, y = vecs if normalize: x = K.l2_normalize(x, axis=0) y = K.l2_normalize(x, axis=0) return K.prod(K.stack([x, y], axis=1), axis=1)
In the this line y = K.l2_normalize(x, axis=0), "l2_normalize" function argument is it y or x itself
y = K.l2_normalize(x, axis=0)
y
x
Please give me reply asap
The text was updated successfully, but these errors were encountered:
In this file https://github.com/sujitpal/holiday-similarity/blob/master/src/02-holidays-siamese-network.ipynb
Sorry, something went wrong.
No branches or pull requests
In the this line
y = K.l2_normalize(x, axis=0)
, "l2_normalize" function argument is ity
orx
itselfPlease give me reply asap
The text was updated successfully, but these errors were encountered: