Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
Cloud & Deployment
Core Language & Structure
Data Manipulation & Analysis
Engineering Data & Computation
External Interfaces & Connections
Financial Data & Computation
Geographic Data & Computation
Geometry
Graphs & Networks
Higher Mathematical Computation
Images
Knowledge Representation & Natural Language
Machine Learning
Notebook Documents & Presentation
Scientific and Medical Data & Computation
Social, Cultural & Linguistic Data
Strings & Text
Symbolic & Numeric Computation
System Operation & Setup
Time-Related Computation
User Interface Construction
Visualization & Graphics
Random Paclet
Alphabetical List
Using Paclets
Create a Paclet
Get Started
Download Definition Notebook
Learn More about
Wolfram Language
TensorTrainTools
Guides
TensorTrainTools Overview
Symbols
RandomTensorTrain
TensorTrainCompress
TensorTrainContract
TensorTrainDecomposition
TensorTrainHadamard
TensorTrainInnerProduct
TensorTrain
TensorTrainNorm
TensorTrainOrthogonalize
TensorTrainPlus
TensorTrainScale
RubenRanval`TensorTrainTools`
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
[
t
t
]
g
i
v
e
s
t
h
e
F
r
o
b
e
n
i
u
s
n
o
r
m
o
f
t
h
e
t
e
n
s
o
r
r
e
p
r
e
s
e
n
t
e
d
b
y
t
h
e
t
e
n
s
o
r
t
r
a
i
n
t
t
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
▪
The norm is computed without forming the dense tensor: the train is left-orthogonalized, after which the norm equals the Euclidean norm of the single non-orthonormal core.
▪
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
[
t
t
]
produce the same result up to the rounding error as
S
q
r
t
[
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
t
t
,
t
t
]
]
.
Examples
(
1
)
Basic Examples
(
1
)
Get the norm of a random tensor train:
I
n
[
1
]
:
=
t
t
=
T
e
n
s
o
r
T
r
a
i
n
D
e
c
o
m
p
o
s
i
t
i
o
n
[
R
a
n
d
o
m
R
e
a
l
[
1
,
{
1
,
2
,
3
}
]
]
;
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
[
t
t
]
O
u
t
[
1
]
=
1
.
7
5
5
8
9
This gives the same result as
S
q
r
t
[
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
t
t
,
t
t
]
]
:
I
n
[
2
]
:
=
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
[
t
t
]
S
q
r
t
[
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
t
t
,
t
t
]
]
O
u
t
[
2
]
=
T
r
u
e
R
e
l
a
t
e
d
G
u
i
d
e
s
▪
T
e
n
s
o
r
T
r
a
i
n
T
o
o
l
s
O
v
e
r
v
i
e
w
"
"