MCPcopy Create free account
hub / github.com/pytorch/pytorch / forward

Method forward

torch/_export/db/examples/cond_branch_class_method.py:11–12  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

9 return x.cos()
10
11 def forward(self, x):
12 return self.foo(x)
13
14
15@export_case(

Callers

nothing calls this directly

Calls 1

fooMethod · 0.95

Tested by

no test coverage detected