Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 183 for Succeeded (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

            return
          }
        }
      )mlir");
    
      FailureOr<SmallVector<AssetFileDef>> asset_file_defs =
          ConvertAssetArgs(*module_op);
    
      EXPECT_TRUE(succeeded(asset_file_defs));
      EXPECT_THAT(*asset_file_defs, SizeIs(1));
    
      const AssetFileDef& asset_file_def = *asset_file_defs->begin();
      EXPECT_THAT(asset_file_def.filename(), Eq("file_0.txt"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. pkg/controller/job/success_policy.go

    			// The current succeeded interval is behind, so we can move to the next.
    			succeededPointer++
    		} else if succeededIndexes[succeededPointer].Last > ruleIndexes[rulePointer].Last {
    			// The current rule interval is behind, so we can move to the next.
    			rulePointer++
    		} else {
    			// Both intervals end at the same position, we can move to the next succeeded, and next rule.
    			succeededPointer++
    			rulePointer++
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

          func.return %2 : tensor<*xi32>
        }
      })";
    
      CellReader<int64_t> error(kHasTpuPartitionedCallStreamzName);
      CreateModule(kMlirModuleStr);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
    
      EXPECT_EQ(error.Delta("true"), 1);
      EXPECT_EQ(error.Delta("false"), 0);
    }
    
    TEST_F(InferenceMetricsPassTest, RecordsFalseForNonTPUPartitionedCallOp) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. pkg/volume/util/operationexecutor/node_expander.go

    	resizeStatus v1.ClaimResourceStatus
    
    	// pvcAlreadyUpdated if true indicates that although we are calling NodeExpandVolume on the kubelet
    	// PVC has already been updated - possibly because expansion already succeeded on different node.
    	// This can happen when a RWX PVC is expanded.
    	pvcAlreadyUpdated bool
    }
    
    func newNodeExpander(resizeOp nodeResizeOperationOpts, client clientset.Interface, recorder record.EventRecorder) *NodeExpander {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:30:35 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. test/fixedbugs/issue9862_run.go

    import (
    	"os/exec"
    	"strings"
    )
    
    func main() {
    	out, err := exec.Command("go", "run", "fixedbugs/issue9862.go").CombinedOutput()
    	outstr := string(out)
    	if err == nil {
    		println("go run issue9862.go succeeded, should have failed\n", outstr)
    		return
    	}
    	if !strings.Contains(outstr, "symbol too large") {
    		println("go run issue9862.go gave unexpected error; want symbol too large:\n", outstr)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 662 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass_test.cc

          %0 = "tf.Const"() {value = dense<1000> : tensor<1xi32>} : () -> tensor<1xi32>
          func.return %0 : tensor<1xi32>
        }
      })";
    
      CreateModule(kMlirModuleStr);
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
    }
    
    TEST_F(VerifyNoOutsideCompilationMarkersPassTest,
           FailsXlaOutsideCompilationMarkers) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

          func.return %1 : tensor<6x3x!tf_type.qint8>
        }
      })";
      CreateModule(kMlirModuleStr);
      CellReader<int64_t> reader(kMetricsName);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
      EXPECT_EQ(reader.Delta("tf.ConcatV2"), 1);
      EXPECT_EQ(reader.Delta("func.return"), 1);
      EXPECT_EQ(reader.Delta("func.func"), 0);
    }
    
    TEST_F(LegalizeTfTypesTest, RecordsStreamzNoQuantOps) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. test/typeparam/chansimp.dir/main.go

    	if !ok {
    		panic("TryAcquire failed")
    	}
    	*p = "a"
    
    	var wg sync.WaitGroup
    	wg.Add(1)
    	go func() {
    		defer wg.Done()
    		_, ok := ex.TryAcquire()
    		if ok {
    			panic(fmt.Sprintf("TryAcquire succeeded unexpectedly"))
    		}
    	}()
    	wg.Wait()
    
    	ex.Release(p)
    
    	p, ok = ex.TryAcquire()
    	if !ok {
    		panic(fmt.Sprintf("TryAcquire failed"))
    	}
    }
    
    func TestRanger() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass_test.cc

      CellReader<int64_t> dynamism_function_counter(
          kDynamismFunctionCounterStreamzName);
    
      CreateModule(kMlirModuleStr);
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
      EXPECT_EQ(dynamism_function_counter.Delta(kNotDynamicFunctionName), 1);
    }
    
    TEST_F(InputLoweringMetricsPassTest, CountsDynamicOps) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 23 19:42:09 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

      // incompatible_shape_error is `true` (what is also checked by the verifier).
      if (succeeded(RewriteEqOp<TF::EqualOp>(op, rewriter))) return success();
      if (succeeded(RewriteEqOp<TF::NotEqualOp>(op, rewriter))) return success();
      if (succeeded(RewriteBatchMatMulV2Op(op, rewriter))) return success();
    
      return failure();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top