isinstance(input, Dict[str, str]): for val in input.values(): print(val) m = torch.jit.script(MyModule()) x = [torch.rand(3,3), torch.rand(4,3)] m(x) y = {"key1":"val1","key2":"val2"} m(y) 相关用法 Python PyTorch isinf用法及代码示例 Python PyTorch isin用法及代码...
XuehaiPan added a commit to XuehaiPan/pytorch that referenced this pull request Feb 12, 2025 [Dynamo][pytree] handle isinstance(...) check for polyfilled class … c216ea0 Update … 837db58 XuehaiPan mentioned this pull request Feb 12, 2025 [Dynamo] support isinstance(...) check fo...
pytorch / pytorch Public Notifications Fork 21.8k Star 81.1k Code Issues 5k+ Pull requests 1k Actions Projects 31 Wiki Security 1 Insights Assign User on Comment sam: AssertionError at torch/_inductor/graph.py assert isinstance(value, (TensorBox, sympy.Expr)) #58007 Sign in to ...
Sign in Sign up pytorch / pytorch Public Notifications Fork 23.4k Star 86.9k Code Issues 5k+ Pull requests 1.1k Actions Projects 12 Wiki Security Insights linux-binary-manywheel [Dynamo] support isinstance(...) check for type tuple (#146984) #81439 Sign in to view logs Sum...
pytorch-bot[bot] pushed d183923 ciflow/trunk/137940 Status Cancelled Total duration 20m 33s Artifacts – generated-linux-binary-manywheel-main.yml on: push Oh hello! Nice to see you. Made with ️ by humans.txtAnnotations 6 errorsmany...
pytorch-bot[bot] pushed d183923 ciflow/trunk/137940 Status Success Total duration 2h 59m 48s Artifacts – linux-aarch64.yml on: push get-label-type / runner-determinator 7s linux-jammy-aarch64-py3.10 / build 38m 57s Matrix: linux-jammy-aarch64-py3.10 / test 4 jobs completed ...