Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for tf_saved_model (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

      static StringRef getDialectNamespace() { return "tf_saved_model"; }
    };
    
    }  // namespace tf_saved_model
    }  // namespace mlir
    
    // Declares the operations for this dialect using the generated header.
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h.inc"
    
    namespace mlir {
    namespace tf_saved_model {
    
    // Returns the list of exported names for `op`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

    // CHECK-LABEL: module
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
      // CHECK: "tf_saved_model.session_initializer"()
      // CHECK-SAME: initializers = [@init_func_restore_op]
    
      func.func @init_func_restore_op() -> () attributes {
          tf_saved_model.initializer_type = "restore_op",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    // SessionInitializerOp is untouched.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: {{.*initializers = \[@init_func_restore_op\].*}}
    
      func.func @init_func_restore_op() -> () attributes {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

      attributes {tf_saved_model.exported_names = ["f"]} {
        %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        func.return
      }
    }
    
    // -----
    
    // CHECK-LABEL: module attributes
    module attributes {tf_saved_model.semantics} {
    
      // CHECK-NOT: tf_saved_model.global_tensor
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      attributes {tf_saved_model.exported_names = ["f"]} {
        func.return
      }
    
    }
    
    // -----
    
    // Test running the pass on a module that does not have
    // tf_saved_model.semantics.
    module {}
    
    // -----
    
    // Test use as an input in unhandled op
    module attributes {tf_saved_model.semantics} {
    
      // CHECK: "tf_saved_model.global_tensor"() <{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

      }
    }
    
    // -----
    
    // Tests that no call_once op is added.
    
    module attributes {tf_saved_model.semantics} {
      func.func @no_call_once(%arg0: tensor<i64> {tf_saved_model.index_path = ["x"]}) -> (tensor<i64> {tf_saved_model.index_path = ["r"]})
      attributes {tf.entry_function = {control_outputs = "", inputs = "input:0", outputs = "output:0"}, tf_saved_model.exported_names = ["serving_default"]} {
        func.return %arg0 : tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_asset_sinking.mlir

    // CHECK-LABEL: module @asset
    module @asset attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init]} : () -> ()
    
      // CHECK-NOT: "tf_saved_model.asset"
      "tf_saved_model.asset"() {filename = "assets/test0.txt", sym_name = "asset0"} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/test1.txt", sym_name = "asset1"} : () -> ()
    
      // CHECK: func @init()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_assets.mlir

      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.asset"() {filename = "assets/table.txt", sym_name = "v"} : () -> ()
      "tf_saved_model.asset"() {filename = "assets/table2.txt", sym_name = "w"} : () -> ()
    
      // CHECK: func @f()
      func.func @f(%arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @v}, %arg1: tensor<!tf_type.string> {tf_saved_model.bound_input = @w})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_save_function_ops_to_main.mlir

    // Test that no ops are added to @main when @tf_quant__save function does
    // not exist.
    
    module attributes {tf_saved_model.semantics} {
      func.func @main(%arg: tensor<!tf_type.string> {tf_saved_model.index_path = ["__tf_file_prefix"]}) -> ()
          attributes {tf.entry_function = {inputs = "tf_file_prefix:0", outputs = ""}, tf_saved_model.exported_names = ["main"]} {
        tf_executor.graph {
          tf_executor.fetch
        }
        return
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/remove_init_variable_v1.py

    # CHECK-SAME:             -> (tensor<3x3xf32> {tf_saved_model.index_path = ["r"]})
    # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key"]
    
    # CHECK-NEXT: [[R0:%.*]] = "tf.ReadVariableOp"([[ARG1]]) {{{.*}}} : (tensor<!tf_type.resource<tensor<1x3xf32>>>) -> tensor<1x3xf32>
    # CHECK-NEXT: [[R1:%.*]] = "tf.MatMul"([[ARG0]], [[R0]]) <{{{.*}}}> {{{.*}}} : (tensor<3x1xf32>, tensor<1x3xf32>) -> tensor<3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top