xuxingya

Results 3 comments of xuxingya

``` def find(x): tmp = [] while x!=union_find[x]: tmp.append(x) x = union_find[x] for i in tmp: union_find[i] = x return x ``` 把find方法替换成上面的就好。

I am sorry that currently I am not able to test this problem. You can try implement a get_config() function according to this [tensorflow tutorial](https://www.tensorflow.org/guide/keras/custom_layers_and_models). It is simple.