aboutsummaryrefslogtreecommitdiff
path: root/works/life/test.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'works/life/test.ipynb')
-rw-r--r--works/life/test.ipynb49
1 files changed, 0 insertions, 49 deletions
diff --git a/works/life/test.ipynb b/works/life/test.ipynb
deleted file mode 100644
index 7536d4b..0000000
--- a/works/life/test.ipynb
+++ /dev/null
@@ -1,49 +0,0 @@
-{
- "cells": [
- {
- "cell_type": "code",
- "execution_count": 4,
- "metadata": {},
- "outputs": [
- {
- "name": "stdout",
- "output_type": "stream",
- "text": [
- "tensor(6)\n"
- ]
- }
- ],
- "source": [
- "import torch\n",
- "\n",
- "t = torch.tensor([1, 2, 3]);\n",
- "print(t.sum())\n"
- ]
- }
- ],
- "metadata": {
- "interpreter": {
- "hash": "aee8b7b246df8f9039afb4144a1f6fd8d2ca17a180786b69acc140d282b71a49"
- },
- "kernelspec": {
- "display_name": "Python 3.9.9 64-bit",
- "language": "python",
- "name": "python3"
- },
- "language_info": {
- "codemirror_mode": {
- "name": "ipython",
- "version": 3
- },
- "file_extension": ".py",
- "mimetype": "text/x-python",
- "name": "python",
- "nbconvert_exporter": "python",
- "pygments_lexer": "ipython3",
- "version": "3.9.9"
- },
- "orig_nbformat": 4
- },
- "nbformat": 4,
- "nbformat_minor": 2
-}