- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for dequantize (0.4 sec)
-
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc
const auto float_graph = model_->subgraphs()->Get(subgraph_idx); // The output graph should have an extra tensor from the added dequantize // op. ASSERT_EQ(quantized_graph->tensors()->size(), float_graph->tensors()->size() + 1); // Check that a dequantize op exists. int32_t dequant_input_idx = -1; int32_t dequant_output_idx = -1;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 32.3K bytes - Viewed (0) -
RELEASE.md
([CVE-2022-21728](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21728)) * Fixes a heap OOB access in `Dequantize` ([CVE-2022-21726](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21726)) * Fixes an integer overflow in shape inference for `Dequantize` ([CVE-2022-21727](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21727)) * Fixes a heap OOB access in `FractionalAvgPoolGrad`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
// The original model reshape->custom->custom->squeeze. ASSERT_THAT(*float_graph->operators(), SizeIs(4)); // The resulting model should be: // reshape->dequantize->custom->custom->quantize->squeeze. ASSERT_THAT(subgraph->operators, SizeIs(6)); const std::vector<BuiltinOperator> op_codes = { BuiltinOperator_RESHAPE, BuiltinOperator_DEQUANTIZE,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.h
// Stores information about how to quantize a user-specified custom operation. // CustomOpInfo contains info of its corresponding CustomOp registered in the // CustomOpMap. 'quantizable_input_indices' is used to determine which indices // of the CustomOp are quantizable. 'is_weight_only' is used specify whether the // custom op is quantized only for storage and dequantized at runtime.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
let summary = "Quantizes then dequantizes a tensor."; let description = [{ This is almost identical to QuantizeAndDequantizeV2, except that it returns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise. }]; let arguments = (ins Arg<TF_FloatTensor, [{Tensor to quantize and then dequantize.}]>:$input,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.cc
pm.addPass(TFL::CreatePostQuantizeRemoveQDQPass()); if (failed(pm.run(module.get()))) { const std::string err(statusHandler.ConsumeStatus().message()); LOG(ERROR) << "Failed to quantize: " << err; return kTfLiteError; } // Export the results. tflite::FlatbufferExportOptions options; options.toco_flags.set_force_select_tf_ops(false);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights.cc
mlir::TFL::PassConfig(quant_specs), pm); if (failed(pm.run(module.get()))) { absl::string_view err = statusHandler.ConsumeStatus().message(); LOG(ERROR) << "Failed to quantize: " << err; return kTfLiteError; } // Export the results to the builder std::string result; tflite::FlatbufferExportOptions options; options.toco_flags.set_force_select_tf_ops(false);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/BUILD
"transforms/post_quantize.cc", "transforms/prepare_quantize.cc", "transforms/prepare_quantize_dynamic_range.cc", "transforms/prepare_quantize_helper.cc", "transforms/quantize.cc", "transforms/quantize_variables.cc", "utils/generated_op_quant_spec_getters.inc", ], hdrs = [ "transforms/passes.h", "transforms/prepare_quantize_helper.h", ],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 49.9K bytes - Viewed (0)