Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for InferExpandDimsType (0.15 sec)

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

    }
    
    #include "tensorflow/compiler/mlir/tensorflow/transforms/generated_lower_tf.inc"
    
    // Infers ExpandDims op output type for the given input type `ty` and dimension
    // to expand at the given `axis`.
    Type InferExpandDimsType(Type ty, int64_t axis, Builder *builder) {
      auto ranked_ty = mlir::dyn_cast<RankedTensorType>(ty);
    
      // Unranked type.
      if (!ranked_ty) return ty;
    
      auto shape = llvm::to_vector<4>(ranked_ty.getShape());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
Back to top