TensorFlow.NET icon indicating copy to clipboard operation
TensorFlow.NET copied to clipboard

Linear Regression Eager

Open Maxtomouse opened this issue 5 years ago • 2 comments

Operator '*' cannot be applied to operands of type 'ResourceVariable' and 'NDArray'

I tried your first-page example but got this error on line:

var pred = W * X + b;

Maxtomouse avatar Sep 09 '21 17:09 Maxtomouse

why is this closed? im foing the first example of this getting started.

https://scisharp.github.io/tensorflow-net-docs/#/essentials/introduction?id=getting-started

W * X does not compile

this is the error:

Error CS0019 Operator '*' cannot be applied to operands of type 'ResourceVariable' and 'NDArray'

1knueller avatar Jan 20 '22 23:01 1knueller

I have the same issue.

ru-sh avatar Mar 28 '22 08:03 ru-sh