View source: R/distribution-layers.R
layer_multivariate_normal_tri_l | R Documentation |
d+d*(d+1)/ 2
paramsA d-variate Multivariate Normal TriL Keras layer from d+d*(d+1)/ 2
params
layer_multivariate_normal_tri_l( object, event_size, convert_to_tensor_fn = tfp$distributions$Distribution$sample, validate_args = FALSE, ... )
object |
What to compose the new
|
event_size |
Integer vector tensor representing the shape of single draw from this distribution. |
convert_to_tensor_fn |
A callable that takes a tfd$Distribution instance and returns a
tf$Tensor-like object. Default value: |
validate_args |
Logical, default FALSE. When TRUE distribution parameters are checked for validity despite possibly degrading runtime performance. When FALSE invalid inputs may silently render incorrect outputs. Default value: FALSE. |
... |
Additional arguments passed to |
a Keras layer
For an example how to use in a Keras model, see layer_independent_normal()
.
Other distribution_layers:
layer_categorical_mixture_of_one_hot_categorical()
,
layer_distribution_lambda()
,
layer_independent_bernoulli()
,
layer_independent_logistic()
,
layer_independent_normal()
,
layer_independent_poisson()
,
layer_kl_divergence_add_loss()
,
layer_kl_divergence_regularizer()
,
layer_mixture_logistic()
,
layer_mixture_normal()
,
layer_mixture_same_family()
,
layer_one_hot_categorical()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.