For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
Conv
struct Conv
Implemented traitsβ
AnyType,
ImplicitlyDestructible
Methodsβ
executeβ
static def execute[input_layout: StringSlice[StaticConstantOrigin], filter_layout: StringSlice[StaticConstantOrigin], lambdas_have_fusion: Bool, static_strides: IntTuple, static_dilations: IntTuple, static_padding: IntTuple, target: StringSlice[StaticConstantOrigin], _trace_name: StringSlice[StaticConstantOrigin]](output: ManagedTensorSlice[FusedOutput, static_spec=output.static_spec], input: ManagedTensorSlice[Input, static_spec=input.static_spec], filter: ManagedTensorSlice[Input, static_spec=filter.static_spec], strides: ManagedTensorSlice[Input, static_spec=strides.static_spec], dilation: ManagedTensorSlice[Input, static_spec=dilation.static_spec], paddings: ManagedTensorSlice[Input, static_spec=paddings.static_spec], num_groups: Scalar, ctx: DeviceContext)
shapeβ
static def shape(input: ManagedTensorSlice[Input, static_spec=input.static_spec], filter: ManagedTensorSlice[Input, static_spec=filter.static_spec], strides: ManagedTensorSlice[Input, static_spec=strides.static_spec], dilations: ManagedTensorSlice[Input, static_spec=dilations.static_spec], paddings: ManagedTensorSlice[Input, static_spec=paddings.static_spec], num_groups: Scalar) -> IndexList[input.static_spec.rank]
Returns:
IndexList[input.static_spec.rank]
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!