Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for as_graph_def (0.19 sec)

  1. tensorflow/compiler/aot/tests/make_test_graphs.py

        build_graph(out_dir)
        filename = os.path.join(out_dir, 'test_graph_%s.pb' % build_graph.__name__)
        with open(filename, 'wb') as f:
          f.write(
              six.ensure_binary(
                  g.as_graph_def().SerializeToString(deterministic=True)
              )
          )
    
    
    def main(_):
      control_flow_util.enable_control_flow_v2()
      write_graph(tfadd, FLAGS.out_dir)
      write_graph(tfadd_with_ckpt, FLAGS.out_dir)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top