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
I
n
n
e
r
P
r
o
d
u
c
t
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
a
,
b
]
g
i
v
e
s
t
h
e
i
n
n
e
r
p
r
o
d
u
c
t
o
f
t
h
e
t
e
n
s
o
r
s
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
s
a
a
n
d
b
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
▪
The inner product is computed by contracting all tensor indices.
▪
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
is conjugate-linear in the first argument and linear in the second. For real tensor trains this coincides with the plain Euclidean inner product.
▪
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
a
,
a
]
gives the squared Frobenius norm of the represented tensor.
Examples
(
1
)
Basic Examples
(
1
)
T
e
n
s
o
r
T
r
a
i
n
I
n
n
e
r
P
r
o
d
u
c
t
[
a
,
a
]
gives the squared Frobenius norm of the represented tensor:
I
n
[
1
]
:
=
a
=
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
I
n
n
e
r
P
r
o
d
u
c
t
[
a
,
a
]
2
T
e
n
s
o
r
T
r
a
i
n
N
o
r
m
[
a
]
O
u
t
[
1
]
=
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
"
"