Skip to main content

Mojo struct

ConvInfoStatic

struct ConvInfoStatic[rank: Int]

Fields​

  • ​pad (IntTuple):
  • ​stride (IntTuple):
  • ​dilation (IntTuple):
  • ​num_groups (Int):

Implemented traits​

AnyType, Defaultable, ImplicitlyDestructible

Methods​

__init__​

__init__(out self, pad: IntTuple, stride: IntTuple, dilation: IntTuple, num_groups: Int)

__init__(out self)

__init__(out self, pad: IntTuple, stride: IntTuple, dilation: IntTuple, input_c: Int, filter_c: Int)

all_known​

all_known(self) -> Bool

Returns:

Bool

pad_left​

pad_left(self) -> Int

Returns:

Int

pad_bottom​

pad_bottom(self) -> Int

Returns:

Int

strides​

strides(self) -> IndexList[2]

Returns:

IndexList[2]

dilations​

dilations(self) -> IndexList[2]

Returns:

IndexList[2]