MCPcopy Index your code
hub / github.com/tinygrad/tinygrad / tmp

Method tmp

test/unit/test_disk_tensor.py:14–15  ·  view source on GitHub ↗
(self, name:str)

Source from the content-addressed store, hash-verified

12 def tearDown(self):
13 self.temp_dir.cleanup()
14 def tmp(self, name:str) -> str:
15 return (pathlib.Path(self.temp_dir.name) / name).as_posix()
16
17def compare_weights_both(url):
18 import torch

Callers 15

test_shared_storageMethod · 0.80
test_real_safetensorsMethod · 0.80
test_metadataMethod · 0.80
test_save_all_dtypesMethod · 0.80
test_emptyMethod · 0.80
test_simple_readMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected