ResampleTensorToTargetTensorLayer2D: Creates a resampled tensor (to target tensor) layer (2-D)

ResampleTensorToTargetTensorLayer2DR Documentation

Creates a resampled tensor (to target tensor) layer (2-D)

Description

Creates a lambda layer which interpolates/resizes an input tensor based on the specified target tensor

Value

a resampled version of the input tensor

Arguments

targetTensor

tensor of desired size.

interpolationType

Type of interpolation. Can be 'nearestNeighbor', 'nearestNeighbor', 'linear', 'bilinear', 'cubic', or 'bicubic'

x
mask
input_shape

Details

$initialize instantiates a new class.

$call main body.

$compute_output_shape computes the output shape.

Author(s)

Tustison NJ


ANTsX/ANTsRNet documentation built on April 28, 2024, 12:16 p.m.