ResampleTensorLayer3D: Creates a resampled tensor (to fixed size) layer (3-D)

ResampleTensorLayer3DR Documentation

Creates a resampled tensor (to fixed size) layer (3-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 3-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 April 28, 2024, 12:16 p.m.