UTC: 2018-01-13 19:24 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
use std::cell::RefCell; | |
fn my_mutator(cell: &RefCell<u8>) { | |
// Even though we're given an immutable reference, | |
// the `replace` method allows us to modify the inner value. | |
cell.replace(14); | |
} | |
fn main() { | |
let cell = RefCell::new(25); |
UTC: 2018-01-13 19:24 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2017-10-31 03:56 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2017-09-18 03:38 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2017-04-07 23:13 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2017-03-19 14:34 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
UTC: 2017-03-14 02:30 bspeice/au_packages
This file is automatically generated by the update_all.ps1 script using the AU module.
import edward as ed | |
from edward import models as md | |
import tensorflow as tf | |
import pandas as pd | |
import numpy as np | |
# Using float32's everywhere because there's no DiscreteUniform, so typing is weird. | |
data = pd.read_csv('txtdata.csv', header=None).values[:,0].astype(dtype=np.float32) | |
n = len(data) |