Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for linefeed (0.15 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/adjust-layout.mlir

    // RUN: tf-opt -pass-pipeline='builtin.module(func.func(infeed-ops-xla-adjust-layout))' %s | FILECHECK_OPTS="" FileCheck %s
    
    func.func @infeed_dequeue_tuple() -> (tensor<1x8x4x4xi32>, tensor<1x100x1xf32>) {
      // CHECK: [[TOKEN:%.*]] = mhlo.create_token : !mhlo.token
      %0 = "mhlo.create_token"() : () -> !mhlo.token
    
      // CHECK:               [[INFEED:%.*]]:3 = "mhlo.infeed"([[TOKEN]]) <{
      // CHECK-SAME{LITERAL}:   infeed_config = "", layout = [[1, 3, 2, 0], [1, 2, 0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 817 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

      ];
    
      let constructor = "mlir::mhlo::CreateTFXLADeviceSpecificTransformsPass()";
    }
    
    def InfeedOpsXlaAdjustLayout : Pass<"infeed-ops-xla-adjust-layout",
                                        "mlir::func::FuncOp"> {
      let summary = "Adjusts Infeed ops layout for XLA.";
    
      let description = [{"Adjust layouts so infeed send & receive use the same "
                        "format."}];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

              if (retryMs != -1L) {
                callback.onRetryChange(retryMs)
              }
            }
    
            -1 -> {
              val lineEnd = source.indexOfElement(CRLF)
              if (lineEnd != -1L) {
                // Skip the line and newline
                source.skip(lineEnd)
                source.select(options)
              } else {
                return false // No more newlines.
              }
            }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateTFXLADeviceSpecificTransformsPass(
        std::optional<StringRef> tf2xla_fallback_device_type = std::nullopt);
    
    // Adjusts XLA layout for Infeed ops.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateInfeedsOpsXlaAdjustLayoutPass();
    
    #define GEN_PASS_REGISTRATION
    #define GEN_PASS_DECL_INFEEDSOPSXLAADJUSTLAYOUT
    #define GEN_PASS_DECL_LEGALIZETF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

    #include "xla/translate/mhlo_to_hlo/type_to_shape.h"
    
    namespace mlir {
    
    static FailureOr<std::vector<int64_t>> GetTPUInfeedLayoutFromAPI(
        RankedTensorType t) {
      // Call the TPU API to determine the right infeed layout. Note that
      // this can fail if we're not running on a TPU-enabled node.
      // TODO(kramm): Move this into a separate pass. See b/184944903
      xla::Shape old_shape = xla::TypeToShape(t);
      XLA_Shape old_shape_c = {};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top