Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Conversation

@cgranade
Copy link
Contributor

This PR uses microsoft/qsharp-runtime#151 to add a new verbosity option to the TrainingOptions UDT. This option allowed for diagnosing microsoft/Quantum#315 more precisely, during which it was identified that the caching of input encoders could improve performance. This PR also implements that solution.

@cgranade cgranade requested review from alan-geller and bettinaheim and removed request for bettinaheim February 22, 2020 02:36
Copy link
Contributor

@bettinaheim bettinaheim left a comment

Choose a reason for hiding this comment

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

Looks good, aside from the package numbers.


// Used only to populate default training options to ignore verbose
// messages.
function _Ignored(value : String) : Unit {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we have a type parametrized ignore function in the standard libraries?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We do, yes. I was thinking it was an operation for some reason. I guess I did need more caffeine after all. Thanks for catching that!

@cgranade
Copy link
Contributor Author

Looks good, aside from the package numbers.

Thanks for the review! The package numbers should work, since that's the beta package built from microsoft/qsharp-runtime#151, and since the end-to-end build will clobber package versions anyway.

@cgranade cgranade merged commit df27b30 into microsoft:feature/qml Feb 23, 2020
@cgranade cgranade deleted the cgranade/use-udt-perf branch February 23, 2020 02:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants