Learn R Programming

tensorflow (version 2.16.0)

shape: Create a tf.TensorShape object

Description

Create a tf.TensorShape object

Usage

shape(..., dims = list(...))

Arguments

...

Tensor dimensions as integers or NULL for an unknown dimensions. NA and -1 are synonyms for NULL.

dims

Tensor dimensions as a vector.

See Also