Open axinging opened 1 year ago
@axinging There is a circular reference in the backend object, which on the tensor/texData map (pointing back to the backend object), which is causing the error for console log. But the methods related to backend are on the tfjs-core engine object, I don't think the other errors you mentioned are related to the console.log issue.
Hi, @axinging
Apologize for the delayed response and I tried to replicate the same issue from my end with latest version of @tensorflow/tfjs@4.10.0
and still I'm getting the same error messages which you mentioned above with console.log()
for your reference I have added screenshot below. please refer above comment from @pyu10055
Above mentioned APIs don't have test code in the API page. Thank you!
CC :@pyu10055
In the API page(https://js.tensorflow.org/api/latest), when try console.log(tf), it complains:
when try console.log(tf.backend()), it complains
Also I noticed that below APIs doesn't have test code in the API page, is this intended behaviour? tf.backend tf.getBackend tf.ready tf.registerBackend tf.removeBackend tf.setBackend
If tf.backend() is not supported in the API page, then the two cases mentioned in https://github.com/tensorflow/tfjs/issues/7289 may possibly fail to run.