Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 208 for tf_saved_model (0.34 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_output.py

      # but this test serves as documentation of this behavior for the purposes
      # of tf_saved_model users.
      #
      # CHECK:      func {{@[a-zA-Z_0-9]+}}() -> (
      # CHECK-SAME:   tensor<1xf32> {tf_saved_model.index_path = [0]},
      # CHECK-SAME:   tensor<2xf32> {tf_saved_model.index_path = [1]})
      # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["f0002_multiple_results_parentheses"]
      @tf.function(input_signature=[])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

      let summary = "Freeze tf_saved_model.asset's in func bodies.";
      let constructor = "mlir::tf_saved_model::CreateFreezeAssetsPass()";
    }
    
    def DedupBoundInputBindingPass : Pass<"tf-saved-model-dedup-bound-input-binding-pass", "mlir::func::FuncOp"> {
      let summary = "Remove duplicate 'tf_saved_model.bound_input' bindings.";
      let constructor = "mlir::tf_saved_model::CreateDedupBoundInputBindingPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init.mlir

    // Test with no session init function.
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    
      func.func @serving_default(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}) -> (tensor<100x50xf32> {tf_saved_model.index_path = ["dense_2"]})
      attributes {tf.entry_function = {control_outputs = "", inputs = "", outputs = "dense_2/Add:0"}, tf_saved_model.exported_names = ["serving_default"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 5.7K bytes
    - Viewed (0)
  4. 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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

    // CHECK: }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_remove_vars_in_session_initializer.mlir

      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
      // Test case: Variable removed for the initializer function whose
      // initializer_type is "init_op".
      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
    
      func.func @init() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"], tf_saved_model.initializer_type = "init_op"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 00:22:36 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/structured_input.py

      # CHECK-SAME:   %arg0: tensor<1xf32> {tf._user_specified_name = "d", tf_saved_model.index_path = [0, "a"]},
      # CHECK-SAME:   %arg1: tensor<2xf32> {tf._user_specified_name = "d", tf_saved_model.index_path = [0, "b"]},
      # CHECK-SAME:   %arg2: tensor<3xf32> {tf._user_specified_name = "d", tf_saved_model.index_path = [0, "c"]},
      # CHECK-SAME:   %arg3: tensor<4xf32> {tf._user_specified_name = "d", tf_saved_model.index_path = [0, "x"]},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_lift_variables.mlir

    }
    
    // -----
    
    module attributes {tf_saved_model.semantics, tf_saved_model.under_construction} {
    
      // Test case: Freezing shared VarHandleOp ops.
    
      func.func @f(%arg0: tensor<!tf_type.resource<tensor<100x50xf32>>> {tf.resource_name = "dense/kernel"}, %arg1: tensor<!tf_type.resource<tensor<50xf32>>> {tf.resource_name = "dense/bias"}) -> (tensor<100x50xf32> {tf_saved_model.index_path = ["dense_2"]})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  10. 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)
Back to top