Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for getLogs (0.4 sec)

  1. cni/pkg/log/uds_test.go

    	// For each level, there should be two lines, one from direct log,
    	// the other one from UDS server
    	gotLogs := strings.Split(
    		strings.TrimSuffix(string(out), "\n"), "\n")
    	if want, got := len(cases)*2, len(gotLogs); want != got {
    		t.Fatalf("Number of logs want %v, got %v logs: %v", want, got, gotLogs)
    	}
    	i := 0
    	for _, l := range gotLogs {
    		var parsedLog map[string]any
    		assert.NoError(t, json.Unmarshal([]byte(l), &parsedLog))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

    //===----------------------------------------------------------------------===//
    
    mlir::LogicalResult PwStreamResultsOp::verify() {
      if (getArgs().size() != getNames().size()) {
        return emitOpError()
               << "has a mismatch between the number of arguments and their names ("
               << getArgs().size() << " vs. " << getNames().size() << ")";
      }
      return mlir::success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc

        const std::unordered_set<std::string>& aggregator_ops_to_ignore,
        SmallVector<Value>& statistics_outputs, SmallVector<StringRef>& ids,
        SmallVector<int32_t>& calibration_methods) {
      for (auto op : region.getOps<TF::CustomAggregatorOp>()) {
        if (aggregator_ops_to_ignore.count(op.getId().str())) continue;
    
        ids.push_back(op.getId());
        calibration_methods.push_back(op.getCalibrationMethod());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/optimize_global_tensors.cc

        }
      }
      return true;
    }
    
    GlobalTensorUsesMap CreateGlobalTensorUsesMap(ModuleOp module) {
      GlobalTensorUsesMap global_tensor_uses;
    
      SymbolTable symbol_table(module);
      for (auto func : module.getOps<func::FuncOp>()) {
        for (size_t i = 0, e = func.getNumArguments(); i < e; i++) {
          auto sym =
              func.getArgAttrOfType<SymbolRefAttr>(i, "tf_saved_model.bound_input");
          if (!sym) {
            continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/ScriptExecuter.groovy

        @Override
        ExecHandle build() {
            if (OperatingSystem.current().isWindows()) {
                def theArgs = ['/d', '/c', executable.replace('/', File.separator)] + getArgs()
                setArgs(theArgs) //split purposefully to avoid weird windows CI issue
                executable = 'cmd.exe'
            } else {
                executable = "${workingDir}/${executable}"
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 12 10:33:12 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc

      TF::LoadResourceDataflowAnalysis(solver);
      if (failed(solver.initializeAndRun(module))) return signalPassFailure();
    
      DenseSet<GlobalTensorOp> remaining_global_tensor_ops;
      {
        auto ops = module.getOps<GlobalTensorOp>();
        remaining_global_tensor_ops.insert(ops.begin(), ops.end());
      }
    
      for (auto global_tensor : remaining_global_tensor_ops) {
        // This pass assumes that all global tensors as immutable (e.g. by a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver_test.cc

          /*is_qdq_conversion=*/false);
    
      quantization_driver.Initialize();
      ASSERT_TRUE(quantization_driver.PropagateParamsAndReturnIfChanged());
      EXPECT_THAT(quantization_driver.GetArgs(), Not(IsEmpty()));
    
      for (const auto& arg : quantization_driver.GetArgs()) {
        const QuantState& state = quantization_driver.GetArgQuantState(arg);
        EXPECT_TRUE(isa<quant::QuantizedType>(state.params));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_globals_to_ml_program.cc

    }
    
    static LogicalResult convertTFGlobals(ModuleOp module) {
      OpBuilder globalBuilder(module.getBodyRegion());
      DenseMap<Operation *, std::string> opToName;
      for (auto globalTensor : module.getOps<tf_saved_model::GlobalTensorOp>()) {
        auto exportedNames = tf_saved_model::GetExportedNames(globalTensor);
        std::string name;
        if (exportedNames.empty()) {
          name = "global_ml_" + globalTensor.getSymName().str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

        return failure();
      }
    
      // Fetch all VarHandleOp.
      llvm::StringSet<> variable_names;
      llvm::SmallVector<TF::VarHandleOp, 4> var_ops;
      for (auto func_op : module.getOps<func::FuncOp>()) {
        for (auto var_handle_op : func_op.getOps<TF::VarHandleOp>()) {
          auto variable_name = GetVariableName(var_handle_op);
          if (variable_names.count(variable_name)) continue;
          var_ops.emplace_back(var_handle_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  10. pkg/kubelet/pod/testing/fake_mirror_client.go

    }
    
    func (fmc *FakeMirrorClient) NumOfPods() int {
    	fmc.mirrorPodLock.RLock()
    	defer fmc.mirrorPodLock.RUnlock()
    	return fmc.mirrorPods.Len()
    }
    
    func (fmc *FakeMirrorClient) GetPods() []string {
    	fmc.mirrorPodLock.RLock()
    	defer fmc.mirrorPodLock.RUnlock()
    	return sets.List(fmc.mirrorPods)
    }
    
    func (fmc *FakeMirrorClient) GetCounts(podFullName string) (int, int) {
    	fmc.mirrorPodLock.RLock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top