Skip to content

vllm.model_executor.layers.conv

Conv Layer Class.

Classes:

Conv2dLayer

Bases: ConvLayerBase

Conv layer with Conv2d.

Methods:

  • forward_native –

    Expected input shape: (batch_size, in_channels, height, width).

forward_native(x)

Expected input shape: (batch_size, in_channels, height, width).

Conv3dLayer

Bases: ConvLayerBase

Conv layer with Conv3d.

Methods:

  • forward_native –

    Expected input shape: (batch_size, in_channels, time, height, width).

forward_native(x)

Expected input shape: (batch_size, in_channels, time, height, width).

ConvLayerBase

Bases: CustomOp

Conv layer base class.