Description Usage Arguments Value
View source: R/2-layers-pairwise.R
This function computes all pairwise residuals in the final dimension of a tensor. For example, if the tensor has the dimensions (2, 3, 4), this function will return a tensor with the dimensions (2, 3, 4, 4). The element (2, 3, i, j) would contain the value ((2, 3, i) - (2, 3, j))^2.
1 | layer_pairwise_residual(object, name = NULL)
|
object |
The incoming layer. |
name |
A string. The prefix label for all layers. |
A layer of the pairwise residuals.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.