Layer to be used as an entry point into a graph.
layer_input( shape = NULL, batch_shape = NULL, name = NULL, dtype = NULL, sparse = FALSE, tensor = NULL, ragged = FALSE )
Shape, not including the batch size. For instance,
Shape, including the batch size. For instance,
An optional name string for the layer. Should be unique in a model (do not reuse the same name twice). It will be autogenerated if it isn't provided.
The data type expected by the input, as a string (
Boolean, whether the placeholder created is meant to be sparse.
Existing tensor to wrap into the
A boolean specifying whether the placeholder to be created is
ragged. Only one of 'ragged' and 'sparse' can be