- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for realMap (0.13 sec)
-
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc
LogicalResult UnwrapTFCustomOps(func::FuncOp fn, OpBuilder& builder) { llvm::SmallVector<Operation*, 4> wrapped_ops; fn.walk([&](TFL::CustomTfOp custom_op) { auto* real_op = &custom_op.getBody().front().front(); wrapped_ops.push_back(real_op); }); for (auto* op : wrapped_ops) { auto parent_op = op->getParentOfType<TFL::CustomTfOp>(); if (!parent_op) continue; builder.setInsertionPoint(parent_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc
const UniformQuantizedValueConverter &converter) { return realFPElementsAttr.mapValues( quantizedElementType.getStorageType(), [&converter](const APFloat &realVal) { return converter.quantizeFloatToInt(realVal); }); } /// Converts a real expressed SplatElementsAttr to a corresponding /// SplatElementsAttr containing quantized storage values assuming the given
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/test/framework/tools/featuresgen/cmd/root.go
rootCmd.Flags().StringVarP(&output, "outputFile", "o", "features.gen.go", "output Go file with labels as string consts") } // Parses a map in the yaml file func readMap(m map[any]any, path []string) []string { var labels []string for k, v := range m { // If we see "values," then the element is a root and we shouldn't put it in our label name if k == "values" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 25 19:30:47 UTC 2022 - 5.4K bytes - Viewed (0)