Skip to content

Commit 8531c69

Browse files
Johannes Ballécopybara-github
authored andcommitted
Documentation updates for release 2.8.1.
PiperOrigin-RevId: 431990216 Change-Id: Ib2a0d85f41c70d145a9c5ea805a911165050ef6c
1 parent 08578b4 commit 8531c69

16 files changed

+175
-45
lines changed

docs/api_docs/python/tfc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ Data compression in TensorFlow.
122122

123123
[`round_st(...)`](./tfc/round_st.md): Straight-through round with optional quantization offset.
124124

125+
[`run_length_gamma_decode(...)`](./tfc/run_length_gamma_decode.md): Decodes `data` using run-length and Elias gamma coding.
126+
127+
[`run_length_gamma_encode(...)`](./tfc/run_length_gamma_encode.md): Encodes `data` using run-length and Elias gamma coding.
128+
125129
[`same_padding_for_kernel(...)`](./tfc/same_padding_for_kernel.md): Determine correct amount of padding for `same` convolution.
126130

127131
[`soft_round(...)`](./tfc/soft_round.md): Differentiable approximation to round().

docs/api_docs/python/tfc/ContinuousBatchedEntropyModel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ A JSON-serializable Python dict.
594594

595595
<h3 id="get_weights"><code>get_weights</code></h3>
596596

597-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L340-L341">View source</a>
597+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L341-L342">View source</a>
598598

599599
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
600600
<code>get_weights()
@@ -658,7 +658,7 @@ A `tf.Tensor` containing the quantized values.
658658

659659
<h3 id="set_weights"><code>set_weights</code></h3>
660660

661-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L343-L348">View source</a>
661+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L344-L349">View source</a>
662662

663663
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
664664
<code>set_weights(

docs/api_docs/python/tfc/ContinuousIndexedEntropyModel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,7 +618,7 @@ Returns the configuration of the entropy model.
618618

619619
<h3 id="get_weights"><code>get_weights</code></h3>
620620

621-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L340-L341">View source</a>
621+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L341-L342">View source</a>
622622

623623
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
624624
<code>get_weights()
@@ -678,7 +678,7 @@ A `tf.Tensor` containing the quantized values.
678678

679679
<h3 id="set_weights"><code>set_weights</code></h3>
680680

681-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L343-L348">View source</a>
681+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L344-L349">View source</a>
682682

683683
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
684684
<code>set_weights(

docs/api_docs/python/tfc/GDN.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,9 +682,7 @@ may also be zero-argument callables which create a loss tensor.
682682
`**kwargs`
683683
</td>
684684
<td>
685-
Additional keyword arguments for backward compatibility.
686-
Accepted values:
687-
inputs - Deprecated, will be automatically inferred.
685+
Used for backwards compatibility only.
688686
</td>
689687
</tr>
690688
</table>

docs/api_docs/python/tfc/LocationScaleIndexedEntropyModel.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ Returns the configuration of the entropy model.
543543

544544
<h3 id="get_weights"><code>get_weights</code></h3>
545545

546-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L340-L341">View source</a>
546+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L341-L342">View source</a>
547547

548548
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
549549
<code>get_weights()
@@ -614,7 +614,7 @@ A `tf.Tensor` containing the quantized values.
614614

615615
<h3 id="set_weights"><code>set_weights</code></h3>
616616

617-
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L343-L348">View source</a>
617+
<a target="_blank" href="https://github.com/tensorflow/compression/tree/master/tensorflow_compression/python/entropy_models/continuous_base.py#L344-L349">View source</a>
618618

619619
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
620620
<code>set_weights(

docs/api_docs/python/tfc/SignalConv1D.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,7 @@ may also be zero-argument callables which create a loss tensor.
893893
`**kwargs`
894894
</td>
895895
<td>
896-
Additional keyword arguments for backward compatibility.
897-
Accepted values:
898-
inputs - Deprecated, will be automatically inferred.
896+
Used for backwards compatibility only.
899897
</td>
900898
</tr>
901899
</table>

docs/api_docs/python/tfc/SignalConv2D.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,7 @@ may also be zero-argument callables which create a loss tensor.
893893
`**kwargs`
894894
</td>
895895
<td>
896-
Additional keyword arguments for backward compatibility.
897-
Accepted values:
898-
inputs - Deprecated, will be automatically inferred.
896+
Used for backwards compatibility only.
899897
</td>
900898
</tr>
901899
</table>

docs/api_docs/python/tfc/SignalConv3D.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -893,9 +893,7 @@ may also be zero-argument callables which create a loss tensor.
893893
`**kwargs`
894894
</td>
895895
<td>
896-
Additional keyword arguments for backward compatibility.
897-
Accepted values:
898-
inputs - Deprecated, will be automatically inferred.
896+
Used for backwards compatibility only.
899897
</td>
900898
</tr>
901899
</table>

docs/api_docs/python/tfc/SoftRound.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,7 @@ may also be zero-argument callables which create a loss tensor.
403403
`**kwargs`
404404
</td>
405405
<td>
406-
Additional keyword arguments for backward compatibility.
407-
Accepted values:
408-
inputs - Deprecated, will be automatically inferred.
406+
Used for backwards compatibility only.
409407
</td>
410408
</tr>
411409
</table>

docs/api_docs/python/tfc/SoftRoundConditionalMean.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -403,9 +403,7 @@ may also be zero-argument callables which create a loss tensor.
403403
`**kwargs`
404404
</td>
405405
<td>
406-
Additional keyword arguments for backward compatibility.
407-
Accepted values:
408-
inputs - Deprecated, will be automatically inferred.
406+
Used for backwards compatibility only.
409407
</td>
410408
</tr>
411409
</table>

0 commit comments

Comments
 (0)