Bihaqo / t3f

Tensor Train decomposition on TensorFlow
https://t3f.readthedocs.io/en/latest/index.html
MIT License
219 stars 55 forks source link

Turn all initializers into functions #76

Open Bihaqo opened 7 years ago

Bihaqo commented 7 years ago

Right now all initializers return TT objects and we can set the variable with them. TF likes when initializers are functions which can generate tensor on demand (like tf.contrib.layers.xavier_initializer), this way we may avoid potential problems with things like tf.while_loop