Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

Module: tfp.layers.util

View source on GitHub

Utilities for probabilistic layers.


default_loc_scale_fn(...): Makes closure which creates loc, scale params from tf.get_variable.

default_mean_field_normal_fn(...): Creates a function to build Normal distributions with trainable params.

default_multivariate_normal_fn(...): Creates multivariate standard Normal distribution.

deserialize_function(...): Deserializes the Keras-serialized function.

serialize_function(...): Serializes function for Keras.