Skip to content

Commit dae57c5

Browse files
committed
Remove extra generate() def
1 parent f3ce521 commit dae57c5

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

sdks/python/apache_beam/ml/inference/pytorch_inference_test.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,10 +182,6 @@ def forward(self, x):
182182
out = self.linear(x)
183183
return {'output1': out, 'output2': out}
184184

185-
def generate(self, x):
186-
out = self.linear(x)
187-
return {'output1': out, 'output2': out}
188-
189185

190186
class PytorchLinearRegressionKeyedBatchAndExtraInferenceArgs(torch.nn.Module):
191187
"""

0 commit comments

Comments
 (0)