Sign in
android
/
platform
/
external
/
pytorch
/
bb97503a26
/
.
/
test
/
bottleneck_test
/
test.py
blob: 30e2307a8a1076024a4744b724ea22e49a336384 [
file
] [
log
] [
blame
]
import
torch
x
=
torch
.
ones
((
3
,
3
),
requires_grad
=
True
)
(
3
*
x
).
sum
().
backward
()