tensorflow / tensorflow/probability

How to initialize weights and bias for a tfp.layers.Convolution2DFlipout from a pre-trained tf.keras.layers.Conv2D?

Open
#1,364 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
4.4k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

how to initialize weights and bias for model build using tfp.layers.Convolution2DFlipout from a pre-trained model with tf.keras.layers.Conv2D. Both having the same number of layers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no file or test. Start by reading the APIs for tfp.layers.Convolution2DFlipout and tf.keras.layers.Conv2D, then verify weight transfer in a minimal model with matching layer counts. Done means providing a documented initialization procedure or clearly stating the compatibility limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
keras, tensorflow
Domain
machine-learning
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.