ResampleTensorLayer2D: Creates a resample tensor layer (2-D)

ResampleTensorLayer2DR Documentation

Creates a resample tensor layer (2-D)

Description

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

Value

a resampled version of the input tensor

Arguments

shape

A 2-D vector specifying the new shape.

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 Nov. 21, 2024, 4:07 a.m.