Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for HLO (0.02 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

    // NOLINTNEXTLINE
    opt<bool> import_hlo("import-hlo",
                         llvm::cl::desc("Whether the input file is hlo file."),
                         llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<HloImportType> hlo_import_type(
        "hlo-import-type", llvm::cl::desc("The file type of the hlo."),
        llvm::cl::values(clEnumVal(proto, "Import hlo in proto binary format"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/shape-inference.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=10,17:17,19 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=10,17:17,19 | FileCheck -check-prefix=NO_TUPLES %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text-via-builder %s -tf-input-shapes=10,17:17,19 | FileCheck -check-prefix=NO_TUPLES %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 969 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/add.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck -check-prefix=TUPLE-ARGS %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: | FileCheck -check-prefix=NO_RET_TUPLE %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

    // Declare passes used in xla_legalize_tf.
    
    include "mlir/Pass/PassBase.td"
    
    def LegalizeTF : Pass<"xla-legalize-tf", "ModuleOp"> {
      let summary = "Legalize from TF dialect's or HLO dialect's control flow.";
    
      let description = [{
        Legalizes from TF dialect to HLO dialect. When allow_partial_conversion is
        false, emits an error if there is any operation that can't be legalized.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

                                                RewritePatternSet* patterns);
    
    /// Converts the provided Operation as well as all nested operations into HLO
    /// dialect using the conversion patterns registered by the HLO dialect. When
    /// allow_partial_conversion is false, emits an error if there is any operation
    /// that can't be legalized.
    /// When `tf2xla_fallback_device_type` is not `None`, also uses legalization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/shape-inference-after-legalization.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=8,16,16,64:64 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text-via-builder %s -tf-input-shapes=8,16,16,64:64 | FileCheck %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h

    extern llvm::cl::opt<std::string> saved_model_exported_names;
    
    // Import HLO.
    enum HloImportType { proto, hlotxt, mlir_text };
    
    extern llvm::cl::opt<bool> import_hlo;
    extern llvm::cl::opt<HloImportType> hlo_import_type;
    
    // enable_hlo_to_tf_conversion and disable_hlo_to_tfl_conversion are used to
    // control the HLO to TF and HLO to TFLite conversion while debugging an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_compiler_client.h

    namespace tensorflow {
    
    template <typename ExecutableType, typename ClientType>
    class DeviceCompilerClient {
     public:
      DeviceCompilerClient() = default;
      virtual ~DeviceCompilerClient() = default;
    
      // Compiles `result` (HLO) to an `ExecutableType` using `ClientType` and
      // returns it.
      virtual StatusOr<std::unique_ptr<ExecutableType>> BuildExecutable(
          const XlaCompiler::Options& options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/utils.cc

                                    OpBuilder* builder) {
      return builder->create<ConstantOp>(loc, hlo::getScalarOfType(ty, raw_value));
    }
    
    ConstantOp GetScalarNegZeroOfType(Type ty, Location loc, OpBuilder* builder) {
      return builder->create<ConstantOp>(loc, hlo::getScalarNegZeroOfType(ty));
    }
    
    DenseIntElementsAttr GetI64ElementsAttr(ArrayAttr attr) {
      RankedTensorType ty =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/constant-folding-hook.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: | FileCheck -check-prefix=NO_TUPLES %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text-via-builder %s -tf-input-shapes=: | FileCheck -check-prefix=NO_TUPLES %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
      func.func @main() -> (tensor<0xi32>, tensor<0xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top