layer_input | R Documentation |
layer_input()
is an alias for keras_input()
.
See ?
keras_input()
for the full documentation.
layer_input(
shape = NULL,
batch_size = NULL,
dtype = NULL,
sparse = NULL,
batch_shape = NULL,
name = NULL,
tensor = NULL,
optional = FALSE
)
shape |
A shape list (list of integers or |
batch_size |
Optional static batch size (integer). |
dtype |
The data type expected by the input, as a string
(e.g. |
sparse |
A boolean specifying whether the expected input will be sparse
tensors. Note that, if |
batch_shape |
Optional shape list (list of integers or |
name |
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. |
tensor |
Optional existing tensor to wrap into the |
optional |
Boolean, whether the input is optional or not.
An optional input can accept |
A Keras tensor,
which can passed to the inputs
argument of (keras_model()
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.