# Exporting model using Tf.saved\_model

**URL:** <https://discuss.ai.google.dev/t/exporting-model-using-tf-saved-model/26838>\
**Category:** General Discussion\
**Tags:** education, models, help\_request\
**Created:** [May 11, 2022, 11:23am UTC](https://discuss.ai.google.dev/t/exporting-model-using-tf-saved-model/26838 "2022-05-11T11:23:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deependra\_Parichha](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/deependra_parichha/32/9027_2.png) [@Deependra\_Parichha](https://discuss.ai.google.dev/u/Deependra_Parichha)\
**Post date:** [May 11, 2022, 11:23am UTC](https://discuss.ai.google.dev/t/exporting-model-using-tf-saved-model/26838/1 "2022-05-11T11:23:54Z")

</div>

What happens(under the hood) after exporting the model in tf.saved\_model?

---

<div class="post-metadata">

**Author:** ![Bhack](https://d1dlmcr85iqnpo.cloudfront.net/user_avatar/discuss.ai.google.dev/bhack/32/6388_2.png) [@Bhack](https://discuss.ai.google.dev/u/Bhack)\
**Post date:** [May 11, 2022, 11:29am UTC](https://discuss.ai.google.dev/t/exporting-model-using-tf-saved-model/26838/3 "2022-05-11T11:29:26Z")

</div>

`tf.saved_model.save`:

> Exports a [tf.Module](https://www.tensorflow.org/api_docs/python/tf/Module) (and subclasses) `obj` to [SavedModel format](https://www.tensorflow.org/guide/saved_model#the_savedmodel_format_on_disk).

You can see impl details at:

> <https://github.com/tensorflow/tensorflow/blob/v2.8.0/tensorflow/python/saved_model/save.py#L1152-L1335>
