Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for exported_names (0.2 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/import_model.h

        absl::Span<std::string> exported_names, MLIRImportOptions options = {});
    
    // Given a V1 SavedModel, returns a MLIR module containing the functions,
    // expressed with tf_executor dialect.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ConvertSavedModelV1ToMlir(
        const SavedModelBundle& saved_model, absl::Span<std::string> exported_names,
        mlir::MLIRContext* context, MLIRImportOptions options = {});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> ()
    
      func.func @init_all_tables()
      attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} {
        %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi64>
        %cst_0 = arith.constant dense<["a", "b", "c", "d"]> : tensor<4x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

        %handle_0 = "tf.VarHandleOp"() {container="c", shared_name="a"} : () -> tensor<!tf_type.resource<tensor<1x10xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    SavedModelObjectGraphToMlirImport(
        absl::string_view saved_model_dir,
        const std::unordered_set<std::string>& tags,
        absl::Span<std::string> exported_names, mlir::MLIRContext* context,
        bool unconditionally_use_set_output_shapes = false);
    
    // Converts a TensorFlow V1 SavedModel stored in the directory with the given
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_import.cc

      // Copy to eliminate the `const` qualifier so that `absl::MakeSpan` can be
      // called on it.
      std::vector<std::string> exported_names = signature_keys;
      absl::StatusOr<OwningOpRef<ModuleOp>> module_op =
          SavedModelSignatureDefsToMlirImport(saved_model_path, tags,
                                              absl::MakeSpan(exported_names), &ctx,
                                              import_options, &bundle);
      if (!module_op.status().ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/odml-to-stablehlo-smuggle-resize.mlir

          %0  = "tf.Const"() {value = dense<[56, 904]> : tensor<2xi32>} : () -> tensor<2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 18:33:43 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

          // For example:
          //   "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> () // NOLINT
          //   func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_all_tables"]} { // NOLINT
          //     "tf.NoOp"() {device = ""} : () -> ()
          //     return
          //   }
          // clang-format on
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top