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
RandomUniform
struct RandomUniform
Registers the mo.random.uniform graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[dtype: DType, target: StringSlice[ImmStaticOrigin]](output: ManagedTensorSlice[IOSpec[_, _].FusedOutput, static_spec=output.static_spec], shape: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=shape.static_spec], lower_bound: Scalar[dtype], upper_bound: Scalar[dtype], seed_value: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=seed_value.static_spec], ctx: DeviceContext)