Skip to content

Commit 45b2a18

Browse files
committed
Minor changes
1 parent 077e412 commit 45b2a18

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

2_Efficient_representations_of_tensors.ipynb

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
},
183183
{
184184
"cell_type": "code",
185-
"execution_count": 14,
185+
"execution_count": 3,
186186
"metadata": {},
187187
"outputs": [
188188
{
@@ -226,7 +226,7 @@
226226
" [ 0., 0., 0., 3.]]])"
227227
]
228228
},
229-
"execution_count": 14,
229+
"execution_count": 3,
230230
"metadata": {},
231231
"output_type": "execute_result"
232232
}
@@ -363,7 +363,7 @@
363363
},
364364
{
365365
"cell_type": "code",
366-
"execution_count": 19,
366+
"execution_count": 5,
367367
"metadata": {},
368368
"outputs": [],
369369
"source": [
@@ -397,7 +397,7 @@
397397
},
398398
{
399399
"cell_type": "code",
400-
"execution_count": 17,
400+
"execution_count": 6,
401401
"metadata": {},
402402
"outputs": [
403403
{
@@ -429,7 +429,7 @@
429429
" [20, 21, 22, 23]]])"
430430
]
431431
},
432-
"execution_count": 17,
432+
"execution_count": 6,
433433
"metadata": {},
434434
"output_type": "execute_result"
435435
}
@@ -464,7 +464,7 @@
464464
},
465465
{
466466
"cell_type": "code",
467-
"execution_count": 6,
467+
"execution_count": 7,
468468
"metadata": {},
469469
"outputs": [
470470
{
@@ -517,7 +517,7 @@
517517
" [ 62928, 219856, 376784, 533712, 690640, 847568, 1004496]]])"
518518
]
519519
},
520-
"execution_count": 6,
520+
"execution_count": 7,
521521
"metadata": {},
522522
"output_type": "execute_result"
523523
}
@@ -564,7 +564,7 @@
564564
},
565565
{
566566
"cell_type": "code",
567-
"execution_count": 7,
567+
"execution_count": 8,
568568
"metadata": {},
569569
"outputs": [],
570570
"source": [
@@ -595,7 +595,7 @@
595595
},
596596
{
597597
"cell_type": "code",
598-
"execution_count": 24,
598+
"execution_count": 9,
599599
"metadata": {},
600600
"outputs": [
601601
{
@@ -673,7 +673,7 @@
673673
},
674674
{
675675
"cell_type": "code",
676-
"execution_count": 25,
676+
"execution_count": 10,
677677
"metadata": {},
678678
"outputs": [
679679
{
@@ -753,7 +753,7 @@
753753
},
754754
{
755755
"cell_type": "code",
756-
"execution_count": 8,
756+
"execution_count": 11,
757757
"metadata": {},
758758
"outputs": [
759759
{
@@ -806,7 +806,7 @@
806806
" [ 9352, 10654, 11956, 13258, 14560, 15862, 17164]]])"
807807
]
808808
},
809-
"execution_count": 8,
809+
"execution_count": 11,
810810
"metadata": {},
811811
"output_type": "execute_result"
812812
}
@@ -822,6 +822,15 @@
822822
"\n",
823823
"tensor_full.data"
824824
]
825+
},
826+
{
827+
"cell_type": "markdown",
828+
"metadata": {},
829+
"source": [
830+
"## Additional notes on API of **Tensor** class\n",
831+
"\n",
832+
"1. In order to create a duplicate of an object of **`TensorCPD`**, **`TensorTKD`** and **`TensorTT`** classes then use method **`copy()`**"
833+
]
825834
}
826835
],
827836
"metadata": {

0 commit comments

Comments
 (0)