Skip to content

visualkeras 0.2.0

Latest

Choose a tag to compare

@Soontosh Soontosh released this 14 Oct 00:47
· 105 commits to master since this release

0.2.0 (2025-10-13)

Ninth release: Easier preset options and structured API.

Features:

  • Added typed LayeredOptions and GraphOptions dataclasses with preset arguments for layered_view and graph_view
  • Added presets for text_callable for common use cases with regards to captions under layers
  • Extended layered_view and graph_view to accept options= and preset= keyword arguments so that the new dataclasses can be used without breaking backwards compatibility.
  • We now raise RuntimeError for unsupported model structures to avoid confusing tracebacks.
  • Created a .help() docstring on the initialization file to allow easier understanding on certain IDEs.

Developer changes:

  • Re-exported options and preset defaults from the package root to make the structured API easy to import.
  • Added get_layers to simplify extracting layers from a Keras/TF model.
  • Added significant amount of docstrings throughout the codebase
  • Add slight clarifications around formatting for CONTRIBUTING.md
  • Misc. improvements to README.md

In this update, we upgrade to a brand new MINOR version as specified in Semantic Versioning: https://semver.org/. visualkeras follows Semantic Versioning loosely. We will usually follow their versioning guidelines except for cases in which very small pieces of functionality are added which we feel are not enough to warrant an entire new MINOR version (e.g., visualkeras v0.1.5).