Skip to contents

Function written in C++ for transformation the tensor (with size batch x times x features) to the matrix (with size batch x times*features)

Usage

tensor_to_matrix_c(tensor, times, features)

Arguments

tensor

3-D array (cube) data as tensor (with size batch x times x features)

times

unsigned integer times number

features

unsigned integer features number

Value

Returns matrix (with size batch x times*features)