Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for convert_legacy_fed_inputs (0.55 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

        llvm::StringRef input, MLIRContext* context) {
      tensorflow::GraphdefToMlirOptions options{
          debug_info_file,        xla_compile_device_type,
          prune_unused_nodes,     convert_legacy_fed_inputs,
          graph_as_function,      upgrade_legacy,
          enable_shape_inference, unconditionally_use_set_output_shapes,
          enable_soft_placement,  set_original_tf_func_name};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.h

    extern llvm::cl::opt<std::string> debug_info_file;
    extern llvm::cl::opt<std::string> xla_compile_device_type;
    extern llvm::cl::opt<bool> prune_unused_nodes;
    extern llvm::cl::opt<bool> convert_legacy_fed_inputs;
    extern llvm::cl::opt<bool> graph_as_function;
    extern llvm::cl::opt<bool> upgrade_legacy;
    // TODO(jpienaar): Temporary flag, flip default and remove.
    extern llvm::cl::opt<bool> enable_shape_inference;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/graphdef_to_tfl_flatbuffer.cc

          model_flags.control_output_arrays().end());
      TF_RETURN_IF_ERROR(
          ParseOutputArrayInfo(control_output_arrays, &specs.control_outputs));
    
      specs.prune_unused_nodes = true;
      specs.convert_legacy_fed_inputs = true;
      specs.graph_as_function = false;
      specs.upgrade_legacy = true;
      specs.unconditionally_use_set_output_shapes = true;
      internal::WarningUnusedFlags(model_flags, toco_flags);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

            LoadProtoFromFile(import_options.debug_info_file, &debug_info));
      }
    
      GraphImportConfig specs;
      specs.prune_unused_nodes = import_options.prune_unused_nodes;
      specs.convert_legacy_fed_inputs = import_options.convert_legacy_fed_inputs;
      specs.graph_as_function = import_options.graph_as_function;
      specs.upgrade_legacy = import_options.upgrade_legacy;
      specs.enable_shape_inference = import_options.enable_shape_inference;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

    namespace tensorflow {
    
    using tsl::Status;
    using tsl::StatusOr;
    
    struct GraphdefToMlirOptions {
      std::string debug_info_file;
      std::string xla_compile_device_type;
      bool prune_unused_nodes;
      bool convert_legacy_fed_inputs;
      bool graph_as_function;
      bool upgrade_legacy;
      bool enable_shape_inference;
      bool unconditionally_use_set_output_shapes;
      bool enable_soft_placement;
      bool set_original_tf_func_name = false;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_cl.cc

    // NOLINTNEXTLINE
    opt<bool> prune_unused_nodes(
        "tf-prune-unused-nodes",
        llvm::cl::desc("Prune unused nodes in the input graphdef"),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> convert_legacy_fed_inputs(
        "tf-convert-legacy-fed-inputs",
        llvm::cl::desc(
            "Eliminate LegacyFedInput nodes by replacing them with Placeholder"),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 10 20:59:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

      ss << "\ncontrol_outputs:";
      for (auto& output : control_outputs) ss << " " << output;
      ss << "\nprune_unused_nodes: " << prune_unused_nodes;
      ss << "\nconvert_legacy_fed_inputs: " << convert_legacy_fed_inputs;
      ss << "\ngraph_as_function: " << graph_as_function;
      ss << "\nupgrade_legacy: " << upgrade_legacy;
      ss << "\nrestrict_functionalization_to_compiled_nodes: "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.h

      // LegacyFedInput ops have two outputs unlike Placeholder which has only one
      // output, so if both outputs of the LegacyFedInput ops are used then returns
      // an error.
      bool convert_legacy_fed_inputs = false;
      // If true, the main graph will be treated as a function.
      bool graph_as_function = false;
      // If true, upgrade legacy features of the graph (for instance, functionalize
      // control-flow).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:56:10 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      GraphdefToMlirOptions graphdef_conversion_options{
          std::string(debug_info_file),
          /*xla_compile_device_type=*/"",
          /*prune_unused_nodes=*/specs.prune_unused_nodes,
          /*convert_legacy_fed_inputs=*/true,
          /*graph_as_function=*/false,
          specs.upgrade_legacy,
          /*enable_shape_inference=*/false,
          /*unconditionally_use_set_output_shapes=*/true,
          /*enable_soft_placement=*/false};
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

    // - Adding the default attributes to each node def if they are missing from
    //   the GraphDef.
    // - Replacing LegacyFedInput nodes with Placeholder nodes if
    //   convert_legacy_fed_inputs option is enabled.
    Status PreprocessGraphDef(const GraphImportConfig* specs, GraphDef* graph_def) {
      for (auto& node_def : *graph_def->mutable_node()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top