[FR] Allow nps.loglik
, nps.ar_loglik
and nps.ar_predict
to work with numpy arrays
#7
Labels
enhancement
New feature or request
Currently, with a TensorFlow backend, I believe all the array inputs to
nps.loglik
,nps.ar_loglik
andnps.ar_sample
need to be TensorFlow tensors, e.g.tf.EagerTensor
s. It would be convenient if users withnumpy
arrays did not have to explicitly cast all their data to TensorFlow before calling these methods. This dtype behaviour is supported withmodel.__call__
functionality inneuralprocesses
so my hunch is that this shouldn't be too tricky...cc @stratisMarkou
The text was updated successfully, but these errors were encountered: