Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for exported_names (0.18 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

        OpBuilder builder(module);
        auto bound_input = builder.getStringAttr("tf_saved_model.bound_input");
        auto exported_names = builder.getStringAttr(kTfSavedModelExportedNamesAttr);
        auto index_path = builder.getStringAttr(kTfSavedModelIndexPathAttr);
        module.walk([&](func::FuncOp func) {
          func->removeAttr(exported_names);
          for (unsigned i = 0, e = func.getNumArguments(); i != e; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

        )
        builder.save()
    
        logging.info('Saved model to: %s', save_model_path)
        exported_names = ''
        upgrade_legacy = True
        if use_lite:
          mlir = pywrap_mlir.experimental_convert_saved_model_v1_to_mlir_lite(
              save_model_path,
              exported_names,
              ','.join([tf.saved_model.tag_constants.SERVING]),
              upgrade_legacy,
              show_debug_info,
          )
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/multi_arguments_results_v1.py

    # CHECK-SAME:                  tensor<3x3xf32> {tf_saved_model.index_path = ["t"]}
    # CHECK-SAME:                  tensor<5x5xf32> {tf_saved_model.index_path = ["s"]}
    # CHECK-SAME: attributes {{.*}} tf_saved_model.exported_names = ["key"]
    # CHECK-DAG: %[[MUL0:.*]] = "tf.MatMul"(%[[ARG1]], %[[ARG0]])
    # CHECK-DAG: %[[MUL1:.*]] = "tf.MatMul"(%[[ARG0]], %[[ARG1]])
    # CHECK:  %[[IDENTITY:.*]]:2 = "tf.IdentityN"(%[[MUL1]], %[[MUL0]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/stablehlo/quantization.cc

      const absl::flat_hash_map<std::string, SignatureDef> signature_def_map =
          GetSignatureDefMapFromBundle(*saved_model_bundle);
    
      std::vector<std::string> exported_names;
      for (const auto& [key, value_unused] : signature_def_map) {
        exported_names.push_back(key);
      }
    
      if (failed(mlir::tf_saved_model::FreezeVariables(
              module_op, saved_model_bundle->GetSession()))) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 10:49:12 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/include_variables_in_init_v1.py

    # variable.
    # CHECK: func @[[INIT_FUNC]](%[[ARG_0:.*]]: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.bound_input = @y}) attributes {
    # CHECK-SAME: tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init"]
    # CHECK-SAME: tf_saved_model.initializer_type = "init_op"
    # CHECK-SAME: }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_global_tensors_mutable_tensors.mlir

      func.func @f(%arg0: tensor<!tf_type.resource<tensor<f32>>> {tf_saved_model.bound_input = @v})
      attributes {tf_saved_model.exported_names = ["f"]} {
        // CHECK: "tf.ReadVariableOp"
        %0 = "tf.ReadVariableOp"(%arg0) {device = ""} : (tensor<!tf_type.resource<tensor<f32>>>) -> tensor<f32>
        func.return
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 703 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/strip_saved_module_metadata.mlir

      func.func @f(%arg0: tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.bound_input = @v})
      -> (tensor<!tf_type.resource<tensor<?xf32>>> {tf_saved_model.index_path = []})
      attributes {tf_saved_model.exported_names = ["f"]} {
        // CHECK: return
        return %arg0 : tensor<!tf_type.resource<tensor<?xf32>>>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 30 01:28:41 UTC 2022
    - 712 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/basic.mlir

    // CHECK-SAME: {device = "/device:CPU:0", index = 0 : i64}
    
    
    // CHECK-LABEL: func @init
    // CHECK-SAME: {tfrt.cost_threshold = 1 : i64}
    func.func @func_init() attributes {tf_saved_model.exported_names = ["init"]} {
      func.return
    }
    
    // CHECK-LABEL: func @basic
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    // CHECK-SAME: [[arg0:%.*]]: !tfrt_fallback.tf_tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-allow-tf.mlir

          %c = stablehlo.constant dense<40> : tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 914 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_initialize_variables_in_session_init_fail.mlir

      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: Thu Mar 24 05:47:26 UTC 2022
    - 994 bytes
    - Viewed (0)
Back to top