mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-04 20:45:49 +08:00
[tensorflow]: Add tf.split (#14890)
This commit is contained in:
@@ -385,6 +385,13 @@ def squeeze(
|
||||
) -> Tensor: ...
|
||||
@overload
|
||||
def squeeze(input: RaggedTensor, axis: int | tuple[int, ...] | list[int], name: str | None = None) -> RaggedTensor: ...
|
||||
def split(
|
||||
value: TensorCompatible,
|
||||
num_or_size_splits: int | TensorCompatible,
|
||||
axis: int | Tensor = 0,
|
||||
num: int | None = None,
|
||||
name: str | None = "split",
|
||||
) -> list[Tensor]: ...
|
||||
def tensor_scatter_nd_update(
|
||||
tensor: TensorCompatible, indices: TensorCompatible, updates: TensorCompatible, name: str | None = None
|
||||
) -> Tensor: ...
|
||||
|
||||
Reference in New Issue
Block a user