UpSampling3D

@frozen
public struct UpSampling3D<Scalar> : ParameterlessLayer where Scalar : TensorFlowFloatingPoint

An upsampling layer for 3-D inputs.

  • Declaration

    @noDerivative
    public let size: Int
  • Creates an upsampling layer.

    Declaration

    public init(size: Int)

    Parameters

    size

    The upsampling factor for rows and columns.

  • Returns the output obtained from applying the layer to the given input.

    Declaration

    @differentiable
    public func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar>

    Parameters

    input

    The input to the layer.

    Return Value

    The output.