Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 81 for exported_names (0.4 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h

    // Convert the session initializer to a function.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateConvertSessionInitializerToFunctionPass();
    
    // Creates forwarding functions for 'exported_names'.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateAddFunctionsForExportedNamesPass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_DEDUPBOUNDINPUTBINDINGPASS
    #define GEN_PASS_DECL_FREEZEASSETSPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver_with_skipping.mlir

        %cst = stablehlo.constant dense<0.000000e+00>: tensor<10x1024x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def.mlir

        %cst = arith.constant dense<0.000000e+00> : tensor<5xf32>
        %cst_0 = arith.constant dense<1.0> : tensor<5x384xf32>
        %cst_1 = arith.constant dense<1.0> : tensor<5x384xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

        const std::string& input_filename, int saved_model_version,
        const std::unordered_set<std::string>& tags,
        absl::Span<const std::string> extra_tf_opdefs,
        absl::Span<std::string> exported_names, const GraphImportConfig& specs,
        bool enable_variable_lifting, mlir::MLIRContext* context,
        std::unique_ptr<tensorflow::SavedModelBundle>* saved_model_bundle);
    
    Status ConvertTFExecutorToStablehloFlatbuffer(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

    namespace mlir {
    namespace tf_saved_model {
    
    // The name of the attribute indicating under what name an object is exported.
    inline constexpr StringRef kTfSavedModelExportedNamesAttr =
        "tf_saved_model.exported_names";
    
    // The name of the attribute attached to input arguments or results of a
    // function to represent the path which one would use to index into a structured
    // value to reach a given tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir

        %cst = "tf.Const"() {value = dense<2> : tensor<960x960x3x512xi8>} : () -> tensor<960x960x3x512xi8>
        %cst_0 = "tf.Const"() {value = dense<0.00117647066> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_xla.mlir

        %cst = "tf.Const"() {device = "", value = dense<[7.72826624, 8.8264122, 3.64885974]> : tensor<3xf32>} : () -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

      let summary = "Create a trampoline function for each exported name.";
      let description = [{
          This converts
            func.func @foo() attributes {tf_saved_model.exported_names = ["a", "b", "c"]}
          to
            func.func @a() {return @foo_internal()}
            func.func @b() {return @foo_internal()}
            func.func @c() {return @foo_internal()}
            func.func private @foo_internal()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

      for (auto globalTensor : module.getOps<tf_saved_model::GlobalTensorOp>()) {
        auto exportedNames = tf_saved_model::GetExportedNames(globalTensor);
        std::string name;
        if (exportedNames.empty()) {
          name = "global_ml_" + globalTensor.getSymName().str();
        } else if (exportedNames.size() == 1) {
          name = exportedNames[0].str();
        } else {
          return globalTensor.emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
Back to top