- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 48 for set_resource (0.81 sec)
-
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td
} class FallbackAsync_Op<string mnemonic, list<Trait> traits = []> : Op<FallbackAsync_Dialect, mnemonic, !listconcat(traits, [IsolatedFromAbove])> { } def SetResourceOp : FallbackAsync_Op<"set_resource", [CoreRT_TypedAttributeTrait]> { let summary = "Set a tensor in resource array"; let description = [{ Set a tensor in resource array. arg: the tensor to be set in the resource array.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 15:01:21 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
Variadic<MlrtFutureType>:$results ); let assemblyFormat = "`(` $device`)` `(` $args `)` attr-dict `:` functional-type($args, $results)"; } def SetResourceOp : TensorflowMlrt_Op<"set_resource", []> { let summary = "Set a tensor in resource array"; let description = [{ Set a tensor in resource array. arg: the tensor to be set in the resource array.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
container_name, plugin_resource_name, &tf_plugin_resource, [plugin_resource_name, create_func, create_func_args, delete_func](tensorflow::PluginResource** new_resource) { void* opaque_plugin_resource = create_func(create_func_args); *new_resource = new tensorflow::PluginResource( opaque_plugin_resource, plugin_resource_name, delete_func); return absl::OkStatus(); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 05:48:24 UTC 2024 - 13.9K bytes - Viewed (0) -
src/cmd/trace/gen.go
type stackSampleGenerator[R resource] struct { // getResource is a function to extract a resource ID from a stack sample event. getResource func(*trace.Event) R } // StackSample implements a stack sample event handler. It expects ev to be one such event. func (g *stackSampleGenerator[R]) StackSample(ctx *traceContext, ev *trace.Event) { id := g.getResource(ev) if id == R(noResource) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 11.5K bytes - Viewed (0) -
plugin/pkg/admission/gc/gc_admission_test.go
} if a.GetAPIGroup() == "*" && a.GetResource() == "*" { // this user does not have full rights return authorizer.DecisionNoOpinion, "", nil } return authorizer.DecisionAllow, "", nil } if username == "non-pod-deleter" { if a.GetVerb() == "delete" && a.GetResource() == "pods" { return authorizer.DecisionNoOpinion, "", nil } if a.GetVerb() == "update" && a.GetResource() == "pods" && a.GetSubresource() == "finalizers" {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 24.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc
Output a = ops::_Arg(root.WithOpName("A"), DT_RESOURCE, 0); std::vector<NodeBuilder::NodeOut> inputs({NodeBuilder::NodeOut(a.node())}); Node* call; NameAttrList f_name_attr; f_name_attr.set_name(fd.signature().name()); TF_ASSERT_OK( NodeBuilder("B", "StatefulPartitionedCall", &root.graph()->flib_def()) .Input(inputs) .Attr("Tin", {DT_RESOURCE}) .Attr("Tout", {DT_RESOURCE})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 17 19:51:50 UTC 2024 - 10.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc
var_handle_shared_names->emplace_back(name); auto resource_type = var_handle_op.getResource().getType(); func_arg_types.push_back(resource_type); var_handle_op.getResource().replaceAllUsesWith( block.addArgument(resource_type, var_handle_op.getLoc())); } else { var_handle_op.getResource().replaceAllUsesWith( block.getArgument(it.first->getSecond())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.1K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/test/groovy/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectoryTest.groovy
when: def homes = jdkCacheDirectory.listJavaHomes() then: homes.isEmpty() } def "provisions jdk from tar.gz archive"() { def jdkArchive = resources.getResource("jdk.tar.gz") def jdkCacheDirectory = new DefaultJdkCacheDirectory(newHomeDirProvider(), TestFiles.fileOperations(temporaryFolder, tmpFileProvider()), mockLockManager(), mockDetector(), tmpFileProvider()) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 06:41:24 UTC 2024 - 10.2K bytes - Viewed (0) -
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) -
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)