contiguousChannelsLast() — pytorch Function Reference
Architecture documentation for the contiguousChannelsLast() function in generate_test_torchscripts.py from the pytorch codebase.
Entity Profile
Dependency Diagram
graph TD 68289ba0_388c_2a75_f678_3b01b8fb9605["contiguousChannelsLast()"] 0b7e2e4a_6531_1537_a6f4_db8a7938bd78["contiguous()"] 68289ba0_388c_2a75_f678_3b01b8fb9605 -->|calls| 0b7e2e4a_6531_1537_a6f4_db8a7938bd78 style 68289ba0_388c_2a75_f678_3b01b8fb9605 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
android/pytorch_android/generate_test_torchscripts.py lines 146–147
def contiguousChannelsLast(self, x: Tensor) -> Tensor:
return x.contiguous(memory_format=torch.channels_last)
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does contiguousChannelsLast() do?
contiguousChannelsLast() is a function in the pytorch codebase.
What does contiguousChannelsLast() call?
contiguousChannelsLast() calls 1 function(s): contiguous.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free