maybe_unsqueeze: Maybe_unsqueeze

View source: R/time_series_core.R

maybe_unsqueezeR Documentation

Maybe_unsqueeze

Description

Add empty dimension if it is a rank 1 tensor/array

Usage

maybe_unsqueeze(x)

Arguments

x

R array/matrix/tensor

Value

array


fastai documentation built on March 21, 2022, 9:07 a.m.