Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

maybe_unsqueeze

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

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.