Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for enable_select_tf_ops (0.52 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

    }
    
    absl::Status ExportFlatbufferOrMlir(const std::string& output_filename,
                                        bool output_mlir, mlir::ModuleOp module,
                                        bool enable_select_tf_ops) {
      std::string error_msg;
      auto output = mlir::openOutputFile(output_filename, &error_msg);
      if (output == nullptr) {
        llvm::errs() << error_msg << '\n';
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.h

    struct FlatbufferExportOptions {
      // TocoFlags proto. The following fields are migrated.
      // bool emit_builtin_tflite_ops  -> !toco_flags.force_select_tf_ops()
      // bool emit_select_tf_ops       -> toco_flags.enable_select_tf_ops()
      // bool emit_custom_ops          -> toco_flags.allow_custom_ops()
      // bool allow_all_select_tf_ops  -> toco_flags.allow_all_select_tf_ops()
      // std::set<> select_user_tf_ops -> toco_flags.select_user_tf_ops()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 02:51:43 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.h

    absl::Status ExportFlatbufferOrMlir(const std::string& output_filename,
                                        bool output_mlir, mlir::ModuleOp module,
                                        bool enable_select_tf_ops);
    
    }  // namespace tac
    }  // namespace TFL
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/tflite_import_export.cc

      }
    
      return mlir::TFL::tac::ExportFlatbufferOrMlir(options_.output_file_name,
                                                    options_.output_mlir, module,
                                                    /*enable_select_tf_ops=*/false);
    }
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // TODO(haoliang): Add this pass by default.
        pass_manager->addPass(mlir::TFL::CreateLowerStaticTensorListPass(
            /*allow_tensorlist_pass_through=*/toco_flags.force_select_tf_ops() ||
                toco_flags.enable_select_tf_ops(),
            /*default_to_single_batch=*/
            toco_flags.default_to_single_batch_in_tensor_list_ops(),
            /*enable_dynamic_update_slice=*/
            toco_flags.enable_dynamic_update_slice()));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        buffers_.push_back(empty_buffer_);
        if (!toco_flags.force_select_tf_ops()) {
          enabled_op_types_.emplace(OpType::kTfliteBuiltin);
        }
        if (toco_flags.enable_select_tf_ops()) {
          enabled_op_types_.emplace(OpType::kSelectTf);
        }
        if (toco_flags.allow_custom_ops()) {
          enabled_op_types_.emplace(OpType::kCustomOp);
        }
        tf_dialect_ =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top