mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-06-25 18:24:03 +08:00
[tensorflow] Fix literal value for pad function (#13877)
This commit is contained in:
committed by
GitHub
parent
318c8687c8
commit
23c2cba7ff
@@ -417,7 +417,7 @@ def reshape(tensor: TensorCompatible, shape: ShapeLike | Tensor, name: str | Non
|
||||
def pad(
|
||||
tensor: TensorCompatible,
|
||||
paddings: Tensor | IntArray | Iterable[Iterable[int]],
|
||||
mode: Literal["CONSTANT", "constant", "REFLECT", "reflect", "SYMMETRIC", "symmectric"] = "CONSTANT",
|
||||
mode: Literal["CONSTANT", "constant", "REFLECT", "reflect", "SYMMETRIC", "symmetric"] = "CONSTANT",
|
||||
constant_values: ScalarTensorCompatible = 0,
|
||||
name: str | None = None,
|
||||
) -> Tensor: ...
|
||||
|
||||
Reference in New Issue
Block a user