fsharp-ai-tools icon indicating copy to clipboard operation
fsharp-ai-tools copied to clipboard

Readme example doesn't work

Open pkese opened this issue 5 years ago • 1 comments

I'm trying to run the example code in README.md

let f (xs: DT<double>) = 
     sin (v 0.5 * sqr xs.[0] - v 0.25 * sqr xs.[1] + v 3.0) * -cos (v 2.0 * xs.[0] + v 1.0 - exp xs.[1])

and getting

error FS0001: The type 'DT<float>' does not support the operator 'Sin'

image

pkese avatar Jan 16 '20 12:01 pkese

Thanks Peter for bringing this to our attention. We will clean up the README.md as part of the update to TF.Net 1.14.0. For now it's best to use the tests as a guide.

moloneymb avatar Jan 17 '20 10:01 moloneymb