tft_beam.analyzer_cache.DatasetCache
Stay organized with collections
Save and categorize content based on your preferences.
Complete cache for a dataset as well as metadata.
tft_beam.analyzer_cache.DatasetCache(
cache_dict, metadata
)
Attributes |
cache_dict
|
A namedtuple alias for field number 0
|
metadata
|
A namedtuple alias for field number 1
|
Methods
get
View source
get(
key
)
items
View source
items()
keys
View source
keys()
values
View source
values()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-01 UTC.
[null,null,["Last updated 2024-11-01 UTC."],[],[],null,["# tft_beam.analyzer_cache.DatasetCache\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/transform/blob/v1.16.0/tensorflow_transform/beam/analyzer_cache.py#L108-L127) |\n\nComplete cache for a dataset as well as metadata. \n\n tft_beam.analyzer_cache.DatasetCache(\n cache_dict, metadata\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|--------------|-----------------------------------------|\n| `cache_dict` | A `namedtuple` alias for field number 0 |\n| `metadata` | A `namedtuple` alias for field number 1 |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `get`\n\n[View source](https://github.com/tensorflow/transform/blob/v1.16.0/tensorflow_transform/beam/analyzer_cache.py#L117-L118) \n\n get(\n key\n )\n\n### `items`\n\n[View source](https://github.com/tensorflow/transform/blob/v1.16.0/tensorflow_transform/beam/analyzer_cache.py#L126-L127) \n\n items()\n\n### `keys`\n\n[View source](https://github.com/tensorflow/transform/blob/v1.16.0/tensorflow_transform/beam/analyzer_cache.py#L123-L124) \n\n keys()\n\n### `values`\n\n[View source](https://github.com/tensorflow/transform/blob/v1.16.0/tensorflow_transform/beam/analyzer_cache.py#L120-L121) \n\n values()"]]