- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DemangleTensor (0.38 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils.cc
FailureOr<mlir::DenseElementsAttr> GetDenseAttrFromTensorProtoAttr( const llvm::StringRef mangled_tensor_proto, TensorType tensor_type) { ::tensorflow::TensorProto tensor_proto; absl::Status status = ::tensorflow::mangling_util::DemangleTensor( mangled_tensor_proto, &tensor_proto); if (!status.ok()) { return failure(); } ::tensorflow::Tensor t; if (!t.FromProto(tensor_proto)) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
TensorProto* output_tensor) { auto mangled_tensor = attr.getValue(); absl::string_view tensor_view(mangled_tensor.data(), mangled_tensor.size()); return mangling_util::DemangleTensor(tensor_view, output_tensor); } template <typename T> void ConvertElementsAttr(const mlir::DenseElementsAttr attr, protobuf::RepeatedField<T>* output) { if (attr.isSplat()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0)