Skip to content

Instantly share code, notes, and snippets.

@kiransair
Created March 18, 2024 06:44
Show Gist options
  • Save kiransair/835156d576ba15ef818514a29244f41e to your computer and use it in GitHub Desktop.
Save kiransair/835156d576ba15ef818514a29244f41e to your computer and use it in GitHub Desktop.
TF_Forum_23291.ipynb
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyPSk0ITkDtfyQTy++GW4Tlf",
"include_colab_link": true
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
}
},
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/gist/kiransair/835156d576ba15ef818514a29244f41e/tf_forum_23291.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "Le7wUyeZIT54",
"outputId": "0fa509c4-4781-446a-bbd5-26370bece19f"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"TensorFlow: 2.15.0\n"
]
}
],
"source": [
"import tensorflow as tf\n",
"print(\"TensorFlow: \",tf.__version__)"
]
},
{
"cell_type": "code",
"source": [
"import tensorflow.compat.v1 as tf"
],
"metadata": {
"id": "0PfovnaeKJfu"
},
"execution_count": 3,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!python --version"
],
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "G5Be2js8KXxN",
"outputId": "07257037-699c-4c29-b614-ad11b9cf9bf6"
},
"execution_count": 5,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Python 3.10.12\n"
]
}
]
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "_YkEIUajQDmC"
},
"execution_count": null,
"outputs": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment