message: Support parsing from text and fused op in contrib.
diff: @@ -22,7 +22,7 @@ import argparse
  import sys
  from google.protobuf import text_format
  -
  +from tensorflow.contrib.fused_conv.ops import gen_fused_conv2d_bias_activation_op # pylint: disable=unused-import
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import rewriter_config_pb2
  @@ -43,6 +43,9 @@ def main(_):
  else:
  with gfile.GFile(FLAGS.graphdef) as graph_file:
  graph_def = graph_pb2.GraphDef()
  + if FLAGS.graphdef.endswith(".pbtxt"):
  + text_format.Merge(graph_file.read(), graph_def)
  + else:
  graph_def.ParseFromString(graph_file.read())
  importer.import_graph_def(graph_def, name="")
  graph = ops.get_default_graph()
  