metric_cosine_proximity | R Documentation |
metric_cosine_proximity()
is deprecated and will be removed in a future
version. Please update your code to use metric_cosine_similarity()
if
possible. If you need the actual function and not a Metric object, (e.g,
because you are using the intermediate computed values in a custom training
loop before reduction), please use loss_cosine_similarity()
or
tensorflow::tf$compat$v1$keras$metrics$cosine_proximity()
metric_cosine_proximity(y_true, y_pred)
y_true |
Tensor of true targets. |
y_pred |
Tensor of predicted targets. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.