Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCondition (0.23 sec)

  1. pkg/controller/job/job_controller_test.go

    				t.Error("Missing .status.startTime")
    			}
    			// validate conditions
    			if !getCondition(actual, tc.expectedCondition, v1.ConditionTrue, tc.expectedConditionReason) {
    				t.Errorf("Expected fail condition.  Got %#v", actual.Status.Conditions)
    			}
    		})
    	}
    }
    
    func getCondition(job *batch.Job, condition batch.JobConditionType, status v1.ConditionStatus, reason string) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                    PatternRewriter &rewriter) const override {
        // This lowering only works on ranked types.
        auto cond_type =
            mlir::dyn_cast<RankedTensorType>(op.getCondition().getType());
        auto then_type =
            mlir::dyn_cast<RankedTensorType>(op.getThenValue().getType());
        auto else_type =
            mlir::dyn_cast<RankedTensorType>(op.getElseValue().getType());
    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