Platform
Resources
Pricing
Sign in
Get started
Thomas Müller Flury
Thomas studied computer linguistics and philosophy and graduated with a PhD in computer science. He lives with his family in Zürich.
Workspace
Fork
Published
By
Thomas Müller Flury
Edited
Jan 25, 2021
Insert cell
md
`# Tensorflow Basics`
Insert cell
tf
=
require
(
'@tensorflow/tfjs'
)
Insert cell
t
=
tf
.
tensor
(
[
0
,
1
,
2
,
0.2
,
0.4
,
0.6
,
0.8
,
1.0
]
)
Insert cell
t1
=
t
.
split
(
[
3
,
5
]
)
Insert cell
t1
[
0
]
.
arraySync
(
)
Insert cell
t1
[
1
]
.
arraySync
(
)
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Fork
View
Export
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
tf
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
t
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
t1
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML