Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for getHttp (0.12 sec)

  1. pkg/kubelet/secret/secret_manager.go

    func NewCachingSecretManager(kubeClient clientset.Interface, getTTL manager.GetObjectTTLFunc) Manager {
    	getSecret := func(namespace, name string, opts metav1.GetOptions) (runtime.Object, error) {
    		return kubeClient.CoreV1().Secrets(namespace).Get(context.TODO(), name, opts)
    	}
    	secretStore := manager.NewObjectStore(getSecret, clock.RealClock{}, getTTL, defaultTTL)
    	return &secretManager{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_variables.cc

      void runOnOperation() override {
        auto module = getOperation();
        // If TFLite variable legalization is not allowed, then we skip this pass.
        if (auto legalize_tfl_variables_attr =
                module->getAttr(kLegalizeTflVariables)) {
          if (!mlir::cast<BoolAttr>(legalize_tfl_variables_attr).getValue()) return;
        }
    
        RewritePatternSet patterns(&getContext());
        populateWithGenerated(patterns);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_ops.cc

                 << type_string() << " on an XLA device. This should never happen.";
    }
    
    XlaAssignVariableOp::XlaAssignVariableOp(OpKernelConstruction* c)
        : OpKernel(c) {
      OP_REQUIRES_OK(c, c->GetAttr("dtype", &dtype_));
    }
    
    void XlaAssignVariableOp::Compute(OpKernelContext* context) {
      OP_REQUIRES(context, dtype_ == context->input(1).dtype(),
                  errors::InvalidArgument(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/infeed_ops_xla_adjust_layout.cc

        OpBuilder builder(op.getContext());
        SmallVector<Type> result_types(op.getResultTypes().begin(),
                                       op.getResultTypes().end());
        if (!op->getAttr("layout")) {
          auto layout = mlir::GetTPUInfeedLayout(result_types, builder);
          if (failed(layout)) return;
    
          op->setAttr("layout", layout.value());
        }
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

        }
      }
    
      if (!in_order) {
        // Functions do not get reused in practice, so skip the check for if the
        // callee has been updated.
        StringAttr callee_sym = cluster_func_op.getFuncAttr().getAttr();
        MoveResourceArgsToEnd(symtab.lookup<func::FuncOp>(callee_sym));
      }
      builder.setInsertionPoint(cluster_func_op);
      auto xla_launch_op = builder.create<TF::XlaLaunchOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc

      auto walk_result = func_op->walk([&](mlir::Operation* op) {
        // Convert `_tpu_replicate`.
        if (op->hasAttr(TF::kTpuReplicateAttr)) {
          op->setAttr(tensorflow::kReplicationInfoAttr,
                      op->getAttr(TF::kTpuReplicateAttr));
          op->removeAttr(tensorflow::kTpuReplicateAttr);
          op->setAttr(tensorflow::kCompileDeviceTypeAttr,
                      builder.getStringAttr(tensorflow::kTpuDevice));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternStepFactory.java

     */
    package org.gradle.api.internal.file.pattern;
    
    public class PatternStepFactory {
        private static final AnyWildcardPatternStep ANY_WILDCARD_PATTERN_STEP = new AnyWildcardPatternStep();
    
        public static PatternStep getStep(String source, boolean caseSensitive) {
            if (source.length() == 0) {
                return new FixedPatternStep(source, caseSensitive);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      StringAttr device = mlir::cast<StringAttr>(
          added_func_op->getRegion(0).getBlocks().front().front().getAttr(kDevice));
      StringAttr inference_type = mlir::cast<StringAttr>(
          added_func_op->getRegion(0).getBlocks().front().front().getAttr(
              kInferenceType));
      added_call_op->setAttr(kDevice, device);
      added_call_op->setAttr(kInferenceType, inference_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. src/cmd/link/internal/ld/dwarf.go

    	a.Atr = attr
    	a.Cls = uint8(cls)
    	a.Value = value
    	a.Data = data
    }
    
    // Each DIE (except the root ones) has at least 1 attribute: its
    // name. getattr moves the desired one to the front so
    // frequently searched ones are found faster.
    func getattr(die *dwarf.DWDie, attr uint16) *dwarf.DWAttr {
    	if die.Attr.Atr == attr {
    		return die.Attr
    	}
    
    	a := die.Attr
    	b := a.Link
    	for b != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_custom_call_to_composite.cc

      LogicalResult matchAndRewrite(mlir::stablehlo::CustomCallOp op,
                                    PatternRewriter &rewriter) const override {
        auto backendConfig =
            mlir::dyn_cast<DictionaryAttr>(op->getAttr("composite.backend_config"));
        if (!backendConfig)
          return op->emitError(
              "custom_call has no 'composite.backend_config' attribute or the "
              "attribute is not a dictionary");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top