Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetTPUInfeedLayout (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

      ApiConverter::Destroy(&new_shape_c);
    
      auto minor_to_major = new_shape.layout().minor_to_major();
      return std::vector<int64_t>(minor_to_major.begin(), minor_to_major.end());
    }
    
    FailureOr<Attribute> GetTPUInfeedLayout(const ArrayRef<Type> types,
                                            OpBuilder &rewriter) {
      auto i64_type = rewriter.getIntegerType(64);
      if (types.size() > 1) {
        llvm::SmallVector<mlir::Attribute> v;
    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