https://github.com/deepmind/sonnet

sort by:
Revision Author Date Message Commit Date
65a8a04 Sonnet version 1.7 update. PiperOrigin-RevId: 162951774 24 July 2017, 17:15:00 UTC
75b4969 Fix python3 installation - merge of GH PR #54 PiperOrigin-RevId: 162951451 24 July 2017, 17:14:54 UTC
1c96671 Fixes style of tensor shapes in docstrings. PiperOrigin-RevId: 162747641 24 July 2017, 17:14:48 UTC
e20385a Update discussion around tf.nn.rnn_cell.RNNCell in Sonnet docs. PiperOrigin-RevId: 162746641 24 July 2017, 17:14:43 UTC
a473118 A more helpful error message from AbstractModule's _check_init_called (tells you the name of the offending class, which typically won't appear in the stack trace). PiperOrigin-RevId: 162626708 24 July 2017, 17:14:37 UTC
68de88e Use tf.layers.utils instead of tf.contrib.layers.utils in batch_norm. PiperOrigin-RevId: 162344641 24 July 2017, 17:14:28 UTC
939d4f3 Sonnet version update produced on Monday, 17. July 2017 PiperOrigin-RevId: 162230152 17 July 2017, 17:13:43 UTC
6d6d18c Sonnet changelog update produced on Monday, 17. July 2017 PiperOrigin-RevId: 162226163 17 July 2017, 17:03:28 UTC
b4c3e26 Remove unused py_func in masked convolution PiperOrigin-RevId: 162190992 17 July 2017, 17:03:21 UTC
b70bf58 Rename wheels to "dm-sonnet" and "dm-sonnet-gpu". The import name "sonnet" remains unchanged. PiperOrigin-RevId: 161937786 17 July 2017, 17:03:14 UTC
f23c46d Better error messages for BatchReshape. PiperOrigin-RevId: 161684007 17 July 2017, 17:03:08 UTC
1d67fab Support "None" entries in BatchApply's inputs. PiperOrigin-RevId: 161676977 17 July 2017, 17:03:01 UTC
a73d354 Add `custom_getter` option to convolution modules. PiperOrigin-RevId: 161651983 17 July 2017, 17:02:54 UTC
d4c6ab4 Allow MLP custom getter to be configured. PiperOrigin-RevId: 161567563 17 July 2017, 17:02:47 UTC
28c7777 Sonnet version update produced on Monday, 10. July 2017 PiperOrigin-RevId: 161534291 11 July 2017, 16:16:57 UTC
5456e33 Add IPython notebook that explains how Sonnet's BatchNorm module can be configured. PiperOrigin-RevId: 161191851 10 July 2017, 16:52:59 UTC
013b000 Accept string values as variable scope in snt.get_variables_in_scope and snt. get_normalized_variable_map. PiperOrigin-RevId: 161183031 10 July 2017, 16:52:54 UTC
5e58225 fix package name in docstrings. PiperOrigin-RevId: 160958733 10 July 2017, 16:52:47 UTC
34bb889 Mac-compatible fix for install.sh PiperOrigin-RevId: 160909229 10 July 2017, 16:52:42 UTC
043774c install.sh now supports relative paths as well as absolute. Fixes github issue 48. Thanks @githuboml for the suggestion. PiperOrigin-RevId: 160899365 10 July 2017, 16:52:36 UTC
2bd0193 Fixes default name of CausalConv1D. PiperOrigin-RevId: 160882252 10 July 2017, 16:52:26 UTC
6a8525b Update changelog for 1.4 PiperOrigin-RevId: 160837270 03 July 2017, 21:39:31 UTC
5bc33d9 Added all constructor arguments to ConvNet2D.transpose and ConvNet2DTranspose.transpose. PiperOrigin-RevId: 160825947 03 July 2017, 16:43:53 UTC
8dfcb3b is_training flags of _build functions no longer default to True PiperOrigin-RevId: 160639917 03 July 2017, 16:43:48 UTC
6cbdb93 Add a causal 1D convolutional layer. PiperOrigin-RevId: 160630591 03 July 2017, 16:43:43 UTC
aa81cfb Internal change PiperOrigin-RevId: 160627387 03 July 2017, 16:43:38 UTC
cc8dd84 Update how empty prefix string is handled to avoid accidentally removing the first letter of the scope name. PiperOrigin-RevId: 160556971 03 July 2017, 16:43:31 UTC
b477b25 Adding flatten_dict_items to snt.nest. PiperOrigin-RevId: 160554295 03 July 2017, 16:43:22 UTC
ef86d2e Conv1DTranspose modules can accept input with undefined batch sizes. PiperOrigin-RevId: 160485877 03 July 2017, 16:43:15 UTC
71048f7 Apply verification to output_shape in ConvTranspose modules; now allows the output_shape to be an integer. PiperOrigin-RevId: 160415901 03 July 2017, 16:43:08 UTC
1e7306c Remove stale dependency on nose-parameterized PiperOrigin-RevId: 160269659 03 July 2017, 16:43:00 UTC
05b739a Add some features missed from 1.3 changelog PiperOrigin-RevId: 160165859 27 June 2017, 10:12:54 UTC
7d92cac Convert method name to snake_case when defining name scope. PiperOrigin-RevId: 160158998 27 June 2017, 10:12:46 UTC
1981d56 Update changelog and version to 1.3 PiperOrigin-RevId: 160158383 27 June 2017, 10:12:35 UTC
2060928 Restructure documentation PiperOrigin-RevId: 160141074 26 June 2017, 16:02:27 UTC
77b40e2 Move resampler from sonnet to contrib. PiperOrigin-RevId: 160134565 26 June 2017, 16:01:44 UTC
60be2bb Move name functions to utils. PiperOrigin-RevId: 159947742 26 June 2017, 16:01:22 UTC
1b3434a Add `custom_getter` option to snt.AbstractModule and snt.Linear. PiperOrigin-RevId: 159848731 26 June 2017, 16:01:06 UTC
63681a6 Move tests of reuse_variables to utils.test. PiperOrigin-RevId: 159816988 26 June 2017, 16:00:44 UTC
458ff96 Determine default snt.Module name from the passed callable. PiperOrigin-RevId: 159725156 26 June 2017, 16:00:15 UTC
6a1244d Make RNNCore stop inheriting from RNNCell. PiperOrigin-RevId: 159688014 26 June 2017, 15:59:29 UTC
ffbaf27 Update Tensorflow submodule to 1.2. 22 June 2017, 10:43:57 UTC
32395f9 Internal change PiperOrigin-RevId: 159678581 21 June 2017, 11:27:34 UTC
5cca267 Added default output shapes for ConvTranspose modules. PiperOrigin-RevId: 159678052 21 June 2017, 11:24:10 UTC
abf71e1 remove explicit dependency on tensorflow 1.0.1 GitOrigin-RevId=970a97e3a20e0ba53386b4d85141ade45ff7a89b PiperOrigin-RevId: 159671292 21 June 2017, 11:24:05 UTC
ffa0e42 Fix CUDA dependencies of bazel GPU build. PiperOrigin-RevId: 159441644 21 June 2017, 11:23:59 UTC
d61b885 Update changelog, bump to version 1.2 PiperOrigin-RevId: 159441579 21 June 2017, 11:23:54 UTC
058eb11 Fix bad docstring in BatchFlatten. Add test to assert behavior is as described. PiperOrigin-RevId: 159431117 21 June 2017, 11:23:49 UTC
5cd8243 Fix CUDA dependencies of bazel GPU build. PiperOrigin-RevId: 159430170 21 June 2017, 11:23:44 UTC
93d5471 Deprecates the use_batch_norm_* options to LSTM. Please switch to BatchNormLSTM if you require these options, in a future version they will no longer be supported by LSTM. PiperOrigin-RevId: 159420083 21 June 2017, 11:23:39 UTC
0944fc6 Promote the @reuse_vars decorator out of experimental by moving it into util.py PiperOrigin-RevId: 159241452 21 June 2017, 11:23:33 UTC
c345d9e Cleanup on LSTM/RNN state names in Sonnet. Renaming states from `prev` and `new` to `prev` and `next` for consistency with the traditional naming/convention used in basic_rnn.py and the documentation. PiperOrigin-RevId: 159220895 21 June 2017, 11:23:28 UTC
3ba6a2a Add documentation based on Sphinx The documentation can be generated by running `make docs` in the repository. Output files can be found in the `docs/_build` directory. The documentation currently reflects the contents of `README.md`. Docstrings that use markdown are correctly rendered in the API documentation. Pandoc and the pypandoc package need to be installed for this to work. PiperOrigin-RevId: 159215223 21 June 2017, 11:23:23 UTC
b8a9a31 Add preserve_dims parameter for BatchReshape. Multiple unknown dimensions are allowed too. PiperOrigin-RevId: 159118158 21 June 2017, 11:23:18 UTC
c99083d Add hidden / cell clipping to LSTM. PiperOrigin-RevId: 159109033 21 June 2017, 11:23:12 UTC
fb1d5a2 Add check to Alexnet module that dropout is not being used when is_training flag is set to False. PiperOrigin-RevId: 159086181 21 June 2017, 11:23:07 UTC
a83fec3 Set group_sliced_variables to True by default. PiperOrigin-RevId: 158996130 21 June 2017, 11:23:03 UTC
0bd96d5 Update docstrings for the partitioners and regularizers arguments PiperOrigin-RevId: 158995836 21 June 2017, 11:22:57 UTC
d8e6e4c Print a warning when DeepRNN heuristic for output_size may be incorrect PiperOrigin-RevId: 158991366 21 June 2017, 11:22:52 UTC
80d0f4a Passes through inferred data type to bias and weight initializers. This results in more meaningful error messages if using non-float data types with the default initializer. We could in future offer different default initializers for non-float types. PiperOrigin-RevId: 158985788 21 June 2017, 11:22:47 UTC
4a6873c Add .output_size property to MLP. This allows it to be used in DeepRNN. PiperOrigin-RevId: 158973972 21 June 2017, 11:22:39 UTC
e3b5eba Internal change PiperOrigin-RevId: 158971193 21 June 2017, 11:22:34 UTC
8b7add6 Remove deprecated properties in AbstractModule. These have been providing deprecation warnings for quite a while now. If this change breaks your code, the fix is changing all .name references to .scope_name, and all .var_scope references to .variable_scope PiperOrigin-RevId: 158849184 21 June 2017, 11:22:26 UTC
9f148d1 Ensure sensible snake_case conversions of CamelCase. PiperOrigin-RevId: 158842782 21 June 2017, 11:22:11 UTC
d886aaf Fix typos and formatting in changelog PiperOrigin-RevId: 158835303 13 June 2017, 12:42:22 UTC
a4a2fd6 reinforce example GitOrigin-RevId=41b62948a57b6c67f499f7743d7cef367fb53013 PiperOrigin-RevId: 158737717 12 June 2017, 18:29:05 UTC
3fd7d9d Add Changelog and bump version to 1.1 PiperOrigin-RevId: 158735890 12 June 2017, 18:28:59 UTC
f3921b1 Add statement in contrib directory. PiperOrigin-RevId: 158731193 12 June 2017, 18:28:54 UTC
542e5da Cause Sonnet modules to throw an error if pickled. PiperOrigin-RevId: 158724425 12 June 2017, 18:28:49 UTC
5d6357f Clarify readme that serializing Sonnet modules is not supported. PiperOrigin-RevId: 158713914 12 June 2017, 18:28:44 UTC
df53261 Improve coverage stats. * Add missing test. * Remove check for situation that can never occur. If self._graph is not defined this means __init__ has not yet been called. This is an error and will be caught by self._check_init_called(). * Remove unnecessary use of pass. PiperOrigin-RevId: 158711427 12 June 2017, 18:28:38 UTC
4c6bdcf Use tolerance to fix initializers_test. PiperOrigin-RevId: 158708184 12 June 2017, 18:28:32 UTC
b5a480c Raise an error if __call__ is called before __init__. Currently if this is attempted, an AttributeError is raised. This change provides a more explicit (and more helpful) error message. PiperOrigin-RevId: 158019730 12 June 2017, 18:28:27 UTC
4437dcf Use class name as the default module name. * If no module name provided, use the class name converted to snake_case (without leading underscores). * Raise a TypeError on a type error instead of a ValueError. PiperOrigin-RevId: 158014533 12 June 2017, 18:28:22 UTC
5150639 Add Residual and SkipConnection wrappers. PiperOrigin-RevId: 157958992 12 June 2017, 18:28:16 UTC
1bfe7c5 Add a group_sliced_variables option to get_normalized_variable_map() that groups partitioned variables in its return value, in line with what tf.Saver expects to receive. This ensures that partitioned variables end up being treated as a unit when saving checkpoints / model snapshots with tf.Saver. The option is set to False by default, for backwards compatibility reasons. PiperOrigin-RevId: 157838363 12 June 2017, 18:28:11 UTC
8c6540d Add support for named arguments and nested dictionaries to snt.BatchApply, and support None in return. PiperOrigin-RevId: 157726045 12 June 2017, 18:28:05 UTC
85a58de Fix GPU build failure. PiperOrigin-RevId: 157696653 12 June 2017, 18:28:00 UTC
601c4f3 Make calling AbstractModule.__init__ without named arguments throw an exception. PiperOrigin-RevId: 157694146 12 June 2017, 18:27:54 UTC
03ada1f Fix typos in mlp.py and convnet.py. PiperOrigin-RevId: 157639586 12 June 2017, 18:27:47 UTC
1f1fc35 Update io_bazel_rules_closure dependency. PiperOrigin-RevId: 157573864 12 June 2017, 18:27:39 UTC
b3a4c2c Use nest functions from tensorflow.contrib PiperOrigin-RevId: 157480641 12 June 2017, 18:27:34 UTC
1a7968a snt.Linear.transpose now uses snt.Linear's partitioners PiperOrigin-RevId: 157107275 12 June 2017, 18:27:28 UTC
48448e1 Separate graph construction from training in RNN example. PiperOrigin-RevId: 156997379 12 June 2017, 18:27:20 UTC
e765cae Adds a log_variables() function that logs all variables with their shapes, types, collections, and device assignments. PiperOrigin-RevId: 156863114 12 June 2017, 18:27:13 UTC
40995a5 Correct constructor docstring for AbstractModule. PiperOrigin-RevId: 156734036 22 May 2017, 16:35:42 UTC
ea9965e Improve snt.BatchNorm documentation. PiperOrigin-RevId: 156428584 22 May 2017, 16:35:32 UTC
2c70faf Add link to TensorFlow docs for VALID/SAME and fix existing links. PiperOrigin-RevId: 156176530 22 May 2017, 16:35:17 UTC
e3d1fe7 Implementation of Layer Normalization (https://arxiv.org/abs/1607.06450) for LSTM module. PiperOrigin-RevId: 154567537 15 May 2017, 17:08:29 UTC
578e336 fixes for python3 compatibility GitOrigin-RevId=083515c1b58437e98c4ebd5935bd791d31a3a007 PiperOrigin-RevId: 154559781 28 April 2017, 18:11:26 UTC
697c20f Setup Sonnet Jenkins tests for py2. PiperOrigin-RevId: 154536824 28 April 2017, 18:11:21 UTC
23972bb Fix Clone tests to be compatible with TF 1.0.1. PiperOrigin-RevId: 154470055 28 April 2017, 18:11:16 UTC
a4c239c 1. Add a clone method to snt.Linear 2. Add property getters for initializers, partitioners and regularizers PiperOrigin-RevId: 154435159 28 April 2017, 18:11:10 UTC
4afced7 1. Add a clone method to snt.Conv2D 2. Add property getters for mask and data_format PiperOrigin-RevId: 154433148 28 April 2017, 18:11:05 UTC
b31ec4d Implementation of Layer Normalization (https://arxiv.org/abs/1607.06450) as a Sonnet module. PiperOrigin-RevId: 154290279 28 April 2017, 18:11:00 UTC
a0b0d63 Allow passing in a string to tf.get_variables_in_scope. PiperOrigin-RevId: 154182793 28 April 2017, 18:10:54 UTC
c9f0da7 Remove shortDescription tests. PiperOrigin-RevId: 153817756 21 April 2017, 12:46:49 UTC
edfce8e Change rnn_shakespeare_test to depend on rnn_shakespeare. PiperOrigin-RevId: 153811930 21 April 2017, 10:38:14 UTC
9d20983 Workaround for crash in some broken GCC compiler versions. PiperOrigin-RevId: 153595288 19 April 2017, 16:26:16 UTC
5ab8510 Fix doc-level comment for batch_norm_test. PiperOrigin-RevId: 153570174 19 April 2017, 16:26:11 UTC
back to top