Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for getLogs (0.27 sec)

  1. pkg/kubelet/server/server.go

    		ws.Path(logsPath)
    		ws.Route(ws.GET("").
    			To(s.getLogs).
    			Operation("getLogs"))
    		if !enableSystemLogQuery {
    			ws.Route(ws.GET("/{logpath:*}").
    				To(s.getLogs).
    				Operation("getLogs").
    				Param(ws.PathParameter("logpath", "path to the log").DataType("string")))
    		} else {
    			ws.Route(ws.GET("/{logpath:*}").
    				To(s.getLogs).
    				Operation("getLogs").
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 40.1K bytes
    - Viewed (0)
  2. pkg/kube/client.go

    	opts := &v1.PodLogOptions{
    		Container: container,
    		Previous:  previousLog,
    	}
    	res, err := c.kube.CoreV1().Pods(podNamespace).GetLogs(podName, opts).Stream(ctx)
    	if err != nil {
    		return "", err
    	}
    	defer closeQuietly(res)
    
    	builder := &strings.Builder{}
    	if _, err = io.Copy(builder, res); err != nil {
    		return "", err
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

          tensorflow::XlaCallModuleLoader::Create(
              context, static_cast<int>(op.getVersion()), op.getModule().str(),
              std::move(disabled_checks), std::move(platforms),
              /*num_invocation_args=*/op.getArgs().size(),
              op.getHasTokenInputOutput()));
      return std::move(*loader).module();
    }
    
    // Renames functions in the stablehlo module to avoid naming conflicts with
    // existing functions in the tf module.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

                                  TF::XlaCallModuleOp xla_call_module_op) {
      SmallVector<Type> arg_types;
      SmallVector<Location> arg_locs;
      for (const Value arg : xla_call_module_op.getArgs()) {
        arg_types.push_back(arg.getType());
        arg_locs.push_back(arg.getLoc());
      }
    
      SmallVector<Type> output_types;
      for (const Value output : xla_call_module_op.getOutput()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        ModuleOp module = op->getParentOfType<ModuleOp>();
        SymbolTable symbol_table(module);
        func::FuncOp float_func =
            dyn_cast<func::FuncOp>(symbol_table.lookup(function_name));
        OperandRange func_args = op.getArgs();
        func::FuncOp new_float_func = float_func.clone();
    
        SmallVector<Value> new_float_func_args{func_args.begin(), func_args.end()};
        new_float_func_args[weight_operand_idx] = reshape_op;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

      ASSERT_TRUE(module_op);
    
      func::FuncOp main_fn = FindMainFuncOp(*module_op);
      ASSERT_THAT(main_fn, NotNull());
    
      auto xla_call_module_ops = main_fn.getOps<TF::XlaCallModuleOp>();
      ASSERT_FALSE(xla_call_module_ops.empty());
    
      // Test that `GetQuantizationMethod` returns a valid `Method` corresponding to
      // `"no_quantization {}"`.
      const absl::StatusOr<Method> method =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  10. 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)
Back to top