|
|
@@ -1,3 +1,7 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
# -*- coding utf-8 -*- |
|
|
|
# Copyright Huawei Technologies Co., Ltd 2019-2022. All rights reserved. |
|
|
|
|
|
|
|
import tensorflow as tf |
|
|
|
import numpy as np |
|
|
|
|
|
|
@@ -11,4 +15,4 @@ def generate_VarIsInitializedOp_pb(): |
|
|
|
tf.io.write_graph(sess.graph, logdir="./", name="test_VarIsInitializedOp.pb", as_text=False) |
|
|
|
|
|
|
|
if __name__=='__main__': |
|
|
|
generate_VarIsInitializedOp_pb() |
|
|
|
generate_VarIsInitializedOp_pb() |