Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for getHttp (0.18 sec)

  1. fastapi/encoders.py

            exclude = set(exclude)
        if isinstance(obj, BaseModel):
            # TODO: remove when deprecating Pydantic v1
            encoders: Dict[Any, Any] = {}
            if not PYDANTIC_V2:
                encoders = getattr(obj.__config__, "json_encoders", {})  # type: ignore[attr-defined]
                if custom_encoder:
                    encoders.update(custom_encoder)
            obj_dict = _model_dump(
                obj,
                mode="json",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      auto* defining_op = op->getOperand(operand_index).getDefiningOp();
      for (auto attr : kQuantizationAxisAttrs) {
        if (defining_op->hasAttr(attr)) {
          return defining_op->getAttr(attr);
        }
      }
      // Not found.
      return rewriter.getI64IntegerAttr(-1);
    }
    
    LogicalResult CheckIfAttrIs8Bit(const std::string& attr, Operation* op,
                                    bool& is_8_bit) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. pkg/test/echo/proto/echo.pb.go

    }
    
    func (x *ForwardEchoRequest) GetMethod() string {
    	if x != nil {
    		return x.Method
    	}
    	return ""
    }
    
    func (x *ForwardEchoRequest) GetHttp2() bool {
    	if x != nil {
    		return x.Http2
    	}
    	return false
    }
    
    func (x *ForwardEchoRequest) GetHttp3() bool {
    	if x != nil {
    		return x.Http3
    	}
    	return false
    }
    
    func (x *ForwardEchoRequest) GetServerFirst() bool {
    	if x != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

                                    PatternRewriter& rewriter) const override {
        auto input_op = op.getInput().getDefiningOp();
        if (auto q = llvm::dyn_cast_or_null<QuantizeOp>(input_op)) {
          if (!q->getAttr(mlir::quant::kVolatileOpAttrName)) return failure();
    
          if (remove_volatile_ops_type == kPreserveInputsAndOutputs) {
            // Don't remove leading and trailing QDQ for PTQ workflow, so the io
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/decompose.cc

            new_operands.push_back(build_list_op.getOut());
          } else {
            auto attr_name = compose_func.getArgAttrOfType<StringAttr>(
                arg.index(), kAttrArgumentNameAttr);
            auto attribute = op->getAttr(attr_name.getValue());
            if (!attribute) {
              attribute =
                  compose_func.getArgAttr(arg.index(), kAttrArgumentDefaultAttr);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!op->hasAttr(TF::kTpuReplicateAttr)) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "missing _tpu_replicate attr");
        return false;
      }
      auto opattr = op->getAttr(TF::kTpuReplicateAttr);
      if (opattr != attr) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "invalid _tpu_replicate attr.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

            float_func.emitError("The attr_map attribute is malformed");
            return failure();
          }
          identifier_to_attr.insert(
              {llvm::StringRef(std::string(key_and_value_pair[1])),
               inner_op.getAttr(
                   llvm::StringRef(std::string(key_and_value_pair[1])))});
        }
      }
    
      // Set the attributes for ops with the attr_map attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. fastapi/params.py

            self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True
        ):
            self.dependency = dependency
            self.use_cache = use_cache
    
        def __repr__(self) -> str:
            attr = getattr(self.dependency, "__name__", type(self.dependency).__name__)
            cache = "" if self.use_cache else ", use_cache=False"
            return f"{self.__class__.__name__}({attr}{cache})"
    
    
    class Security(Depends):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.cc

                                                    TF_Status* status) {
      ::tensorflow::TensorShape shape;
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      ::tensorflow::Status s = cc_ctx->GetAttr(attr_name, &shape);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      size_t rank = static_cast<size_t>(shape.dims());
    
      if (!status->status.ok()) return;
    
      if (num_dims != rank) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route.go

    				},
    			},
    		}
    	case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie:
    		cookie := consistentHash.GetHttpCookie()
    		var ttl *durationpb.Duration
    		if cookie.GetTtl() != nil {
    			ttl = cookie.GetTtl()
    		}
    		return &route.RouteAction_HashPolicy{
    			PolicySpecifier: &route.RouteAction_HashPolicy_Cookie_{
    				Cookie: &route.RouteAction_HashPolicy_Cookie{
    					Name: cookie.GetName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top