- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for DemangleDataType (0.28 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h
Status DemangleTensor(absl::string_view str, TensorProto* proto); // Return a DataType mangled as a string. string MangleDataType(const DataType& dtype); // Demangle a string mangled with MangleDataType. Status DemangleDataType(absl::string_view str, DataType* proto); } // namespace mangling_util } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 28 22:08:30 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc
return ParseTextProto(str, kTensorPrefix, proto); } string MangleDataType(const DataType& dtype) { return absl::StrCat(kDataTypePrefix, DataType_Name(dtype)); } Status DemangleDataType(absl::string_view str, DataType* proto) { absl::string_view pbtxt; TF_RETURN_IF_ERROR(ConsumePrefix(str, kDataTypePrefix, &pbtxt)); if (!DataType_Parse(string(pbtxt), proto)) { return errors::FailedPrecondition(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
value->set_s(std::string(attr_value)); return absl::OkStatus(); } case mangling_util::MangledKind::kDataType: { DataType dtype; TF_RETURN_IF_ERROR(mangling_util::DemangleDataType(attr_value, &dtype)); value->set_type(dtype); return absl::OkStatus(); } case mangling_util::MangledKind::kTensorShape: TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0)