Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 135 for tf_saved_model (1.08 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

    // -----
    
    // Tests the case when there's a tf_saved_model.session_initializer and an empty init function.
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.session_initializer"() {initializers = [@init]} : () -> ()
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = [@init]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

      constexpr absl::string_view kModuleCode = R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    
          func.func @init_func_restore_op() -> () attributes {tf_saved_model.exported_names = ["restore"], tf_saved_model.initializer_type = "restore_op"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

    // RestoreV2 op created for a single VarHandleOp.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    
      func.func @init_func_restore_op() -> () attributes {
          tf_saved_model.initializer_type = "restore_op",
          tf_saved_model.exported_names = ["tf_saved_model.session_initializer_restore_op"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32> {tf_saved_model.index_path = ["input"]}) -> (tensor<*xf32> {tf_saved_model.index_path = ["r"]})
      attributes {tf_saved_model.exported_names = ["main"]} {
      // CHECK: tf.VarHandleOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() <{initializers = []}> : () -> ()
          "tf_saved_model.asset"() <{filename = "assets/vocab_file.txt", sym_name = "__tf_saved_model_asset0_vocab_file.txt"}> : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K 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