Searched defs:shared_name (Results 1 - 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
H A Dresource_op_kernel_test.cc82 .Attr("shared_name: string = ''")
91 const string& shared_name) {
96 .Attr("shared_name", shared_name)
133 // Empty shared_name means private resource.
158 const string shared_name = "shared_stub"; local
160 auto op = CreateOp(code, shared_name);
165 TF_ASSERT_OK(mgr_.Lookup<StubResource>(mgr_.default_container(), shared_name,
173 TF_ASSERT_OK(mgr_.Lookup<StubResource>(mgr_.default_container(), shared_name,
90 CreateOp(int code, const string& shared_name) argument
H A Dresource_mgr.h250 // Policy helper to decide which container/shared_name to use for a
259 // "shared_name". Returns non-OK if they are not provided or they are
265 // * If the attribute "shared_name" is non-empty, it is used as is.
325 .Attr("shared_name: string = ''") \
419 string shared_name; local
432 shared_name = tensor.flat<string>()(1);
434 return ctx->resource_manager()->Lookup(container, shared_name, resource);
510 OP_REQUIRES_OK(context, context->GetAttr("shared_name", &name_));
/external/tensorflow/tensorflow/contrib/nccl/kernels/
H A Dnccl_rewrite.cc35 string shared_name = node->name(); local
37 return NodeBuilder(strings::StrCat(shared_name, suffix), op_name)
40 .Attr("shared_name", shared_name)
159 string shared_name = node->name(); local
161 return NodeBuilder(strings::StrCat(shared_name, suffix), op_name)
163 .Attr("shared_name", shared_name)
/external/tensorflow/tensorflow/core/kernels/data/
H A Diterator_ops.cc442 OP_REQUIRES_OK(ctx, ctx->GetAttr("shared_name", &name_));
515 // shared_name. In the latter case, the resource found should be verified if
662 string shared_name; local
663 OP_REQUIRES_OK(ctx, ctx->GetAttr("shared_name", &shared_name));
664 OP_REQUIRES(ctx, shared_name.empty(),
666 "support the 'shared_name' attr."));
/external/v8/src/profiler/
H A Dheap-snapshot-generator.cc1318 String* shared_name = shared->DebugName(); local
1320 if (shared_name != heap_->empty_string()) {
1321 name = names_->GetName(shared_name);

Completed in 189 milliseconds