Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for linefeed (0.14 sec)

  1. 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)
  2. 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