Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetEnum (0.22 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        if (!result_type || !result_type.hasStaticShape()) {
          return failure();
        }
    
        DenseIntElementsAttr num_attr;
        if (!matchPattern(op.getNum(), m_Constant(&num_attr))) {
          return rewriter.notifyMatchFailure(op, "Num must be a constant scalar");
        }
    
        if (num_attr.begin() == num_attr.end()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top