a-ragab-h-m commited on
Commit
8da5d86
·
verified ·
1 Parent(s): bcca2ac

Delete google_solver/Untitled.ipynb

Browse files
Files changed (1) hide show
  1. google_solver/Untitled.ipynb +0 -99
google_solver/Untitled.ipynb DELETED
@@ -1,99 +0,0 @@
1
- {
2
- "cells": [
3
- {
4
- "cell_type": "code",
5
- "execution_count": 3,
6
- "metadata": {},
7
- "outputs": [],
8
- "source": [
9
- "import numpy as np\n",
10
- "import torch"
11
- ]
12
- },
13
- {
14
- "cell_type": "code",
15
- "execution_count": 6,
16
- "metadata": {},
17
- "outputs": [
18
- {
19
- "data": {
20
- "text/plain": [
21
- "[array([0.01560026, 0.14899027, 0.8198149 ], dtype=float32),\n",
22
- " array([0.9768128 , 0.06915247, 0.42297667], dtype=float32),\n",
23
- " array([0.9447805 , 0.9968865 , 0.85253155], dtype=float32),\n",
24
- " array([0.4674251, 0.9449542, 0.6850118], dtype=float32),\n",
25
- " array([0.8488321 , 0.9191937 , 0.33687925], dtype=float32)]"
26
- ]
27
- },
28
- "execution_count": 6,
29
- "metadata": {},
30
- "output_type": "execute_result"
31
- }
32
- ],
33
- "source": [
34
- "torch.rand(5, 3).numpy()"
35
- ]
36
- },
37
- {
38
- "cell_type": "code",
39
- "execution_count": 7,
40
- "metadata": {},
41
- "outputs": [],
42
- "source": [
43
- "x = torch.rand(5, 3).numpy()"
44
- ]
45
- },
46
- {
47
- "cell_type": "code",
48
- "execution_count": 8,
49
- "metadata": {},
50
- "outputs": [
51
- {
52
- "data": {
53
- "text/plain": [
54
- "[[0.6611388, 0.24161768, 0.35973948],\n",
55
- " [0.28449154, 0.81414443, 0.17932409],\n",
56
- " [0.65817285, 0.1036877, 0.8726997],\n",
57
- " [0.05815494, 0.3649323, 0.6273505],\n",
58
- " [0.57139295, 0.16107935, 0.08857018]]"
59
- ]
60
- },
61
- "execution_count": 8,
62
- "metadata": {},
63
- "output_type": "execute_result"
64
- }
65
- ],
66
- "source": [
67
- "[list(x[i]) for i in range(x.shape[0])]"
68
- ]
69
- },
70
- {
71
- "cell_type": "code",
72
- "execution_count": null,
73
- "metadata": {},
74
- "outputs": [],
75
- "source": []
76
- }
77
- ],
78
- "metadata": {
79
- "kernelspec": {
80
- "display_name": "Python 3",
81
- "language": "python",
82
- "name": "python3"
83
- },
84
- "language_info": {
85
- "codemirror_mode": {
86
- "name": "ipython",
87
- "version": 3
88
- },
89
- "file_extension": ".py",
90
- "mimetype": "text/x-python",
91
- "name": "python",
92
- "nbconvert_exporter": "python",
93
- "pygments_lexer": "ipython3",
94
- "version": "3.7.3"
95
- }
96
- },
97
- "nbformat": 4,
98
- "nbformat_minor": 2
99
- }