Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 83 for tf_saved_model (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc

    #include "tensorflow/compiler/mlir/tensorflow/analysis/resource_dataflow.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/transforms/passes.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    #define GEN_PASS_DEF_LOCALIZEVARHANDLESPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 06 23:53:00 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    using ::mlir::TensorType;
    using ::mlir::tf_saved_model::AssetOp;
    using ::mlir::tf_saved_model::GlobalTensorOp;
    using ::mlir::tf_saved_model::kTfSavedModelExportedNamesAttr;
    using ::mlir::tf_saved_model::kTfSavedModelIndexPathAttr;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerInitType;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerTypeAttr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

        graph = ops.get_default_graph()
        for op in graph.get_operations():
          if op.type == '_Retval':
            expected_node_name = op.name
            if op.get_attr('tf_saved_model.index_path') is not None:
              index_path_name = op.get_attr('tf_saved_model.index_path')[0]
              index_path_name = index_path_name.decode('utf-8').split(':')[0]
              try:
                # Only use the index_path name if it points to a Retval node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

          return %2 : tensor<1x3xf32>
        }
      }
    )mlir";
    
    constexpr absl::string_view kModuleXlaCallModule = R"mlir(
      module {
        func.func @main(%arg0: tensor<?x2xf32> {tf_saved_model.index_path = ["input_tensor"]}) -> (tensor<?x2xf32>) {
          %0 = stablehlo.constant dense<[-0.211145893, -0.708605706]> : tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize.mlir

    // Tests for PopulateFusedGemmStylePatterns are handled in
    // quantize_composite_functions for module-level evaluation of functions.
    
    module attributes {tf_saved_model.semantics} {
    // CHECK: quantize_simple_xla_call_module(%[[ARG_0:.+]]: tensor<1x4xf32>)
      func.func private @quantize_simple_xla_call_module(%arg0: tensor<1x4xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 01:38:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

      EXPECT_TRUE(MessageDifferencer::Equals(method, Method::default_instance()));
    }
    constexpr absl::string_view kModuleDotWeightOnlyPtq = R"mlir(
      module {
        func.func @main(%arg0: tensor<?x2xf32> {tf_saved_model.index_path = ["input_tensor"]}) -> (tensor<?x2xf32>) {
          %0 = stablehlo.constant dense<[-0.211145893, -0.708605706]> : tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize -verify-each=false | FileCheck %s
    
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: same_scale_after_composite
      // CHECK-SAME: %[[ARG0:.*]]: tensor<1x2xf32>
      // CHECK-SAME: %[[ARG1:.*]]: tensor<2x3xf32>
      func.func private @same_scale_after_composite(%arg0: tensor<1x2xf32>, %arg1: tensor<2x3xf32>) -> tensor<3x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Transforms/RegionUtils.h"  // from @llvm-project
    #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"
    
    namespace mlir {
    namespace TF {
    namespace {
    
    bool IsResourceType(Type type) {
      if (auto tensor_type = mlir::dyn_cast<TensorType>(type)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_op_with_region.mlir

    // Tests if reduce_window op following quantized function is quantized.
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1722 : i32}, tf_saved_model.semantics} {
      // CHECK-LABEL: main_00
      // CHECK-SAME: %[[ARG0:.*]]: tensor<2x3x1x1024xf32>
      func.func private @main_00(%arg0: tensor<2x3x1x1024xf32>) -> tensor<2x3x1x3xf32> attributes {tf._original_func_name = "main_0"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

    CPU:0", "/job:localhost/replica:0/task:0/device:TPU:0", "/job:localhost/replica:0/task:0/device:TPU:1", "/job:localhost/replica:0/task:0/device:TPU_SYSTEM:0"], tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 651 : i32}, tf_saved_model.semantics} : () -> ()...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top