Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> python >> python3-ml-collections
aramo  ]
[ 原始碼: python-ml-collections  ]

套件: python3-ml-collections (0.1.0-2ubuntu1)

collections designed for ML usecases

The package provices two classes called ConfigDict and FrozenConfigDict that are "dict-like" data structures with dot access to nested elements. Together, they are supposed to be used as a main way of expressing configurations of experiments and models.

Features:

 * Dot-based access to fields.
 * Locking mechanism to prevent spelling mistakes.
 * Lazy computation.
 * FrozenConfigDict() class which is immutable and hashable.
 * Type safety.
 * "Did you mean" functionality.
 * Human readable printing (with valid references and cycles), using
   valid YAML format.
 * Fields can be passed as keyword arguments using the ** operator.

There are two exceptions to the strong type-safety of the ConfigDict. int values can be passed in to fields of type float. In such a case, the value is type-converted to a float before being stored. Similarly, all string types (including Unicode strings) can be stored in fields of type str or unicode.

其他與 python3-ml-collections 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-absl
    Abseil Python Common Libraries
  • dep: python3-contextlib2
    Backport and enhancements for the contextlib module - Python 3.x
  • dep: python3-yaml
    YAML parser and emitter for Python3

下載 python3-ml-collections

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 53.6 kB319 kB [文件列表]