Skip to content

Conversation

@cryptopic
Copy link
Contributor

Summary: Add support for populating domain_discrete field in TensorBoard add_hparams API

Test Plan: Unit test test_hparams_domain_discrete

Differential Revision: D22291347

Summary: Add support for populating domain_discrete field in TensorBoard add_hparams API

Test Plan: Unit test test_hparams_domain_discrete

Differential Revision: D22291347

fbshipit-source-id: 98a9ff203ead40e555dab8af7dc2d47df312402b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D22291347

mt = {"accuracy": 0.1}
hp_domain = {"lr": [0.1], "bool_var": [True], "string_var": ["hi"]}
# only smoke test. Because protobuf map serialization is nondeterministic.
summary.hparams(hp, mt, hp_domain)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you construct the expected proto separately and compare it to whats expected from summary.hparams?

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 01e2099.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants