Home / Function/ listIntSumReturnTuple() — pytorch Function Reference

listIntSumReturnTuple() — pytorch Function Reference

Architecture documentation for the listIntSumReturnTuple() function in generate_test_torchscripts.py from the pytorch codebase.

Entity Profile

Relationship Graph

Source Code

android/pytorch_android/generate_test_torchscripts.py lines 59–63

    def listIntSumReturnTuple(self, input: list[int]) -> tuple[list[int], int]:
        sum = 0
        for x in input:
            sum += x
        return (input, sum)

Subdomains

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free