Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for _xla (0.07 sec)

  1. tensorflow/compiler/mlir/tf_mlir_opt_main.cc

    #include "tensorflow/compiler/mlir/tosa/tf_tfl_passes.h"
    #include "tensorflow/compiler/mlir/tosa/tfl_passes.h"
    #include "tensorflow/compiler/mlir/tosa/transforms/passes.h"
    #include "xla/mlir/framework/transforms/passes.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    
    int main(int argc, char **argv) {
      tensorflow::InitMlir y(&argc, &argv);
    
      mlir::registerAllPasses();
      mlir::registerTransformsPasses();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/xla_validate_inputs.mlir

    // RUN: tf-opt %s -split-input-file -verify-diagnostics -tf-xla-validate-inputs
    
    // expected-error @+1 {{expects no nested calls of entry functions as they prevent graph traversal in some passes from working correctly}}
    func.func @nested_entry_functions() attributes {tf.entry_function = {}} {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 19:29:14 UTC 2024
    - 818 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/python/BUILD

            "@llvm-project//llvm:Support",
            "@llvm-project//mlir:FuncDialect",
            "@llvm-project//mlir:IR",
            "@llvm-project//mlir:Support",
            "@local_xla//xla/service:hlo_parser",
            "@local_xla//xla/service:hlo_proto_cc",
            "@local_xla//xla/translate/hlo_to_mhlo:hlo_to_mlir_hlo",
        ],
    )
    
    # Smaller version of flatbuffer_translate which only converts flatbuffer to MLIR.
    cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:23:49 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

          llvm::cl::desc("Choose target opset."),
          llvm::cl::values(
              clEnumValN(OpSet::TF, "TF",
                         "Uses TF ops that mimic quantization behavior"),
              clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"),
              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    
      Option<int64_t> min_num_elements_for_weights_{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.h

    CreateTPUClusterFormationPass(bool strict_clusters = false);
    
    // Creates a pass that extracts outside compilation (Host ops inside device
    // cluster) at head/tail of Device cluster to run before/after XLA computation.
    std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>>
    CreateExtractHeadTailOutsideCompilationPass();
    
    // Creates a pass that extract outside compilation (Host ops inside cevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/stablehlo/BUILD

    load("@local_xla//xla/tsl:tsl.default.bzl", "tsl_pybind_extension")
    load("//tensorflow:pytype.default.bzl", "pytype_strict_library")
    load("//tensorflow:strict.default.bzl", "py_strict_test")
    
    package(
        # copybara:uncomment default_applicable_licenses = ["//tensorflow:license"],
        default_visibility = [
            ":friends",
            "//tensorflow/tools/pip_package:__subpackages__",
        ],
        licenses = ["notice"],
    )
    
    package_group(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 09 18:15:11 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

    limitations under the License.
    ==============================================================================*/
    
    // This transformation pass converts stateful and stateless partitioned calls
    // with _xla_compile_device_type attribute to XLA launch ops.
    
    #include <stack>
    
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/xla_broadcast.mlir

    // RUN: tf-opt %s -split-input-file -tf-xla-broadcast | FileCheck %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.h

    #include "mlir/IR/BuiltinTypeInterfaces.h"  // from @llvm-project
    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h"  // IWYU pragma: keep
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"  // IWYU pragma: keep
    
    namespace mlir {
    namespace odml {
    
    // Given a Composite op that wraps a core.aten.avg_pool2d, returns the padding
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/convert_type.h

    #include "mlir/IR/BuiltinAttributes.h"  // from @llvm-project
    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/schema/schema_generated.h"
    #include "xla/statusor.h"
    #include "tensorflow/core/framework/types.pb.h"
    
    namespace mlir {
    class Builder;
    }  // namespace mlir
    
    namespace tflite {
    // Convert the MLIR type to the corresponding TFLite tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top