Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Kernels:
kernels-test
/
versions
like
0
Follow
Kernels Tests
9
Trusted publisher
Kernel card
Files
Files and versions
xet
Community
v2
versions
/
build
/
torch-cpu
/
layers.py
drbh
Migrated from model repo kernels-test/versions
f97b8de
unverified
about 2 months ago
raw
Copy download link
history
blame
128 Bytes
import
torch.nn
as
nn
from
.
import
version
class
Version
(nn.Module):
def
forward
(
self
) ->
str
:
return
version()