Deepr

Latest version: v2.13.0

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.5.0

--------------------

Added
~~~~~
- Batched support for ``FromExample`` (use ``tf.train.parse_example`` instead of ``parse_single_example``)
- Support ``num_shards_embeddings=None`` in ``utils.save_checkpoint``
- Top1, Top1Max, BPRMax, NCE losses

Changed
~~~~~~~
- Various versions of requirements in ``requirements.txt``

Deprecated
~~~~~~~~~~
Removed
~~~~~~~
Fixed
~~~~~
Security
~~~~~~~~

2.4.2

--------------------

Added
~~~~~
- Allow user to ignore cpu packages shipped in the pex to Yarn
- URL formatter for MLFlow Macro
- More checks to ``vocab.write`` (check type, newlines)

2.4.1

--------------------

Fixed
~~~~~
- Fix incorrect inputs / outputs resolution in ``deepr.layers.Select``
- Fix edge cases of ``ToExample`` and ``FromExample`` (on scalars, tensors with dynamic shapes with ndims > 2)

2.4.0

--------------------

Added
~~~~~
- Utilities to ``metrics.base``: ``get_tensors``, ``keep_scalars``, ``get_scalars``
- New metrics for variables ``VariableValue`` that returns value / global norm of a variable

Changed
~~~~~~~
- ``LastValue`` metric does not store tensor values in a special metric variable.

2.3.0

--------------------

Added
~~~~~
- ``writers`` module, ``TFRecordWriter``
- ``ToExample`` prepro to convert a dataset to ``tf.Example``
- ``Field`` now has a ``to_feature(value)`` method
- ``iter`` utils: ``progress`` (logs progress every n seconds), ``chunks`` to return chunks from an iterable
- ``SaveDataset`` job to write a dataset to tfrecords.

Changed
~~~~~~~
- ``TFRecordSequenceExample`` renamed ``FromExample`` (but old name still available).
- ``Field`` method ``as_feature`` renamed ``feature_specs`` to avoid confusion with ``to_feature``.

Deprecated
~~~~~~~~~~
Removed
~~~~~~~
- Removed ``Field`` methods (leading to incorrect uses): ``has_var_len``, ``as_feature``, ``has_fixed_len``

Fixed
~~~~~
- Incorrect ``shuffle`` argument use in ``TFRecordReader``

Security
~~~~~~~~

2.2.0

------------

Added
~~~~~
ExportXlaModelMetadata job is added : make it possible to export metadata for xla models
Changed
~~~~~~~
Deprecated
~~~~~~~~~~
Removed
~~~~~~~
Fixed
~~~~~
Security
~~~~~~~~

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.