Closed hesilong closed 6 years ago
by my book, it's all working as expected :)
what the tensorgo
function is returning is a 1-element list (that element happens to be a 2-element list...)
you subtract 1 to that length, so, 0 is the expected answer.
Feel free to re-open if something isn't quite clear.
PS: I took the liberty to slightly edit your original post for better code formating
Thank you very much, I'll try again!
hello: Recently,I came across an issue. when I try to call a python's method which was supposed to return a list whose elements were also list,like this [[1.23, 4.56]], but it return []. My code shows below: Golang:
python:
Run the Golang Server, and call the func test(), output is:
I'm not sure whether my procedure is wrong or not. If you have any idea, please tell me. Thanks!