Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for OUTPUT_PATH (0.15 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/tac.py

          Invalid model_path.
          Targets are not specified.
          Invalid output_path.
      """
      if not model_path:
        raise ValueError("Invalid model_path.")
    
      if not targets:
        raise ValueError("Targets are not specified.")
    
      if not output_path:
        raise ValueError("Invalid output_path.")
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 21 01:22:53 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/gen/cpp/cpp_generator.cc

      return GenerateOneFile(cpp::RendererContext::kSource);
    }
    
    string CppGenerator::HeaderFileName() const {
      return io::JoinPath(path_config_.output_path, cpp_config_.unit + "_ops.h");
    }
    
    string CppGenerator::SourceFileName() const {
      return io::JoinPath(path_config_.output_path, cpp_config_.unit + "_ops.cc");
    }
    
    void CppGenerator::WriteHeaderFile() const {
      controller_.WriteFile(HeaderFileName(), HeaderFileContents());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 21 18:51:25 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. ci/official/utilities/extract_resultstore_links.py

          elem.tail = indent_str
    
    
    def create_xml_file(result_store_dict: ResultDictType,
                        output_path: str,
                        verbose: bool = False):
      """Creates a JUnit-based XML file, with each invocation as a testcase."""
      os.makedirs(os.path.dirname(output_path), exist_ok=True)
      failure_count = 0
      error_count = 0
    
      date_time = datetime.datetime
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

      def _create_and_save_vocab_table_lookup_model_tf1(
          self,
          output_path: str,
          tags: Collection[str],
          signature_def_key: str,
      ) -> Tuple[Mapping[str, core.Tensor], Mapping[str, core.Tensor]]:
        """Creates and saves a simple model that uses a vocab table.
    
        Args:
          output_path: Path to the directory to save the created model.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/common/path_config.h

    #define TENSORFLOW_C_EXPERIMENTAL_OPS_GEN_COMMON_PATH_CONFIG_H_
    
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    namespace generator {
    
    struct PathConfig {
      string output_path;
      std::vector<string> op_names;
      std::vector<string> api_dirs;
      string tf_prefix_dir;
      string tf_root_dir;
      string tf_output_dir;
    
      explicit PathConfig() = default;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 18:23:40 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

    opt<std::string> input_model(llvm::cl::Positional,
                                 llvm::cl::desc("<input model path>"),
                                 llvm::cl::Required);
    
    // NOLINTNEXTLINE
    opt<std::string> output_path("o", llvm::cl::desc("<output path>"),
                                 llvm::cl::Required);
    
    // NOLINTNEXTLINE
    opt<std::string> export_type("export-type", llvm::cl::desc("<export type>"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/ops/gen/common/path_config.cc

    namespace generator {
    
    PathConfig::PathConfig(const string& output_dir, const string& source_dir,
                           const string& api_dir_list,
                           const std::vector<string> op_names)
        : output_path(output_dir), op_names(op_names) {
      api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty());
    
      // Decompose the directory components given the output/source directories.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. hack/lib/golang.sh

    kube::golang::outfile_for_binary() {
      local binary=$1
      local platform=$2
      local output_path="${KUBE_GOPATH}/bin"
      local bin
      bin=$(basename "${binary}")
      if [[ "${platform}" != "${host_platform}" ]]; then
        output_path="${output_path}/${platform//\//_}"
      fi
      if [[ ${GOOS} == "windows" ]]; then
        bin="${bin}.exe"
      fi
      echo "${output_path}/${bin}"
    }
    
    # Argument: the name of a Kubernetes package.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 16:43:08 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/experimental/tac/README.md

    Once you have a converted TfLite model ready, you can use the following command
    to use TAC to optimize for your model:
    
    ```
    bazel run -c opt //tensorflow/compiler/mlir/lite/experimental/tac:tac-translate -- <PATH_TO_YOUR_MODEL> -o=<OUTPUT_PATH> -device-specs=<HARDWARE_BACKENDS>
    ```
    
    The devices_specs is a list of the names of the desired hardware backends,
    separated by comma, e.g., "GPU,CPU".
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 11.6K bytes
    - Viewed (0)
Back to top