Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for input_filename (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc

    }
    
    template <class T>
    Status LoadProtoFromFileImpl(absl::string_view input_filename, T* proto) {
      const auto file_or_err =
          llvm::MemoryBuffer::getFileOrSTDIN(StringViewToRef(input_filename));
      if (std::error_code error = file_or_err.getError()) {
        return errors::InvalidArgument(
            "Could not open input file ",
            string(input_filename.data(), input_filename.size()).c_str());
      }
    
      const auto& input_file = *file_or_err;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportFlatbufferOrMlir(
        const std::string& input_filename, bool input_mlir,
        bool experimental_prune_unreachable_nodes_unconditionally,
        llvm::SourceMgr* source_mgr, mlir::MLIRContext* context) {
      std::string error;
      std::unique_ptr<llvm::MemoryBuffer> buffer =
          mlir::openInputFile(input_filename, &error);
      if (buffer == nullptr) {
        return absl::InvalidArgumentError(absl::StrFormat(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

    // Setting prune_unused_nodes to true, would prune unreachable nodes if
    // output_arrays is specified.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> LoadFromGraphdefOrMlirSource(
        const std::string& input_filename, bool input_mlir,
        bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs,
        const GraphImportConfig& specs, absl::string_view debug_info_file,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      }
      pass_manager.clear();
    
      return mlir::success();
    }
    
    }  // namespace
    
    absl::StatusOr<OwningOpRef<ModuleOp>> LoadFromGraphdefOrMlirSource(
        const std::string& input_filename, bool input_mlir,
        bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs,
        const GraphImportConfig& specs, absl::string_view debug_info_file,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.h

    namespace mlir {
    namespace TFL {
    namespace tac {
    
    // Import the file as mlir module, the input maybe flatbuffer or mlir file.
    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>> ImportFlatbufferOrMlir(
        const std::string& input_filename, bool input_mlir,
        bool experimental_prune_unreachable_nodes_unconditionally,
        llvm::SourceMgr* source_mgr, mlir::MLIRContext* context);
    
    // Export the module to file, can be either mlir or flatbuffer.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. docs/debugging/inspect/main.go

    	}
    }
    
    func processFile(inputFileName string, privateKey []byte) {
    	// Calculate the output file name
    	var outputFileName string
    	switch {
    	case strings.HasSuffix(inputFileName, ".enc"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".enc") + ".zip"
    	case strings.HasSuffix(inputFileName, ".zip"):
    		outputFileName = strings.TrimSuffix(inputFileName, ".zip") + ".decrypted.zip"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 31 14:49:23 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/FileSystemRootUpToDateIntegrationTest.groovy

            succeeds taskName
            outputFile.text.contains inputFileName
    
            cleanup:
            cleanupSubst(drive)
        }
    
        def "up to date check works from filesystem's root - input file to output folder copy"() {
            def drive = 'Y:'
            substRoot(drive)
    
            def inputFileName = "input.txt"
            def inputFile = file(inputFileName)
            inputFile << 'content'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 04 10:15:40 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
      std::string output_buffer;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

      llvm::InitLLVM y(argc, argv);
      llvm::cl::ParseCommandLineOptions(argc, argv);
      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
      auto maybe_module =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tf_tfl_translate.cc

        module = tensorflow::ImportSavedModel(
            input_file_name, saved_model_version, tags, extra_opdefs,
            exported_names, specs, /*enable_variable_lifting=*/true, &context,
            &bundle);
      } else if (import_hlo) {
        // HLO import path.
        std::string error;
        std::unique_ptr<llvm::MemoryBuffer> buffer =
            mlir::openInputFile(input_file_name, &error);
        if (buffer == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top