Skip to content

Instantly share code, notes, and snippets.


Pankaj Bhambhani pankajb64

View GitHub Profile
pankajb64 /
Created Jul 26, 2020
Difference in KL divergence computation for Bayesian Fully Connected Layer
class BBBLinearFactorial(nn.Module):
Describes a Linear fully connected Bayesian layer with
a distribution over each of the weights and biases
in the layer.
def __init__(self, ...):
super(BBBLinearFactorial, self).__init__()
pankajb64 / RPS.sol
Last active May 30, 2018
Ethereum DAPP for playing Rock, Paper, Scissors. Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at
View RPS.sol
pragma solidity ^0.4.23;
contract RPS {
address player1;
address player2;
bytes32 commitment;
string play1;
string play2;
You can’t perform that action at this time.