J6P/H Torch Operator Support List

OperatorBPUCPU
torch.abs
torch.Tensor.abs
YY
torch.acos
torch.Tensor.acos
YY
torch.acosh
torch.Tensor.acosh
YY
torch.add
torch.Tensor.add
YY
torch.all
torch.Tensor.all
YY
torch.any
torch.Tensor.any
YY
torch.argmax
torch.Tensor.argmax
YY
torch.argmin
torch.Tensor.argmin
YY
torch.asin
torch.Tensor.asin
YY
torch.asinh
torch.Tensor.asinh
YY
torch.atan 
torch.Tensor.atan
YY
torch.atanh
torch.Tensor.atanh
YY
torch.bitwise_andYY
torch.bitwise_notYY
torch.bitwise_orYY
torch.bitwise_xorYY
torch.ceil
torch.Tensor.ceil
YY
torch.clamp
torch.clip
torch.Tensor.clamp
torch.Tensor.clip
YY
torch.cat
torch.concat
torch.concatenate
YY
torch.cos
torch.Tensor.cos
YY
torch.cosh
torch.Tensor.cosh
YY
torch.cumsum
torch.Tensor.cumsum
YY
torch.div
torch.Tensor.div
YY
torch.eq
torch.Tensor.eq
YY
torch.gather
torch.Tensor.gather
YY
torch.gt
torch.greater
torch.Tensor.gt
torch.Tensor.greater
YY
torch.ge
torch.greater_equal
torch.Tensor.ge
torch.Tensor.greater_equal
YY
torch.lt
torch.less
torch.Tensor.lt
torch.Tensor.less
YY
torch.le
torch.less_equal
torch.Tensor.le
torch.Tensor.less_equal
YY
torch.erf
torch.Tensor.erf
YY
torch.exp
torch.Tensor.exp
YY
torch.Tensor.expandYY
torch.flatten
torch.Tensor.flatten
torch.nn.Flatten
YY
torch.flip
torch.Tensor.flip
YY
torch.floor
torch.Tensor.floor
YY
torch.fmod
torch.remainder
YY
torch.index_select
torch.Tensor.index_select
torch.unbind
torch.Tensor.unbind
YY
torch.log
torch.Tensor.log
YY
torch.logical_and
torch.Tensor.logical_and
YY
torch.logical_not
torch.Tensor.logical_not
YY
torch.logical_or
torch.Tensor.logical_or
YY
torch.logical_xor
torch.Tensor.logical_xor
YY
torch.Tensor.masked_fillYY
torch.matmul
torch.Tensor.matmul
YY
torch.max
torch.Tensor.max
torch.min
torch.Tensor.min
YY
torch.maximum
torch.Tensor.maximum
YY
torch.mean
torch.Tensor.mean
YY
torch.minimum
torch.Tensor.minimum
YY
torch.mul
torch.Tensor.mul
YY
torch.neg
torch.negative
torch.Tensor.neg
torch.Tensor.negative
YY
torch.nonzero
Tensor.nonzero
NY
torch.ne
torch.not_equal
torch.Tensor.ne
torch.Tensor.not_equal
YY
torch.permute
torch.Tensor.permute
YY
torch.pow
torch.Tensor.pow
YY
torch.reciprocal
torch.Tensor.reciprocal
YY
torch.Tensor.repeatYY
torch.repeat_interleave
torch.Tensor.repeat_interleave
YY
torch.reshape
torch.Tensor.reshape
torch.Tensor.view
YY
torch.roll
torch.Tensor.roll
YY
torch.round
torch.Tensor.round
YY
torch.rsqrt
torch.Tensor.rsqrt
YY
torch.scatter
torch.Tensor.scatter
torch.scatter_add
torch.Tensor.scatter_add
torch.scatter_reduce
torch.Tensor.scatter_reduce
YY
torch.sign
torch.Tensor.sign
YY
torch.sin
torch.Tensor.sin
YY
torch.sinh
torch.Tensor.sinh
YY
torch.slice_scatterYY
torch.split
torch.Tensor.split
YY
torch.sqrtYY
torch.squeeze
torch.Tensor.squeeze
YY
torch.stackYY
torch.sub
torch.Tensor.sub
YY
torch.sum
torch.Tensor.sum
YY
torch.tanYY
torch.tile
torch.Tensor.tile
YY
torch.Tensor.toYY
torch.Tensor.floatYY
torch.topk
torch.Tensor.topk
horizon.functional.stable_topk
YY
torch.transpose
torch.Tensor.transpose
YY
torch.tril
torch.triu
YY
torch.unsqueeze
torch.Tensor.unsqueeze
YY
torch.whereYY
torch.zeros_like
torch.ones_like
YY
torch.linalg.normYY
torch.nn.functional.avg_pool1d
torch.nn.AvgPool1d
torch.nn.functional.avg_pool2d
torch.nn.AvgPool2d
torch.nn.functional.adaptive_avg_pool1d
torch.nn.AdaptiveAvgPool1d
torch.nn.functional.adaptive_avg_pool2d
torch.nn.AdaptiveAvgPool2d
YY
torch.nn.functional.affine_gridYY
torch.nn.functional.dropout
torch.nn.Dropout
torch.nn.functional.dropout1d
torch.nn.Dropout1d
torch.nn.functional.dropout2d
torch.nn.Dropout2d
torch.nn.functional.dropout3d
torch.nn.Dropout3d
YY
torch.nn.functional.elu
torch.nn.ELU
YY
torch.nn.functional.embedding
torch.nn.Embedding
YY
torch.nn.functional.gelu
torch.nn.GELU
YY
torch.nn.functional.glu
torch.nn.GLU
YN
torch.nn.functional.grid_sampleYY
torch.nn.functional.hardsigmoid
torch.nn.HardSigmoid
YY
torch.nn.functional.interpolate
torch.nn.Upsample
torch.nn.UpsamplingNearest2d
torch.nn.UpsamplingBilinear2d
YY
torch.nn.functional.leaky_relu
torch.nn.LeakyReLU
YY
torch.nn.functional.log_softmax
torch.nn.LogSoftmax
YY
torch.nn.functional.mish
torch.nn.Mish
YY
torch.nn.functional.normalizeYY
torch.nn.functional.pad
torch.nn.ConstantPad1d
torch.nn.ConstantPad2d
torch.nn.ConstantPad3d
torch.nn.ReplicationPad1d
torch.nn.ReplicationPad2d
torch.nn.ReplicationPad3d
torch.nn.ZeroPad2d
YY
torch.nn.functional.pixel_shuffle
torch.nn.PixelShuffle
YY
torch.nn.functional.pixel_unshuffle
torch.nn.PixelUnshuffle
YY
torch.nn.PReLUYY
torch.nn.functional.relu
torch.nn.ReLU
YY
torch.nn.functional.relu6
torch.nn.ReLU6
YY
torch.nn.functional.silu
torch.nn.SiLU
YY
torch.nn.functional.softmax
torch.nn.Softmax
torch.softmax
torch.Tensor.softmax
YY
torch.nn.functional.softplus
torch.nn.Softplus
YY
torch.nn.BatchNorm1d
torch.nn.BatchNorm2d
torch.nn.BatchNorm3d
YY
torch.nn.Conv1d
torch.nn.Conv2d
torch.nn.Conv3d
YY
torch.nn.ConvTranspose1d
torch.nn.ConvTranspose2d
torch.nn.ConvTranspose3d
YY
torch.nn.GRUYY
torch.nn.LSTMYY
torch.nn.IdentityYY
torch.nn.LayerNorm
torch.nn.GroupNorm
torch.nn.InstanceNorm1d
torch.nn.InstanceNorm2d
torch.nn.InstanceNorm3d
horizon.nn.LayerNorm
YY
torch.nn.LinearYY
torch.Tensor.masked_scatterYY
torch.masked_select
torch.Tensor.masked_select
NY
torch.nn.functional.max_pool1d
torch.nn.MaxPool1d
torch.nn.functional.max_pool2d
torch.nn.MaxPool2d
torch.nn.functional.adaptive_max_pool1d
torch.nn.AdaptiveMaxPool1d
torch.nn.functional.adaptive_max_pool2d
torch.nn.AdaptiveMaxPool2d
YY
torch.nn.MultiheadAttentionYY
torch.nn.functional.selu
torch.nn.SELU
YN
torch.nn.functional.sigmoid
torch.sigmoid
torch.Tensor.sigmoid
torch.nn.Sigmoid
YY
torch.sort
torch.Tensor.sort
YY
torch.tanh
torch.Tensor.tanh
torch.nn.Tanh
YY
torch.nn.TransformerDecoderLayerYY
torch.nn.TransformerEncoderLayerYY
torch.quantization.DeQuantStubYY
torch.quantization.QuantStubYY
horizon.nn.AnchorGeneratorYY
horizon.nn.BaseGridGeneratorYY
horizon.nn.functional.bev_pool_v2NY
horizon.nn.functional.filterYN
horizon.nn.GridSampleYY
horizon.nn.functional.point_pillars_preprocessNY
horizon.nn.functional.point_pillars_scatter
horizon.nn.PointPillarsScatter
NY
horizon.nn.functional.scatter_reduce_ndYY
torchvision.ops.DeformConv2dYY
torch.Tensor.__getitem__(if indices is index Tensor)YY
torch.Tensor.__getitem__(if indices is bool Tensor)NY
torch.Tensor.__getitem__(if indices is int scalar)YY
torch.Tensor.__getitem__(if indices is slice)YY
torch.Tensor.__setitem__YY
torch.Tensor.clone
torch.Tensor.contiguous
torch.Tensor.detach
YY