thunder.torch¶ A PyTorch dialect in thunder. torchsymbol(*torchfns[, is_method, ...]) size(a, /[, dim]) rtype: int | Sequence[int] to_float(a) rtype: Number | TensorProxy _register_custom_op(custom_op) Register custom_op()'ed function to Thunder. Under Construction Operators¶ Unary¶ Binary¶ Conditional¶ Tensor Creation¶ Shape Operation¶