()
return sequence_generator_bundle.read_bundle_file(bundle_file)
Returns a generator_pb2.GeneratorBundle object based read from bundle_file.

  Returns:
    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
    not set or the save_generator_bundle flag is set.
Returns a generator_pb2.GeneratorBundle object based read from bundle_file.
Returns a generator_pb2 . GeneratorBundle object based read from bundle_file .
def get_bundle():
  """Returns a generator_pb2.GeneratorBundle object based read from bundle_file.

  Returns:
    Either a generator_pb2.GeneratorBundle or None if the bundle_file flag is
    not set or the save_generator_bundle flag is set.
  """
  if FLAGS.save_generator_bundle:
    return None
  if FLAGS.bundle_file is None:
    return None
  bundle_file = os.path.expanduser(FLAGS.bundle_file)
  return sequence_generator_bundle.read_bundle_file(bundle_file)
def get_bundle ( ) : if FLAGS . save_generator_bundle : return None if FLAGS . bundle_file is None : return None bundle_file = os . path . expanduser ( FLAGS . bundle_file ) return sequence_generator_bundle . read_bundle_file ( bundle_file )