Home
last modified time | relevance | path

Searched refs:session_metadata (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compile_op_common.cc164 const SessionMetadata* session_metadata, in CompileLocallyAndFillHostCache() argument
170 flib_runtime, session_metadata, mesh_state, dynamic_shapes, in CompileLocallyAndFillHostCache()
179 const SessionMetadata* session_metadata, in CompileLocallyAndFillHostCacheInternal() argument
209 const std::string session_name = SessionNameFromMetadata(session_metadata); in CompileLocallyAndFillHostCacheInternal()
290 key, ctx->session_metadata(), ref_holder, &uid, &proto_key, &sharding_key, in ComputeInternal()
312 ctx->function_library(), ctx->session_metadata(), mesh_state, in ComputeInternal()
316 ctx->function_library(), ctx->session_metadata(), mesh_state, in ComputeInternal()
Dtpu_util.cc25 std::string SessionNameFromMetadata(const SessionMetadata* session_metadata) { in SessionNameFromMetadata() argument
26 return session_metadata ? session_metadata->name() : ""; in SessionNameFromMetadata()
Dtpu_compile_op_common.h119 const SessionMetadata* session_metadata,
128 const SessionMetadata* session_metadata,
139 const SessionMetadata* session_metadata, in LookupPersistentCompilationCacheAndFillCaches() argument
Dtpu_compilation_cache_interface.h109 const SessionMetadata* session_metadata,
198 const SessionMetadata* session_metadata,
Dtpu_compilation_cache_interface.cc367 const SessionMetadata* session_metadata, in CompileIfKeyAbsent() argument
375 subgraph_key, session_metadata, per_step_ref_holder, uid, proto_key, in CompileIfKeyAbsent()
405 const SessionMetadata* session_metadata, in CompileIfKeyAbsentHelper() argument
427 tpu::SessionNameFromMetadata(session_metadata); in CompileIfKeyAbsentHelper()
Dtpu_util.h36 std::string SessionNameFromMetadata(const SessionMetadata* session_metadata);
/external/tensorflow/tensorflow/core/runtime_fallback/kernel/
Dkernel_fallback_utils.cc45 params.session_metadata = &fallback_request_state.session_metadata(); in SetUpParams()
Dkernel_fallback_compat_request_state.h138 const SessionMetadata& session_metadata() const { return session_metadata_; } in session_metadata() function
Dkernel_fallback_execute_compat.cc89 fallback_request_state->session_metadata().name(), " (", in KernelFallbackEmitError()
90 fallback_request_state->session_metadata().version(), ") "); in KernelFallbackEmitError()
/external/tensorflow/tensorflow/core/common_runtime/
Dprocess_function_library_runtime_test.cc92 SessionMetadata session_metadata; in GenerateSessionMetadata() local
93 session_metadata.set_name("name"); in GenerateSessionMetadata()
94 session_metadata.set_version(42); in GenerateSessionMetadata()
95 return session_metadata; in GenerateSessionMetadata()
135 const SessionMetadata* session_metadata = nullptr) { in Init() argument
144 /*thread_pool=*/nullptr, cluster_flr_.get(), session_metadata, in Init()
1184 if (ctx->session_metadata() != nullptr) { in Compute()
1185 out_tensor->scalar<tstring>()() = ctx->session_metadata()->DebugString(); in Compute()
1223 const SessionMetadata session_metadata = GenerateSessionMetadata(); in TEST_F() local
1224 Init({SessionMetadataReaderOpFn()}, &session_metadata); in TEST_F()
[all …]
Dfunction.h64 const SessionMetadata* session_metadata,
Dlocal_executor_params.h38 const SessionMetadata* session_metadata = nullptr; member
Ddirect_session.cc175 if (experimental_config.session_metadata().version() < 0) { in NewSession()
178 experimental_config.session_metadata().DebugString()); in NewSession()
180 const string key = GetMetadataKey(experimental_config.session_metadata()); in NewSession()
186 experimental_config.session_metadata().DebugString()); in NewSession()
236 session->options().config.experimental().session_metadata())); in Deregister()
522 options_.config.experimental().session_metadata(); in RunInternal()
548 options_.config.experimental().session_metadata(); in RunInternal()
1358 const auto* session_metadata = in CreateExecutors() local
1360 ? &options_.config.experimental().session_metadata() in CreateExecutors()
1365 /*parent=*/nullptr, session_metadata, in CreateExecutors()
[all …]
Ddirect_session_test.cc1170 if (ctx->session_metadata() != nullptr) { in Compute()
1171 out_tensor->scalar<tstring>()() = ctx->session_metadata()->DebugString(); in Compute()
1245 auto* session_metadata = in TEST() local
1247 session_metadata->set_name("name"); in TEST()
1248 session_metadata->set_version(1); in TEST()
1272 EXPECT_EQ(session_metadata->name(), metadata.session_metadata().name()); in TEST()
1273 EXPECT_EQ(session_metadata->version(), metadata.session_metadata().version()); in TEST()
1289 auto* session_metadata = in TEST() local
1291 session_metadata->set_name("name"); in TEST()
1292 session_metadata->set_version(1); in TEST()
[all …]
Dfunction.cc333 const SessionMetadata* session_metadata,
471 const SessionMetadata* session_metadata, in FunctionLibraryRuntimeImpl() argument
480 session_metadata_(session_metadata), in FunctionLibraryRuntimeImpl()
965 params.session_metadata = session_metadata_; in CreateItem()
1414 const SessionMetadata* session_metadata, in NewFunctionLibraryRuntime() argument
1418 optimizer_options, session_metadata, parent)); in NewFunctionLibraryRuntime()
Dsingle_threaded_executor.cc315 params.session_metadata = params_.session_metadata; in Run()
Dprocess_function_library_runtime.h73 const SessionMetadata* session_metadata = nullptr,
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-run-metadata.pbtxt34 name: "session_metadata"
Dtensorflow.-config-proto.-experimental.pbtxt60 name: "session_metadata"
Dtensorflow.-config-proto.pbtxt189 name: "session_metadata"
/external/tensorflow/tensorflow/core/runtime_fallback/runtime/
Druntime_fallback_batch_tf_opkernels.cc499 const auto& session_metadata = src_fallback_request_state->session_metadata(); in SetUpKernelFallbackCompatRequestContextForBatch() local
507 builder, device_manager, pflr, intra_op_threadpool, session_metadata, in SetUpKernelFallbackCompatRequestContextForBatch()
/external/tensorflow/tensorflow/core/grappler/optimizers/inference/
Dbatch_op_rewriter.cc133 config_proto_.experimental().session_metadata().name(); in Optimize()
/external/tensorflow/tensorflow/core/kernels/
Dbatch_kernels.cc92 if (!ctx->session_metadata()) return *kModelNameUnset; in GetModelName()
93 if (ctx->session_metadata()->name().empty()) return *kModelNameUnset; in GetModelName()
94 return ctx->session_metadata()->name(); in GetModelName()
/external/tensorflow/tensorflow/core/kernels/batching_util/
Dbatch_resource_base.cc203 if (!ctx->session_metadata()) return *kModelNameUnset; in GetModelName()
204 if (ctx->session_metadata()->name().empty()) return *kModelNameUnset; in GetModelName()
205 return ctx->session_metadata()->name(); in GetModelName()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel.h634 const SessionMetadata* session_metadata = nullptr; member
1072 const SessionMetadata* session_metadata() const { in session_metadata() function
1073 return params_->session_metadata; in session_metadata()

12