Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 208 for tf_saved_model (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/mark_initialized_variables.h

    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "tensorflow/core/public/session.h"
    
    namespace mlir {
    namespace tf_saved_model {
    // Marks all variables in 'function' whether they are initialized
    // in 'session' or not by setting an attribute named 'is_initialized'
    // on each variable op with value true/false based on variable is initialized
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/restore_function_name.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-restore-function-name | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1646 : i32}, tf_saved_model.semantics} {
      // CHECK-LABEL: @serving_default
      // CHECK-SAME: %[[ARG0:[^:[:space:]]+]]
      // CHECK-SAME: %[[ARG1:[^:[:space:]]+]]
      func.func private @serving_default(%arg0: tensor<1x4xf32>, %arg1: tensor<4x3xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 22:40:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_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::kTfSavedModelIndexPathAttr;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    
    // This pass creates a RestoreV2 op in the initializer function with
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc

    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_type.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
      func.func @conv_with_filter_larger_than_1MB(%arg0: tensor<1x224x224x3xf32> {tf_saved_model.index_path = ["input"]}) -> (tensor<1x224x112x512xf32> {tf_saved_model.index_path = ["output"]}) attributes {tf.entry_function = {control_outputs = "", inputs = "serving_default_input:0", outputs = "PartitionedCall:0"}, tf_saved_model.exported_names = ["serving_default"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/shapes_for_arguments.py

    # RUN: %p/shapes_for_arguments | FileCheck %s
    
    # pylint: disable=missing-docstring,line-too-long
    import tensorflow.compat.v2 as tf
    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common
    
    
    class TestModule(tf.Module):
    
      # Check that we get shapes annotated on function arguments.
      #
      # Besides checking the shape on the function input argument, this test also
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top