ding0706

Results 3 comments of ding0706

Thanks for your kindly help. I guess my code can load the saved model now, but it causes an error: > NotFound: Op type not registered 'NearestNeighbors' in binary running...

Since contrib ops are lazily registered when the module is first accessed, we should access them first before loading a saved graph which used ops from tf.contrib. In python, this...

I solved this problem by compiling [clustring_ops ](https://github.com/tensorflow/tensorflow/blob/9054c9b2ac303cbd1538166d0821f389cbc75894/tensorflow/contrib/factorization/kernels/clustering_ops.cc) to a dynamic library and load it through [Library::load](https://tensorflow.github.io/rust/tensorflow/struct.Library.html), but i wonder if there's any better way.