Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for exported_names (0.28 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/lower_variable_ops_to_ml_program.mlir

      func.func @read(%arg0: tensor<!tf_type.resource<tensor<10xf32>>> {tf_saved_model.bound_input = @v})
      -> (tensor<10xf32> {tf_saved_model.index_path = []})
      attributes {tf_saved_model.exported_names = ["read"]} {
        // CHECK: %[[v:.*]] = ml_program.global_load @vars.v : tensor<10xf32>
        // CHECK: %[[bar:.*]] = ml_program.global_load @vars.bar : tensor<1xf32>
        // CHECK: %[[sum:.*]] = "tf.Add"(%[[v]], %[[bar]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 19 19:00:41 UTC 2022
    - 6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors.mlir

      // CHECK: func @f()
      func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v})
      attributes {tf_saved_model.exported_names = ["f"]} {
        %val = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        // CHECK: "tf.Const"() <{value = dense<1.000000e+00> : tensor<f32>}>
        func.return
      }
    }
    
    // -----
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 03:07:35 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: {{.*initializers = \[@init_func_restore_op\].*}}
    
      func.func @init_func_restore_op() -> () attributes {
          tf_saved_model.exported_names = ["tf_saved_model.session_initializer_restore_op"],
          tf_saved_model.initializer_type = "restore_op"} {
        %cst_0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/add_functions_for_exported_names.mlir

      // CHECK: return [[tuple]]#0, [[tuple]]#1
      // CHECK-SAME: tensor<i8>
      // CHECK-SAME: tensor<i16>
      // CHECK: func @b
      // CHECK: func @c
      // CHECK: func private @f
      // CHECK-NOT: exported_names
      // CHECK: tf.Const
      // CHECK: tf.Const
      // CHECK: return
      func.func @f(%a: i32         {tf_saved_model.index_path = [0]},
                   %b: f32         {tf_saved_model.index_path = [0]},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 06 22:55:17 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top