SpatialTransformerLayer2D | R Documentation |
Spatial transformer layer (2-D)
resampled batch images.
list of size 2 where the first element are the images. The second element are the weights.
size of the resampled output images.
$initialize
instantiates a new class.
$call
main body.
$compute_output_shape
computes the output shape.
Tustison NJ
resampledSize = c(30L, 30L)
model = SpatialTransformerLayer2D$new(resampledSize)
model$initialize(resampledSize)
testthat::expect_error(model$initialize(5))
model$compute_output_shape(input_shape = c(25, 25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.