Learn R Programming

keras (version 2.13.0)

k_unstack: Unstack rank R tensor into a list of rank R-1 tensors.

Description

Unstack rank R tensor into a list of rank R-1 tensors.

Usage

k_unstack(x, axis = 1L, num = NULL, name = NULL)

Value

A tensor.

Arguments

x

a tensor.

axis

Axis along which to perform stacking (axis indexes are 1-based). Negative values wrap around, so the valid range is [R, -R].

num

An int. The length of the dimension axis. Automatically inferred if NULL (the default).

name

A name for the operation (optional).

Keras Backend

This function is part of a set of Keras backend functions that enable lower level access to the core operations of the backend tensor engine (e.g. TensorFlow, CNTK, Theano, etc.).

You can see a list of all available backend functions here: https://tensorflow.rstudio.com/reference/keras/index.html#backend.