- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for iType (0.03 sec)
-
test/fixedbugs/bug447.go
var segs bytes.Buffer itype := fmt.Sprintf("%s%d", typ, iWidth) names.WriteString("\ttest" + itype + ",\n") for _, fWidth := range floatWidths { ftype := fmt.Sprintf("float%d", fWidth) seg := strings.Replace(testSegment, "$F", ftype, -1) seg = strings.Replace(seg, "$I", itype, -1) segs.WriteString(seg) } body := strings.Replace(testFunc, "$I", itype, -1) if typ[0] == 'u' {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc
return absl::OkStatus(); } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) { switch (itype.getWidth()) { case 1: *dtype = DT_BOOL; return absl::OkStatus(); case 4: *dtype = itype.isUnsigned() ? DT_UINT4 : DT_INT4; return absl::OkStatus(); case 8: *dtype = itype.isUnsigned() ? DT_UINT8 : DT_INT8; return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/convert_type.cc
} else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) { switch (itype.getWidth()) { case 1: return tflite::TensorType_BOOL; case 4: if (itype.isUnsigned()) llvm_unreachable("invalid unsigned 4bit integer Type in conversion"); else return tflite::TensorType_INT4; case 8: if (itype.isUnsigned())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/constant_utils.cc
} else { return tensorflow::Status(absl::StatusCode::kInvalidArgument, "Unsupported type"); } } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(element_type)) { if (element_type.isSignedInteger()) { switch (itype.getWidth()) { case 8: return DenseElementsAttr::get<int8_t>(shaped_type, static_cast<int8_t>(value));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.5K bytes - Viewed (0)