- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for iType (0.03 sec)
-
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) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
mlir::RankedTensorType shaped_type, const std::vector<uint8_t>& buffer, bool truncate) { mlir::Type elem_type = shaped_type.getElementType(); unsigned bit_width; if (auto itype = mlir::dyn_cast<mlir::IntegerType>(elem_type)) { bit_width = itype.getWidth(); } else if (auto qtype = mlir::dyn_cast<mlir::quant::QuantizedType>(elem_type)) { bit_width = qtype.getStorageTypeIntegralWidth();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/runtime/iface.go
i := &inter.Methods[k] itype := toRType(&inter.Type).typeOff(i.Typ) name := toRType(&inter.Type).nameOff(i.Name) iname := name.Name() ipkg := pkgPath(name) if ipkg == "" { ipkg = inter.PkgPath.Name() } for ; j < nt; j++ { t := &xmhdr[j] rtyp := toRType(typ) tname := rtyp.nameOff(t.Name) if rtyp.typeOff(t.Mtyp) == itype && tname.Name() == iname {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 22.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} return Status(absl::StatusCode::kInvalidArgument, "Unsupported type"); } else if (auto itype = mlir::dyn_cast<mlir::IntegerType>(type)) { switch (itype.getWidth()) { case 1: return tflite::TensorType_BOOL; case 4: if (itype.isUnsigned()) { return Status(absl::StatusCode::kInvalidArgument, "Unsupported 4bit unsigned int type");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)