Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for tf_saved_model (0.28 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

    #include "tsl/platform/errors.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir::quant::stablehlo {
    namespace {
    
    using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerInitType;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    using ::stablehlo::quantization::QuantizationConfig;
    using ::stablehlo::quantization::io::GetLocalTmpFileName;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h"
    
    #define DEBUG_TYPE "freeze-global-tensor"
    
    namespace mlir {
    namespace tf_saved_model {
    
    namespace {
    
    #define GEN_PASS_DEF_FREEZEGLOBALTENSORSPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.cc

        if (func::FuncOp func =
                dyn_cast<func::FuncOp>(barg.getOwner()->getParentOp())) {
          SymbolTable symbol_table(func->getParentOfType<ModuleOp>());
          auto global_tensor = tf_saved_model::LookupBoundInputOfType<
              tf_saved_model::GlobalTensorOp>(func, barg.getArgNumber(),
                                              symbol_table);
          ResourceConstructingOps result(global_tensor);
          return result;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

                representative_datasets=[
                    qc.RepresentativeDatasetConfig(
                        tf_record=qc.TfRecordFile(path=dataset_path)
                    )
                ]
            ),
            tf_saved_model=qc.TfSavedModelConfig(tags=[tag_constants.SERVING]),
            pipeline_config=qc.PipelineConfig(
                merge_fusion_with_dequantize=merge_fusion_with_dequantize
            ),
        )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/merge-fusion-with-dequantize.mlir

    // RUN: stablehlo-quant-opt %s -stablehlo-merge-fusion-with-dequantize -split-input-file -verify-diagnostics | FileCheck %s
    
    // Merge fusion with dequantize for relu case.
    
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: func.func private @merge_relu_fusion
      func.func private @merge_relu_fusion(%arg0: tensor<1x4xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 23:45:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc

    #include "tsl/platform/status.h"
    
    namespace tensorflow {
    namespace quantization {
    namespace {
    
    using ::mlir::func::FuncOp;
    using ::mlir::tf_saved_model::GetInitializerFunction;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    
    // Adds the tensor that initializes the variable through the provided
    // `assign_var_op` to the `bundle_writer` for saving to checkpoint. Returns the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:36:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"
    #include "tensorflow/core/platform/macros.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    using ::mlir::tf_saved_model::kTfSavedModelExportedNamesAttr;
    using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr;
    using ::tensorflow::kImportModelDefaultGraphFuncName;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/session_utils.cc

    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/framework/device.h"
    #include "tensorflow/core/framework/resource_var.h"
    
    namespace mlir {
    namespace tf_saved_model {
    
    std::string GetVariableName(TF::VarHandleOp var_handle_op) {
      // In some cases the shared_name attribute doesn't have the same
      // tensor name in the model, so we first try to use the location
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/common/test_base.h

    #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/core/platform/test.h"
    
    namespace mlir::quant {
    
    using ::testing::Test;
    
    class QuantizationTestBase : public Test {
     protected:
      QuantizationTestBase()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/xla_validate_inputs.cc

    #include <functional>
    #include <memory>
    
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.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/ir/tf_types.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 19:29:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top