message: Save savedmodel correctly
diff: @@ -252,7 +252,6 @@ class Testtf2ngraph(NgraphTest):
  assert rc != 0, "Ran tf2ngraph with non-existent backend," + \
  " hence expecting non-zero status"
  -
  def test_contains_variables(self):
  export_dir = 'saved_model'
  x = tf.placeholder(tf.float32, [None, 784], name='x')
  @@ -260,8 +259,12 @@ class Testtf2ngraph(NgraphTest):
  matmul = tf.matmul(x, W, name='mm')
  with tf.Session() as sess:
  sess.run(tf.global_variables_initializer())
  - saver = tf.train.Saver()
  - saver.save(sess, export_dir, global_step=1)
  + builder = tf.saved_model.builder.SavedModelBuilder(export_dir)
  + builder.add_meta_graph_and_variables(
  + sess, [tf.saved_model.tag_constants.TRAINING])
  + builder.add_meta_graph([tf.saved_model.tag_constants.SERVING],
  + strip_default_attrs=True)
  + builder.save()
  expected_to_fail = "python tf2ngraph.py --input_savedmodel saved_model" + \
  " --output_nodes mm --output_savedmodel out_saved_model"
  @@ -274,5 +277,3 @@ class Testtf2ngraph(NgraphTest):
  " hence expecting non-zero status"
  shutil.rmtree(export_dir)
  -
  -
  