| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 213944932
|
|
|
|
| |
PiperOrigin-RevId: 210483116
|
|
|
|
| |
PiperOrigin-RevId: 207577648
|
|
|
|
|
|
|
|
| |
Previously there was python/keras/engine/__init__.py, which required every import of Layer (for example) to also import Network (since Python will not import a file in a directory without running its __init__.py file).
I'm working on adding automatic attribute tracking to Checkpointable (and Network) and so need to insert things between Layer and Network.
PiperOrigin-RevId: 201743850
|
|
|
|
| |
PiperOrigin-RevId: 197097430
|
|
|
|
| |
PiperOrigin-RevId: 196906815
|
|
|
|
|
|
|
| |
Also split range_coder_ops.cc and range_coder_ops_util.cc into separate targets
so that dependence to range_coder_ops_util.cc does not register kernels again.
PiperOrigin-RevId: 194024410
|
|
|
|
| |
PiperOrigin-RevId: 193972549
|
|
|
|
|
|
|
|
|
|
| |
less than 2**precision.
Prior to the change, the op did nothing when the sum of quantized pmf was less
than 2**precision. While the produced CDF was valid for range coders,
adjustments to CDF could be made to achieve better compression rate.
PiperOrigin-RevId: 193558740
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The added op transforms probability mass functions (PMF) to quantized
cumulative distribution function (CDF), which can be used by range coder ops in
contrib/coder.
The op takes greedy approach to ensure that the post-quantization probability
masses do not sum over the maximum quantized value. The op does not make any
adjustment when the post-quantization probability masses already sum less than
the maximum value.
PiperOrigin-RevId: 192827779
|
|
|
|
| |
PiperOrigin-RevId: 190878279
|
|
|
|
| |
PiperOrigin-RevId: 184897758
|
|
|
|
|
|
| |
They don't make sense in the open source repository.
PiperOrigin-RevId: 183140889
|
|
PiperOrigin-RevId: 182293433
|