secondmind-labs / trieste

A Bayesian optimization toolbox built on TensorFlow
Apache License 2.0
219 stars 42 forks source link

Use correct dtype for empty box samples #847

Closed uri-granta closed 4 months ago

uri-granta commented 4 months ago

Related issue(s)/PRs:

Summary

sample_sobol and sample_halton should return an empty sample with the correct dtype for num_samples = 0

Fully backwards compatible: yes / no

PR checklist