Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getNumDynamicDims (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

    // Returns True if the operand type is RankedTensorType and valid.
    def HasValidRankedTensor : Constraint<CPred<
      "$0.getType().isa<RankedTensorType>() && "
      "$0.getType().cast<RankedTensorType>().getNumDynamicDims() <= 1">>;
    
    // Check if the truncated shape of the lhs is equal to the shape of rhs
    def IsPrefixTruncatedShapeEqualTo : Constraint<CPred<
      "GetShape($0, true) == GetShape($1)">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
Back to top