- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 74 for set_resource (1.2 sec)
-
plugin/pkg/admission/certificates/ctbattest/admission_test.go
} if a.GetAPIVersion() != "*" { return authorizer.DecisionDeny, fmt.Sprintf("unrecognised apiVersion '%s'", a.GetAPIVersion()), nil } if a.GetResource() != "signers" { return authorizer.DecisionDeny, fmt.Sprintf("unrecognised resource '%s'", a.GetResource()), nil } if a.GetName() != f.allowedName { return authorizer.DecisionDeny, fmt.Sprintf("unrecognised resource name '%s'", a.GetName()), nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc
// Reorders the arguments. std::sort(args.begin(), args.end(), [&](Node* a, Node* b) { // Non-resources appear before resources bool a_is_resource = (a->output_type(0) == DT_RESOURCE); bool b_is_resource = (b->output_type(0) == DT_RESOURCE); // Uses the name as a tiebreaker so the output is deterministic. StringPiece a_name(a->name()); StringPiece b_name(b->name());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java
) { assert source.getResource().isContentCached(); if (source.getResource().getHasEmptyContent()) { return new EmptyCompiledScript<>(operation); } String templateId = operation.getId(); // TODO: Figure if execution engine should calculate the source hash on its own HashCode sourceHashCode = source.getResource().getContentHash();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:23:24 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
ElementsAttr GetTensorValueAsElementsAttr( TF::VarHandleOp var_handle_op, const tensorflow::Tensor& resource_tensor, const tensorflow::DeviceMgr* mgr, OpBuilder builder) { if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) { return GetTensorValueAsElementsAttr(resource_tensor, builder); } auto handle = resource_tensor.scalar<tensorflow::ResourceHandle>()(); auto* var_ptr = tf_saved_model::GetVariableFromSession(var_handle_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.8K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
err := wait.Poll(10*time.Millisecond, 5*time.Second, func() (bool, error) { for _, action := range fakeClientset.Actions() { if action.GetVerb() == "patch" && action.GetResource().Resource == "pods" { podPatched = true } if action.GetVerb() == "delete" && action.GetResource().Resource == "pods" { podDeleted = true } } return podPatched == expectPatch && podDeleted == expectDelete, nil }) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
tensorflow::Var** maybe_resource) { auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx); *maybe_resource = nullptr; if (cc_ctx->input_dtype(input) == tensorflow::DT_RESOURCE) { if (LookupResource(cc_ctx, HandleFromInput(cc_ctx, input), maybe_resource) .ok()) { return (*maybe_resource)->mu(); } else { cc_ctx->CtxFailureWithWarning(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
VLOG(3) << "Found alias: " << alias->ToString(); int tf_param = input_mapping[alias->parameter_number] - missing_ctx_input_prefix; const Tensor input_tensor = ctx->input(tf_param).dtype() != DT_RESOURCE ? ctx->input(tf_param) : *resource_vars_snapshots.at(missing_ctx_input_prefix + tf_param); se::DeviceMemoryBase input_buffer = XlaTensor::DeviceMemoryFromTensor(input_tensor);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go
defer span.AddEvent("Writing http response done") transformResponseObject(ctx, scope, req, w, http.StatusOK, outputMediaType, result) } } // GetResource returns a function that handles retrieving a single resource from a rest.Storage object. func GetResource(r rest.Getter, scope *RequestScope) http.HandlerFunc { return getResourceHandler(scope, func(ctx context.Context, name string, req *http.Request) (runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 16 10:22:16 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
} func TestSuite_GetResource(t *testing.T) { defer cleanupRT() act := func(refPtr any, trackedResource resource.Resource) error { var err error runFn := func(ctx *suiteContext) int { err = ctx.GetResource(refPtr) return 0 } s := newTestSuite("tid", runFn, defaultExitFn, defaultSettingsFn) s.Setup(func(c resource.Context) error { c.TrackResource(trackedResource) return nil }) s.Run()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0)