Skip to content

Commit 413ae8d

Browse files
committed
add support for torchvision.ops.stochastic_depth
1 parent a866168 commit 413ae8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/tvm/relax/frontend/torch/fx_translator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,7 @@ def create_convert_map(self):
15091509
"softmax": self._softmax,
15101510
"log_softmax": self._log_softmax,
15111511
"dropout": lambda node: self.env[node.args[0]],
1512+
"stochastic_depth": lambda node: self.env[node.args[0]],
15121513
"clamp": self._clamp,
15131514
"relu": lambda node: self.block_builder.emit(relax.op.nn.relu(self.env[node.args[0]])),
15141515
"leaky_relu": self._leakyrelu,

0 commit comments

Comments
 (0)