Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 428 for _xla (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/argument-sharding.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=128,10:10,1024:128,1024 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
      func.func @main(%arg0: tensor<128x10xf32> {mhlo.sharding = "\08\03\1A\02\01\02\22\02\00\01"}, %arg1: tensor<10x1024xf32> {mhlo.sharding = "\08\01\1A\01\01\22\01\00"}, %arg2: tensor<128x1024xf32> {mhlo.sharding = ""}) {
        func.return
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/tests/BUILD

            "@com_google_absl//absl/strings",
            "@local_xla//xla/service:hlo_proto_cc",
        ],
    )
    
    tf_cc_test(
        name = "device_compiler_serialize_test",
        srcs = [
            "device_compiler_serialize_test.cc",
        ],
        tags = [
            "config-cuda-only",
            "no_oss",  # This test only runs with GPU.
            "requires-gpu-nvidia",
            "xla",
        ],
        deps = [
            ":device_compiler_test_helper",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_ops.h

    #include "tensorflow/core/kernels/variable_ops.h"
    
    namespace tensorflow {
    
    // Dummy OpKernel, used for kernels assigned to an XLA device that should be
    // compiled. Should never be called at runtime since such ops should be
    // rewritten to a XlaLaunch op. If it is called, it means the placer placed an
    // operator on an XLA device but the compiler did not compile it.
    class XlaDeviceDummyOp : public OpKernel {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 23 19:28:25 UTC 2021
    - 17.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/BUILD

            "@local_tsl//tsl/platform:status",
            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla:xla_proto_cc",
            "@local_xla//xla/client:compile_only_client",
            "@local_xla//xla/hlo/ir:hlo",
            "@local_xla//xla/mlir_hlo:hlo_dialect_registration",
            "@local_xla//xla/pjrt:compile_options_proto_cc",
            "@stablehlo//:register",
        ],
    )
    
    tf_cc_test(
        name = "legalize_tf_test",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass.h

     limitations under the License.
     ==============================================================================*/
    // Rewrites computations generated by the xla.compile() Python code into
    // XlaLaunch nodes.
    //
    // xla.compile() does two main things:
    // a) marks operators that make up an XLA computation with the attribute
    //    _xla_compile_id=XYZ, where XYZ is a unique key.
    // b) adds XlaClusterOutput nodes to represent outputs of the computation.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/BUILD

            "@com_google_absl//absl/status",
            "@com_google_googletest//:gtest_main",
            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla/client:xla_computation",
            "@local_xla//xla/service:hlo_proto_cc",
        ],
    )
    
    cc_library(
        name = "mlir_pass_instrumentation",
        srcs = ["mlir_pass_instrumentation.cc"],
        hdrs = ["mlir_pass_instrumentation.h"],
        deps = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:42:09 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    #include "tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.h"
    #include "tensorflow/compiler/tf2xla/xla_compiler.h"
    #include "tensorflow/compiler/tf2xla/xla_helpers.h"
    #include "xla/client/client_library.h"
    #include "xla/stream_executor/platform_manager.h"
    #include "tensorflow/core/lib/monitoring/cell_reader.h"
    #include "tensorflow/core/lib/monitoring/test_utils.h"
    #include "tensorflow/core/platform/env.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_compiler.h

    namespace tensorflow {
    
    // Compiles/lowers a given Tensorflow graph/function/cluster into a compiled XLA
    // compilation (HLO) using the XlaCompiler and compiles the resulting
    // XlaCompilationResult into an `ExecutableType` (eg. xla::LocalExecutable) by
    // calling `ClientType` (eg. xla::LocalClient).
    //
    // Caches the compiled XlaCompilationResult and Executable using a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/python/BUILD

            "//tensorflow/c:tf_status",
            "//tensorflow/c:tf_status_helper",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:tfe_context_internal",
            "@local_xla//xla/mlir/framework/transforms:passes",
            "@local_xla//xla/mlir_hlo:all_passes",
            "//tensorflow/compiler/mlir/lite:flatbuffer_import",
            "//tensorflow/compiler/mlir/lite:tensorflow_lite",
            "//tensorflow/compiler/mlir/tensorflow",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 07 23:17:10 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        return "quant-replace-cast-hacks-with-tf-xla-ops";
      }
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Replace mixed-type Conv and Matmul cast hacks with TF XLA ops.";
      }
    
      void runOnOperation() override;
    };
    
    // Generates params for the XLA Convolution op.
    void PrepareXlaConvParams(OpBuilder &builder, Location loc, ArrayAttr strides,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top