Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 80 for HLO (0.07 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This file implements logic for legalizing HLO to TensorFlow.
    
    #include <cassert>
    #include <cstddef>
    #include <cstdint>
    #include <cstdlib>
    #include <functional>
    #include <memory>
    #include <numeric>
    #include <optional>
    #include <string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/kernels/xla_ops.cc

            input_output_alias);
        OP_REQUIRES_OK(ctx, execution_inputs.status());
      }
    
      xla::ExecutableRunOptions run_options;
    
      // Host callbacks used for HLO send/recv.
      xla::SendDeviceMemoryFunction send_function =
          GetSendDeviceMemoryFunction(ctx, key);
      run_options.set_send_device_memory_function(&send_function);
      xla::RecvDeviceMemoryFunction recv_function =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/codegen.cc

              : "";
    
      const string include_hlo_profile_printer_data_proto =
          opts.gen_hlo_profile_printer_data
              ? R"(#include "xla/service/hlo_profile_printer_data.pb.h")"
              : "";
    
      // When HLO profiling is disabled we only forward declare the
      // HloProfilePrinter protobuf.  So we can only conditionally emit this code
      // calling HloProfilePrinter::profile_counters_size.
      const string assign_profile_counters_size =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/BUILD

            "@com_google_absl//absl/status",
            "@com_google_absl//absl/types:span",
            "@local_tsl//tsl/framework:device_id_utils",
            "@local_xla//xla:executable_run_options",
            "@local_xla//xla/hlo/ir:hlo",
            "@local_xla//xla/pjrt:pjrt_client",
            "@local_xla//xla/pjrt:tf_pjrt_client",
            "@local_xla//xla/service:compiler",
            "@local_xla//xla/service:executable",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 61.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      Type new_arg_type = tensorflow::GetTypeFromTFTensorShape(shape, element_type);
    
      if (auto input_ty = mlir::dyn_cast<RankedTensorType>(old_arg_type)) {
        ArrayRef<int64_t> bounds = hlo::encodingToBounds(input_ty.getEncoding());
        // The input type has bounded dynamic dimension.
        if (!bounds.empty()) {
          SmallVector<int64_t> new_bounds(bounds.begin(), bounds.end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let description = [{
        This pass looks for the usage of the result of TPUCopyWithDynamicShapeOp
        and sets the shape of these inputs to be dynamic shaped. This will ensure
        that the generated HLO program is correctly reflecting the dynamic shape.
      }];
    
      // Required for mhlo bounded shape extension.
      let dependentDialects = ["mhlo::MhloDialect"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      func.return %0 : tensor<5x11xf32>
    }
    
    // Verify that MatMul with ranked inputs are lowered to HLO.
    // CHECK-LABEL: matmul_ranked
    func.func @matmul_ranked(%a: tensor<?x7xf32>, %b: tensor<7x?xf32>) -> tensor<?x?xf32> {
      // CHECK: "mhlo.dot"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  8. RELEASE.md

    ### XLA Support:
    
    *   xla.experimental.compile is deprecated, use
        `tf.function(experimental_compile=True)` instead.
    *   Adds `tf.function.experimental_get_compiler_ir` which returns compiler IR
        (currently 'hlo' and 'optimized_hlo') for given input for given function.
    
    ### Security:
    
    *   Fixes an undefined behavior causing a segfault in `tf.raw_ops.Switch`,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // NOTE: Assertions have been autogenerated by utils/generate-test-checks.py
    // RUN: odml-to-stablehlo-opt -tf-legalize-hlo -verify-diagnostics %s | FileCheck %s
    
    // CHECK-LABEL:   func @biasAdd_NHWC(
    // CHECK-SAME:                       %[[VAL_0:.*]]: tensor<1x32x10x32xi32>,
    // CHECK-SAME:                       %[[VAL_1:.*]]: tensor<32xi32>) -> tensor<1x32x10x32xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      TF_DerivedResultTypeAttr preferred_element_type = TF_DerivedResultTypeAttr<0>;
    
      let hasVerifier = 1;
    }
    
    def TF_XlaCustomCallV2Op : TF_Op<"XlaCustomCallV2", [Pure]> {
      let summary = "Emits an HLO `CustomCall` operation with multiple outputs.";
    
      let description = [{
    As opposed to `XlaCustomCall`, this operation supports multiple outputs.
    
    See `CustomCall` specification at
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top