- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 107 for set_resource (2.35 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy
${testFrameworkImports} public class MyTest { @Test public void test() { assertNotNull(getClass().getResource("dependency/foo.properties")); } } """.stripIndent() def resourceFile = file("dependency/src/main/resources/dependency/foo.properties") resourceFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.2K 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/tpu_resource_partitioning.cc
if (!assign_var || assign_var.getValue() != result) continue; auto partitioned_input = llvm::dyn_cast_or_null<TF::TPUPartitionedInputV2Op>( assign_var.getResource().getDefiningOp()); if (!partitioned_input || !AllResourceTypesHaveSubtypes(partitioned_input.getInputs().getTypes())) continue; const auto inputs = partitioned_input.getInputs();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K 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) -
cmd/signature-v2.go
if err != nil { return ErrMalformedExpires } // Check if the presigned URL has expired. if expiresInt < UTCNow().Unix() { return ErrExpiredPresignRequest } encodedResource, err = getResource(encodedResource, r.Host, globalDomainNames) if err != nil { return ErrInvalidRequest } expectedSignature := preSignatureV2(cred, r.Method, encodedResource, strings.Join(filteredQueries, "&"), r.Header, expires)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 12.2K 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)