Draft

when $x_i < y_i$, we have
$$
x_i^3 < y_i^3
$$

def convert_pb_to_pbtxt(filename):
    with gfile.FastGFile(filename, 'rb') as f:
        graph_def = tf.GraphDef()

        graph_def.ParseFromString(f.read())

        tf.import_graph_def(graph_def, name='')

        tf.train.write_graph(graph_def, './', 'protobuf.pbtxt', as_text=True)
    return
daqing

Related Posts