Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for exported_names (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      "some_dialect.some_op"() {
        tf_saved_model.exported_names = ["foo"]
      } : () -> ()
    
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // expected-error@+1 {{'tf_saved_model.exported_names' must be an array of strings}}
      func.func @f() attributes { tf_saved_model.exported_names = 1 : i32} {
        func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/convert_session_initializer_to_function.mlir

    func.func @init1() attributes {tf_saved_model.exported_names = ["init1"]} {
      %0 = "tf.Const"() {value = dense<42> : tensor<1xi64>} : () -> tensor<1xi64>
      return
    }
    func.func @init2() attributes {tf_saved_model.exported_names = ["init2"]} {
      %0 = "tf.Const"() {value = dense<43> : tensor<1xi64>} : () -> tensor<1xi64>
      return
    }
    func.func @init3() attributes {tf_saved_model.exported_names = ["init3"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 02 16:24:00 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

      "tf_saved_model.session_initializer"() {initializers = [@NoOp]} : () -> ()
      func.func @NoOp() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_NoOp"]} {
        func.return
      }
    // CHECK: func @NoOp() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_NoOp"]}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init.mlir

        func.return %1 : tensor<100x50xf32>
      }
    
      func.func @Init() attributes {tf_saved_model.exported_names = ["Init"], tf_saved_model.initializer_type = "restore_op"} {
        func.return
      }
    
      // CHECK-LABEL: func @Init
      // CHECK-SAME: tf_saved_model.exported_names = ["Init"]
      // CHECK-SAME: tf_saved_model.initializer_type = "restore_op"
      // CHECK: %[[VAR:.*]] = "tf.VarHandleOp"()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

      func.func @main() attributes {tf.entry_function = {inputs = "", outputs = ""}, tf_saved_model.exported_names = ["main"]} {
        tf_executor.graph {
          tf_executor.fetch
        }
        return
      }
    // Sanity check: The main function's signature & attributes have not changed.
    // CHECK: func.func @main()
    // CHECK-SAME: tf_saved_model.exported_names = ["main"]
    
    // CHECK: tf_executor.graph
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops.mlir

      "tf_saved_model.global_tensor"() {
        tf_saved_model.exported_names = ["some_const"],
        sym_name = "some_constant",
        type = tensor<1x64xf32>,
        value = dense<42.0> : tensor<1x64xf32>
      } : () -> ()
    
      // Representation for variables: mutable global tensor.
      // CHECK: tf_saved_model.global_tensor
      "tf_saved_model.global_tensor"() {
        is_mutable,
        tf_saved_model.exported_names = ["some_var", "some.other.name"],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/signature_with_multiple_entry_points.mlir

    // CHECK-SAME: tf_saved_model.exported_names = ["add"]
    
    // CHECK: func @sub(
    // CHECK-SAME: {tf_saved_model.index_path = ["input2"]}
    // CHECK-SAME: {tf_saved_model.index_path = ["input1"]}
    // CHECK-SAME: {tf_saved_model.index_path = ["result"]}
    // CHECK-SAME: tf.entry_function = {inputs = "input2:0,input1:0", outputs = "result:0"}
    // CHECK-SAME: tf_saved_model.exported_names = ["sub"]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

      SmallVector<StringRef, 2> ret;
      auto exported_names =
          op->getAttrOfType<ArrayAttr>(kTfSavedModelExportedNamesAttr);
      if (exported_names) {
        for (auto name : exported_names) {
          ret.push_back(mlir::cast<StringAttr>(name).getValue());
        }
      }
      return ret;
    }
    
    bool IsExported(Operation *op) {
      auto exported_names =
          op->getAttrOfType<ArrayAttr>(kTfSavedModelExportedNamesAttr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir

      "tf_saved_model.global_tensor"() { is_mutable, sym_name = "v", tf_saved_model.exported_names = ["v"], type = tensor<f32>, value = dense<42.> : tensor<f32> } : () -> ()
    
      func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v}) -> (tensor<f32> {tf_saved_model.index_path = []})
      attributes {tf_saved_model.exported_names = ["f"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      # Check index paths for results.
      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}() -> (
      # CHECK-SAME:   tensor<1xf32> {tf_saved_model.index_path = []})
      # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["f0000_single_return"]
      @tf.function(input_signature=[])
      def f0000_single_return(self):
        return tf.constant(1.0, shape=[1])
    
      # Check index paths for results with multiple return values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
Back to top