Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 93 for attr_ (0.06 sec)

  1. pkg/kubelet/kubelet.go

    			otherPods = append(otherPods, op)
    		}
    		attrs.OtherPods = otherPods
    	}
    	for _, podAdmitHandler := range kl.admitHandlers {
    		if result := podAdmitHandler.Admit(attrs); !result.Admit {
    			return false, result.Reason, result.Message
    		}
    	}
    
    	return true, "", ""
    }
    
    func (kl *Kubelet) canRunPod(pod *v1.Pod) lifecycle.PodAdmitResult {
    	attrs := &lifecycle.PodAdmitAttributes{Pod: pod}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_test.go

    	podsToReject []*v1.Pod
    }
    
    // Admit rejects all pods in the podsToReject list with a matching UID.
    func (a *testPodAdmitHandler) Admit(attrs *lifecycle.PodAdmitAttributes) lifecycle.PodAdmitResult {
    	for _, podToReject := range a.podsToReject {
    		if podToReject.UID == attrs.Pod.UID {
    			return lifecycle.PodAdmitResult{Admit: false, Reason: "Rejected", Message: "Pod is rejected"}
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

          // Add Const op for padding value.
          ArrayRef<Attribute> padding_attr_array =
              op->getAttrOfType<ArrayAttr>("explicit_paddings").getValue();
    
          auto get_int = [](Attribute attr) {
            return mlir::cast<IntegerAttr>(attr).getInt();
          };
    
          SmallVector<int32_t> padding_values(padding_attr_array.size());
          for (int i = 0; i < padding_attr_array.size(); i++) {
            padding_values[i] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  4. src/cmd/link/internal/loader/loader.go

    // SetAttrVisibilityHidden sets the "hidden visibility" property for a
    // symbol (see AttrVisibilityHidden).
    func (l *Loader) SetAttrVisibilityHidden(i Sym, v bool) {
    	if !l.IsExternal(i) {
    		panic("tried to set visibility attr on non-external symbol")
    	}
    	if v {
    		l.attrVisibilityHidden.Set(l.extIndex(i))
    	} else {
    		l.attrVisibilityHidden.Unset(l.extIndex(i))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/kernels/xla_ops.cc

    void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) {
      VLOG(1) << "XlaLocalLaunchOpBase::Compute "
              << Canonicalize(function_.name(), AttrSlice(&function_.attr()));
      xla_launch_counter->GetCell(platform_info_.device_type().type_string())
          ->IncrementBy(1);
    
      std::vector<const Tensor*> inputs = InputsFromContext(ctx);
      std::vector<XlaCompiler::Argument> xla_compiler_args;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 22:46:36 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

      Returns:
        A mapping of `shared_name` -> `NodeDef` corresponding to a variable op.
      """
      variable_nodes = {}
    
      for var_node in filter(_is_variable, graph_def.node):
        shared_name = str(var_node.attr['shared_name'].s, encoding='utf-8')
        variable_nodes[shared_name] = var_node
    
      for func in graph_def.library.function:
        for var_node in filter(_is_variable, func.node_def):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  7. pilot/pkg/model/telemetry_logging_test.go

    				DisableBuiltinLabels: true,
    				Body: &otlpcommon.AnyValue{
    					Value: &otlpcommon.AnyValue_StringValue{
    						StringValue: EnvoyTextLogFormat,
    					},
    				},
    			},
    		},
    		{
    			name:        "with attrs",
    			logName:     OtelEnvoyAccessLogFriendlyName,
    			clusterName: fakeCluster,
    			hostname:    fakeAuthority,
    			body:        EnvoyTextLogFormat,
    			labels: &structpb.Struct{
    				Fields: map[string]*structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:30 UTC 2024
    - 54K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    node and associated metadata.}]>:$key,
        Res<TF_BoolTensor, [{If the `must_compile` attr is false the _XlaCompile op
    can decide not to compile the clusters based on some profitability
    heuristics.  In that case `compilation_successful` is false if _XlaCompile
    chose not to compile the cluster.  If the `must_compile` attr is true then
    _XlaCompile always attempts to compile the cluster and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  9. samples/bookinfo/src/productpage/static/tailwind/tailwind.css

    e(r){var n;return r===void 0&&(r={}),n=i.call(this,g1(r))||this,n.type=u1.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:Lr(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Lr(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var t=e.prototype;return t.getQuotedValue=function(n){n===void 0&&(n={});var a=this._determineQuoteMark(n),s=u...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 14:48:01 UTC 2024
    - 357.1K bytes
    - Viewed (1)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          %2 = "tf.Const"() {device = "baz", value = dense<[[42.0]]> : tensor<1x1xf32>} : () -> tensor<1x1xf32>
        ```
      }];
    }
    
    def TFDeviceAssignmentByFuncAttrPass : Pass<"tf-device-assignment-by-func-attr", "mlir::func::FuncOp"> {
      let summary = "Device assignment in TF dialect using the device specified in the function attribute.";
      let constructor = "TF::CreateTFDeviceAssignmentByFuncAttrPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top