Skip to content

Commit

Permalink
redocument
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Jul 17, 2023
1 parent f4a7d7a commit dc31d4f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions R/layers-embedding.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
#' This layer accepts `tf.Tensor`, `tf.RaggedTensor` and `tf.SparseTensor`
#' input.
#'
#' @param object Layer or Model object
#'
#' @param input_dim Integer. Size of the vocabulary,
#' i.e. maximum integer index + 1.
#'
Expand All @@ -21,8 +23,8 @@
#' @param embeddings_initializer Initializer for the `embeddings`
#' matrix (see `keras.initializers`).
#'
#' @param embeddings_regularizer Regularizer function applied to
#' the `embeddings` matrix (see `keras.regularizers`).
#' @param embeddings_regularizer,activity_regularizer Regularizer function applied to
#' the `embeddings` matrix or to the activations (see `keras.regularizers`).
#'
#' @param embeddings_constraint Constraint function applied to
#' the `embeddings` matrix (see `keras.constraints`).
Expand All @@ -44,6 +46,7 @@
#' the layer returns a dense `tf.Tensor`. For an entry with no features in
#' a sparse tensor (entry with value 0), the embedding vector of index 0 is
#' returned by default.
#'
#' @param ... standard layer arguments.
#'
#' @section Input shape: 2D tensor with shape: `(batch_size, sequence_length)`.
Expand Down
2 changes: 1 addition & 1 deletion man/install_keras.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions man/layer_embedding.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dc31d4f

Please sign in to comment.