Searched defs:bf16 (Results 1 – 11 of 11) sorted by relevance
42 pub struct bf16(u16); struct44 impl bf16 { impl48 pub const fn from_bits(bits: u16) -> bf16 { in from_bits()59 pub fn from_f32(value: f32) -> bf16 { in from_f32()74 pub const fn from_f32_const(value: f32) -> bf16 { in from_f32_const()86 pub fn from_f64(value: f64) -> bf16 { in from_f64()102 pub const fn from_f64_const(value: f64) -> bf16 { in from_f64_const()180 pub const fn from_le_bytes(bytes: [u8; 2]) -> bf16 { in from_le_bytes()195 pub const fn from_be_bytes(bytes: [u8; 2]) -> bf16 { in from_be_bytes()218 pub const fn from_ne_bytes(bytes: [u8; 2]) -> bf16 { in from_ne_bytes()[all …]
746 impl ToPrimitive for bf16 { implementation789 impl FromPrimitive for bf16 { implementation832 impl Num for bf16 { implementation841 impl One for bf16 { implementation848 impl Zero for bf16 { implementation860 impl NumCast for bf16 { implementation867 impl num_traits::float::FloatCore for bf16 { implementation1032 impl num_traits::float::Float for bf16 { implementation1320 impl FloatConst for bf16 { implementation1418 impl Bounded for bf16 { implementation[all …]
232 impl SealedHalf for bf16 {} implementation
296 impl SealedHalfFloatSlice for [bf16] {} implementation388 impl HalfFloatSliceExt for [bf16] { implementation
43 ReducedPrecisionSupport bf16 = ReducedPrecisionSupport::Bfloat16Inference; in TEST_F() local57 ReducedPrecisionSupport bf16 = ReducedPrecisionSupport::Bfloat16Inference; in TEST_F() local74 ReducedPrecisionSupport bf16 = ReducedPrecisionSupport::Bfloat16Inference; in TEST_F() local109 ReducedPrecisionSupport bf16 = ReducedPrecisionSupport::Bfloat16Inference; in TEST_F() local
232 bfloat16 bf16; /**< Single channel brain floating-point number */ member
452 GpuBfloat16Support bf16(/*supports_matrix_multiplication=*/true, in OptimizeHloModule() local780 GpuBfloat16Support bf16(/*supports_matrix_multiplication=*/false, in OptimizeHloPostLayoutAssignment() local
70 int bf16 : 1; // BFloat16 instructions. member
493 BFloat16Support bf16; in RunHloPassesThroughLayoutAssn() local
1478 bool bf16; member
1395 auto bf16 = LiteralUtil::CreateR4WithLayout<bfloat16>({{ in TEST_F() local