R/backend.R

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) 

Arguments

Arguments Description
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).

Section

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://keras.rstudio.com/articles/backend.html#backend-functions.

Value

A tensor.