Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getAxis (0.28 sec)

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

        if (!shift_ty || shift_ty.getRank() != 0) {
          return rewriter.notifyMatchFailure(
              op, "require the type of shift to be 0D tensor");
        }
    
        APInt val;
        if (!matchPattern(op.getAxis(), m_ConstantInt(&val))) {
          return rewriter.notifyMatchFailure(op, "require axis to be constant");
        }
        int axis = val.getSExtValue();
    
    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