Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ensure_binary (0.11 sec)

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

        # Without the SaverDef, the restore op won't be named correctly.
        saver_file = os.path.join(out_dir, 'test_graph_tfadd_with_ckpt_saver.saver')
        with open(saver_file, 'wb') as f:
          f.write(six.ensure_binary(saver.as_saver_def().SerializeToString()))
    
    
    def tfassert_eq(_):
      x = array_ops.placeholder(dtypes.int32, name='x_hold')
      y = array_ops.placeholder(dtypes.int32, name='y_hold')
      control_flow_assert.Assert(
    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