- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 83 for tf_saved_model (0.5 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions_weight_only.mlir
// RUN: -stablehlo-quantize-composite-functions | FileCheck --check-prefix=CHECK %s // Test that per-tensor weight-only quantized dot_general op is produced when // empty `weight_only_ptq` is provided. module attributes {tf_saved_model.semantics} { func.func private @quantize_dot_general_per_tensor(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} { %0 = stablehlo.constant dense<3.000000e-01> : tensor<2x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_weight_only.mlir
// RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize | FileCheck %s // Test that hybrid quantized dot_general is produced when q/dq pair only exists // for weight. module attributes {tf_saved_model.semantics} { func.func private @quantize_dot_general_fn(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} { %cst = stablehlo.constant dense<3.000000e-01> : tensor<2x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h" #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h" #include "xla/mlir_hlo/mhlo/IR/register.h" #include "xla/mlir_hlo/mhlo/transforms/passes.h" #include "tensorflow/core/ir/types/dialect.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 07:37:34 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc
// FreezeVariables only freezes variables for TF v1 types. Separately handle // freezing of TF v2 GlobalTensor ops. (Ref: b/206855389) pm.addPass(mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()); pm.addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass( /*allow_mutable_tensors=*/true)); // Generic MLIR optimization passes. pm.addPass(mlir::createCanonicalizerPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/weight_only_ptq.cc
const PyFunctionLibrary& py_function_library) { std::unordered_set<std::string> tags; tags.insert(quantization_config.tf_saved_model().tags().begin(), quantization_config.tf_saved_model().tags().end()); std::unique_ptr<MLIRContext> ctx = CreateMlirContextForQuantization(); absl::StatusOr<absl::flat_hash_map<FunctionName, FunctionAlias>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/passes/manipulate_model_attr.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h" #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h" namespace mlir { namespace quant { namespace { constexpr StringRef kSharedNameAttr = "shared_name";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc
// FreezeVariables only freezes variables for TF v1 types. Separately handle // freezing of TF v2 GlobalTensor ops. (Ref: b/206855389) pm.addPass(mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()); pm.addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass( /*allow_mutable_tensors=*/true)); // Generic MLIR optimization passes. pm.addPass(mlir::createCanonicalizerPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 04:34:23 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/static_range_ptq.cc
const PyFunctionLibrary& py_function_library) { std::unordered_set<std::string> tags; tags.insert(quantization_config.tf_saved_model().tags().begin(), quantization_config.tf_saved_model().tags().end()); std::unique_ptr<MLIRContext> ctx = CreateMlirContextForQuantization(); absl::StatusOr<absl::flat_hash_map<FunctionName, FunctionAlias>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 12:49:45 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h" #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" #include "tensorflow/compiler/mlir/tensorflow/utils/session_utils.h" #include "tensorflow/core/framework/resource_var.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/public/session.h" namespace mlir { namespace tf_saved_model { namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h" namespace mlir { namespace quant { namespace { using ::mlir::tf_saved_model::GetInitializerFunction; using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType; constexpr StringRef kTfQuantSaveV2OpName = "tf_quant__save_save_v2";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0)