Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/axlearn
/ map
Method
map
axlearn/common/input_grain_test.py:48–49 ·
view source on GitHub ↗
(self, element: int)
Source
from the content-addressed store, hash-verified
46
47
class
_PlusOne(grain.MapTransform):
48
def
map(self, element: int) -> int:
49
return
element + 1
50
51
52
class
UtilsTest(TestCase):
Callers
15
report_fn
Function · 0.80
download_job_batch
Function · 0.80
_gc_jobs
Method · 0.80
source
Method · 0.80
fn
Function · 0.80
_build_tfds_iterator
Function · 0.80
test_activation_summaries
Method · 0.80
_asr_text_dataset
Function · 0.80
test_ctc_prefix_merger
Method · 0.80
dataset_fn
Function · 0.80
fn
Function · 0.80
test_coco_metric_under_perfect_detection
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected