- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MangleTensor (0.29 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
: tensorflow::DT_QINT32); tensor_proto_attr = ElementsAttr(TF::TensorProtoAttr::get( new_type, tensorflow::mangling_util::MangleTensor(tensor_proto))); } auto const_op = rewriter.create<TF::ConstOp>(loc, new_type, tensor_proto_attr); // Add scast op to match quantize -> composition pattern. The added scast
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
} else if (elem_type.isa<mlir::ComplexType, mlir::TF::TensorFlowType>()) { tensorflow::TensorProto repr = tfl::ConvertTfliteConstTensor(tensor, buffer); std::string mangled = tensorflow::mangling_util::MangleTensor(repr); value = mlir::TF::TensorProtoAttr::get(shaped_type, mangled); } else { return errors::Unimplemented("Constant of unsupported type"); } if (use_stablehlo_constant) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0)