| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/tensorflow-stubs/data/ |
Upload File : |
from _typeshed import Incomplete
from collections.abc import Callable, Sequence
from typing import TypeVar
from typing_extensions import Final
from tensorflow import Tensor, _TensorCompatible
from tensorflow.data import Dataset
AUTOTUNE: Final = -1
INFINITE_CARDINALITY: Final = -1
SHARD_HINT: Final = -1
UNKNOWN_CARDINALITY: Final = -2
_T1 = TypeVar("_T1")
_T2 = TypeVar("_T2")
def parallel_interleave(
map_func: Callable[[_T1], Dataset[_T2]],
cycle_length: int,
block_length: int = 1,
sloppy: bool | None = False,
buffer_output_elements: int | None = None,
prefetch_input_elements: int | None = None,
) -> Callable[[Dataset[_T1]], Dataset[_T2]]: ...
def enable_debug_mode() -> None: ...
def cardinality(dataset: Dataset[object]) -> Tensor: ...
def sample_from_datasets(
datasets: Sequence[Dataset[_T1]],
weights: _TensorCompatible | None = None,
seed: int | None = None,
stop_on_empty_dataset: bool = False,
) -> Dataset[_T1]: ...
def __getattr__(name: str) -> Incomplete: ...