layer_input.Rd
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)
shape | Shape, not including the batch size. For instance,
|
---|---|
batch_shape | Shape, including the batch size. For instance,
|
name | 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. |
dtype | The data type expected by the input, as a string ( |
sparse | Boolean, whether the placeholder created is meant to be sparse. |
tensor | Existing tensor to wrap into the |
A tensor