Comments (2)
It appears that simply
import tf_keras as tfk
and using tfk.*
instead of tf.keras.*
fixes the issue, but note that all documentation pages cited refer to tf.keras.*
So maybe that's suggestion for changing the documentation then.
from probability.
Thanks for the report!
I believe we have changed all of our documentation/examples in the TFP codebase to use tf_keras
instead of tf.keras
. But it doesn't look like these changes have been propagated to tensorflow.org -- e.g., I still see tf.keras
at https://www.tensorflow.org/probability/api_docs/python/tfp/layers/DistributionLambda .
I'll investigate to see why the documentation at tensorflow.org has not been updated.
from probability.
Related Issues (20)
- Error in documentation of experimental.sequential.extended_kalman_filter
- tfp.math.scan_associative doesn't work for all associative functions (it should be using `vmap` for `lowered_fn`)
- Variational inference for Conv2D layers
- MultivariateNormal* constructor crashes with Numpy 2.0 HOT 1
- Please clean up [email protected] mailing list. HOT 1
- instructions to build wheel from source not working HOT 1
- Mixture of tuple-valued distributions for TFP on JAX raises a TypeError
- Bayesian MCMC model and Bayesian regression analysis model HOT 2
- `JointDistribution`s yield different PRNG behaviour on GPU and CPU
- MLE of lambda parameter in PowerTransform bijector HOT 3
- AttributeError: Tensorflow-Probabilty does not have right attribute HOT 4
- Saving a Keras model that includes a mixture layer (e.g. MixtureNormal) might be unsafe
- How to build a bayesion hierarchical/multilevel modeling with tf-keras? HOT 5
- Unsafe variable naming in `JointDistributionCoroutine` HOT 5
- tf.keras and tfp.tfp.layers. are not compatible
- When using tfp.optimizer.lbfgs_minimize, encountered OperatorNotAllowedInGraphError: Iterating over a symbolic `tf.Tensor` is not allowed:
- Run fit_with_hmc with jit_compile activated
- New release for TF 2.17, JAX 4.31+? HOT 2
- how can i use tfp.math.psd_kernels.Polynomial, with feature_ndims=6,
- Something wrong with the creation of a Keras model with probabilistic layers. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from probability.