pub enum ModuleOperationIr {
Show 26 variants
Embedding(EmbeddingOpIr),
EmbeddingBackward(EmbeddingBackwardOpIr),
Conv1d(Conv1dOpIr),
Conv2d(Conv2dOpIr),
Conv3d(Conv3dOpIr),
DeformableConv2d(Box<DeformConv2dOpIr>),
DeformableConv2dBackward(Box<DeformConv2dBackwardOpIr>),
ConvTranspose1d(ConvTranspose1dOpIr),
ConvTranspose2d(ConvTranspose2dOpIr),
ConvTranspose3d(ConvTranspose3dOpIr),
AvgPool1d(AvgPool1dOpIr),
AvgPool2d(AvgPool2dOpIr),
AvgPool1dBackward(AvgPool1dBackwardOpIr),
AvgPool2dBackward(AvgPool2dBackwardOpIr),
AdaptiveAvgPool1d(AdaptiveAvgPool1dOpIr),
AdaptiveAvgPool2d(AdaptiveAvgPool2dOpIr),
AdaptiveAvgPool1dBackward(AdaptiveAvgPool1dBackwardOpIr),
AdaptiveAvgPool2dBackward(AdaptiveAvgPool2dBackwardOpIr),
MaxPool1d(MaxPool1dOpIr),
MaxPool1dWithIndices(MaxPool1dWithIndicesOpIr),
MaxPool1dWithIndicesBackward(MaxPool1dWithIndicesBackwardOpIr),
MaxPool2d(MaxPool2dOpIr),
MaxPool2dWithIndices(MaxPool2dWithIndicesOpIr),
MaxPool2dWithIndicesBackward(MaxPool2dWithIndicesBackwardOpIr),
Interpolate(InterpolateOpIr),
InterpolateBackward(InterpolateBackwardOpIr),
}Expand description
Operation intermediate representation specific to module.
Variants§
Embedding(EmbeddingOpIr)
Operation corresponding to embedding.
EmbeddingBackward(EmbeddingBackwardOpIr)
Operation corresponding to embedding_backward.
Conv1d(Conv1dOpIr)
Operation corresponding to conv1d.
Conv2d(Conv2dOpIr)
Operation corresponding to conv2d.
Conv3d(Conv3dOpIr)
Operation corresponding to conv3d.
DeformableConv2d(Box<DeformConv2dOpIr>)
Operation corresponding to deform_conv2d
DeformableConv2dBackward(Box<DeformConv2dBackwardOpIr>)
Operation corresponding to deform_conv2d_backward
ConvTranspose1d(ConvTranspose1dOpIr)
Operation corresponding to conv transpose 1d.
ConvTranspose2d(ConvTranspose2dOpIr)
Operation corresponding to conv transpose 2d.
ConvTranspose3d(ConvTranspose3dOpIr)
Operation corresponding to conv transpose 3d.
AvgPool1d(AvgPool1dOpIr)
Operation corresponding to avg pool 1d.
AvgPool2d(AvgPool2dOpIr)
Operation corresponding to avg pool 2d.
AvgPool1dBackward(AvgPool1dBackwardOpIr)
Operation corresponding to avg pool 1d backward.
AvgPool2dBackward(AvgPool2dBackwardOpIr)
Operation corresponding to avg pool 2d backward.
AdaptiveAvgPool1d(AdaptiveAvgPool1dOpIr)
Operation corresponding to adaptive avg pool 1d.
AdaptiveAvgPool2d(AdaptiveAvgPool2dOpIr)
Operation corresponding to adaptive avg pool 2d.
AdaptiveAvgPool1dBackward(AdaptiveAvgPool1dBackwardOpIr)
Operation corresponding to adaptive avg pool 1d backward.
AdaptiveAvgPool2dBackward(AdaptiveAvgPool2dBackwardOpIr)
Operation corresponding to adaptive avg pool 2d backward.
MaxPool1d(MaxPool1dOpIr)
Operation corresponding to max pool 1d.
MaxPool1dWithIndices(MaxPool1dWithIndicesOpIr)
Operation corresponding to max pool 1d with indices.
MaxPool1dWithIndicesBackward(MaxPool1dWithIndicesBackwardOpIr)
Operation corresponding to max pool 1d with indices backward.
MaxPool2d(MaxPool2dOpIr)
Operation corresponding to max pool 2d.
MaxPool2dWithIndices(MaxPool2dWithIndicesOpIr)
Operation corresponding to max pool 2d with indices.
MaxPool2dWithIndicesBackward(MaxPool2dWithIndicesBackwardOpIr)
Operation corresponding to max pool 2d with indices backward.
Interpolate(InterpolateOpIr)
Operation corresponding to interpolate.
InterpolateBackward(InterpolateBackwardOpIr)
Operation corresponding to interpolate backward.
Trait Implementations§
Source§impl Clone for ModuleOperationIr
impl Clone for ModuleOperationIr
Source§fn clone(&self) -> ModuleOperationIr
fn clone(&self) -> ModuleOperationIr
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more