Mojo struct
Flops
@register_passable
struct Flops
Fields
- fp8 (
SIMD[float64, 1]
): - fp16 (
SIMD[float64, 1]
): - tf32 (
SIMD[float64, 1]
): - fp64 (
SIMD[float64, 1]
): - i8 (
SIMD[float64, 1]
): - i4 (
SIMD[float64, 1]
):
Implemented traits
AnyType
,
Copyable
,
ExplicitlyCopyable
,
Movable
,
UnknownDestructibility
,
Writable
Methods
__init__
__init__(*, fp16: SIMD[float64, 1], i8: SIMD[float64, 1], i4: SIMD[float64, 1], fp8: SIMD[float64, 1] = SIMD(0), tf32: SIMD[float64, 1] = SIMD(0), fp64: SIMD[float64, 1] = SIMD(0)) -> Self
write_to
write_to[W: Writer](self, mut writer: W)
__str__
__str__(self) -> String
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!