Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/tensorflow/datasets
/ dirname
Method
dirname
tensorflow_datasets/core/utils/shard_utils.py:170–171 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
168
return
self.skip + self.take == self.examples_in_shard
169
170
def
dirname(self) -> str:
171
return
os.path.dirname(self.filename)
172
173
def
basename(self) -> str:
174
return
os.path.basename(self.filename)
Callers
15
test_file_instruction_dirname
Method · 0.95
setup.py
File · 0.80
coco_captions_test.py
File · 0.80
_get_tfds_id_prefixes
Function · 0.80
_read_files
Function · 0.80
_get_filename_template
Function · 0.80
add
Method · 0.80
setUp
Method · 0.80
test_images
Method · 0.80
_test_data_path
Method · 0.80
_extract
Method · 0.80
genomics_ood_test.py
File · 0.80
Calls
no outgoing calls
Tested by
7
test_file_instruction_dirname
Method · 0.76
setUp
Method · 0.64
test_images
Method · 0.64
_test_data_path
Method · 0.64
setUpClass
Method · 0.64
setUpClass
Method · 0.64
fake_examples_dir
Function · 0.64