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
ScatterSetConstant
struct ScatterSetConstant
Implemented traitsโ
AnyType,
ImplicitlyDestructible
Methodsโ
executeโ
static def execute[data_type: DType, index_type: DType, //, target: StringSlice[StaticConstantOrigin]](data: ManagedTensorSlice[MutableInput, static_spec=data.static_spec], indices: ManagedTensorSlice[Input, static_spec=indices.static_spec], fill_value: Scalar[data_type], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!