@@ -115,23 +115,23 @@ pub enum JsTensorType {
115115 /// Brain 16-bit floating point number, equivalent to [`half::bf16`] (requires the `half` feature).
116116 Bfloat16 ,
117117 Complex64 ,
118- Complex128 ,
119- /// 8-bit floating point number with 4 exponent bits and 3 mantissa bits, with only NaN values and no infinite
120- /// values.
121- Float8E4M3FN ,
122- /// 8-bit floating point number with 4 exponent bits and 3 mantissa bits, with only NaN values, no infinite
123- /// values, and no negative zero.
124- Float8E4M3FNUZ ,
125- /// 8-bit floating point number with 5 exponent bits and 2 mantissa bits.
126- Float8E5M2 ,
127- /// 8-bit floating point number with 5 exponent bits and 2 mantissa bits, with only NaN values, no infinite
128- /// values, and no negative zero.
129- Float8E5M2FNUZ ,
130- /// 4-bit unsigned integer.
131- Uint4 ,
132- /// 4-bit signed integer.
133- Int4 ,
134- Undefined
118+ Complex128 ,
119+ /// 8-bit floating point number with 4 exponent bits and 3 mantissa bits, with only NaN values and no infinite
120+ /// values.
121+ Float8E4M3FN ,
122+ /// 8-bit floating point number with 4 exponent bits and 3 mantissa bits, with only NaN values, no infinite
123+ /// values, and no negative zero.
124+ Float8E4M3FNUZ ,
125+ /// 8-bit floating point number with 5 exponent bits and 2 mantissa bits.
126+ Float8E5M2 ,
127+ /// 8-bit floating point number with 5 exponent bits and 2 mantissa bits, with only NaN values, no infinite
128+ /// values, and no negative zero.
129+ Float8E5M2FNUZ ,
130+ /// 4-bit unsigned integer.
131+ Uint4 ,
132+ /// 4-bit signed integer.
133+ Int4 ,
134+ Undefined ,
135135}
136136
137137#[ derive( Serialize , Deserialize ) ]
@@ -282,7 +282,7 @@ impl ToJsTensor {
282282 TensorElementType :: String => todo ! ( ) ,
283283 TensorElementType :: Float16 => todo ! ( ) ,
284284 TensorElementType :: Bfloat16 => todo ! ( ) ,
285- _ => todo ! ( )
285+ _ => todo ! ( ) ,
286286 } ;
287287
288288 Ok ( Self {
0 commit comments