IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

GatedResidualArgs

struct GatedResidualArgs

The boundary's operands, one kernel parameter. Rows are dense.

Fields​

  • ​branch (In[.bfloat16]):
  • ​residual (In[.bfloat16]):
  • ​post_weight (In[.bfloat16]):
  • ​gate (In[.bfloat16]):
  • ​norm_weight (In[.bfloat16]):
  • ​stream (Out[.bfloat16]):
  • ​normed (Out[.bfloat16]):
  • ​rows (Int64):
  • ​post_eps (Float32):
  • ​norm_eps (Float32):
  • ​temperature (Float32):
  • ​gate_eps (Float32):

Implemented traits​

AnyType, Copyable, Deinitable, DevicePassable, ImplicitlyCopyable, Movable

comptime members​

device_type​

comptime device_type = GatedResidualArgs

Methods​

get_type_name​

static def get_type_name() -> String

Returns:

String

Was this page helpful?