- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MangleShape (0.14 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/mangling_util.h
// Returns the type of a mangled string, or kUnknown. MangledKind GetMangledKind(absl::string_view str); // Return a TensorShapeProto mangled as a string. string MangleShape(const TensorShapeProto& shape); // Demangle a string mangled with MangleShape. Status DemangleShape(absl::string_view str, TensorShapeProto* proto); // Return a TensorProto mangled as a string. string MangleTensor(const TensorProto& tensor);
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 MangledKind::kTensorShape; } else if (absl::StartsWith(str, kTensorPrefix)) { return MangledKind::kTensor; } else { return MangledKind::kUnknown; } } string MangleShape(const TensorShapeProto& shape) { return absl::StrCat(kTensorShapePrefix, PrintShortTextProto(shape)); } Status DemangleShape(absl::string_view str, TensorShapeProto* proto) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.2K bytes - Viewed (0)