-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
oncall: jitAdd this issue/PR to JIT oncall triage queueAdd this issue/PR to JIT oncall triage queue
Description
From common errors in ParityBench
compile,58,RuntimeError: python value of type 'str' cannot be used as a value:,"RuntimeError:
python value of type 'str' cannot be used as a value:
File ""/tmp/paritybenchydc_9oju/pbg51yh9q6.py"", line 51
def forward(self, x):
x = functional.batch_norm(x, self.running_mean, self.running_var, self.weight, self.bias, self.training, self.momentum, self.eps)
if self.activation == ACT_RELU:
~~~~~~~~ <--- HERE
return functional.relu(x, inplace=True)
elif self.activation == ACT_LEAKY_RELU:
Code example is here
cc @suo @gmagogsfm
Metadata
Metadata
Assignees
Labels
oncall: jitAdd this issue/PR to JIT oncall triage queueAdd this issue/PR to JIT oncall triage queue