Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/tutorials
/ semi_structured_sparse.py
File
semi_structured_sparse.py
advanced_source/semi_structured_sparse.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
# -*- coding: utf-8 -*-
2
""
"
3
(beta) Accelerating BERT
with
semi-structured (2:4) sparsity
4
=====================================================
Callers
nothing calls this directly
Calls
5
preprocess_train_function
Function · 0.85
preprocess_validation_function
Function · 0.85
compute_metrics
Function · 0.85
measure_execution_time
Function · 0.85
step
Method · 0.80
Tested by
no test coverage detected