- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for createContext (0.12 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/DefaultEncryptInvoker.java
super(protoLookup); } @Override protected int execute(LocalContext context) throws Exception { return doExecute(context); } @Override protected LocalContext createContext(EncryptInvokerRequest invokerRequest) { return new LocalContext(this, invokerRequest); } @Override protected void lookup(LocalContext context) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvoker.java
super(invoker, invokerRequest); } } public DefaultLocalMavenInvoker(ProtoLookup protoLookup) { super(protoLookup); } @Override protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) { return new LocalContext(this, invokerRequest); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* CreateVariable(TFE_Context* ctx, float value, const tensorflow::string& device_name, const tensorflow::string& variable_name); TFE_Context* CreateContext(const std::string& serialized_server_def, bool isolate_session_state, int64_t init_timeout_in_ms); tensorflow::ServerDef ReplaceTaskInServerDef(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Jul 17 23:43:59 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
.ok()); ASSERT_TRUE(worker_server2->Start().ok()); TFE_Context* ctx_0 = CreateContext(serialized_server_def_0, /*isolate_session_state=*/false, /*init_timeout_in_ms=*/0); TFE_Context* ctx_1 = CreateContext(serialized_server_def_1, /*isolate_session_state=*/false,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvoker.java
exceptions.forEach(exception::addSuppressed); throw exception; } } @Override protected LocalContext createContext(MavenInvokerRequest<MavenOptions> invokerRequest) { return residentContext .computeIfAbsent(getContextId(invokerRequest), k -> new LocalContext(this, invokerRequest))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
ASSERT_TRUE(worker_server2->Start().ok()); // Create two contexts. int32_t init_timeout_in_ms = 300000; TFE_Context* ctx_0 = CreateContext(serialized_server_def_0, /*isolate_session_state=*/false, init_timeout_in_ms); TFE_Context* ctx_1 = CreateContext(serialized_server_def_1, /*isolate_session_state=*/false, init_timeout_in_ms); // Remote device on `worker2`.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
requireNonNull(invokerRequest); Properties oldProps = (Properties) System.getProperties().clone(); ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); try (C context = createContext(invokerRequest)) { try { if (context.currentThreadContextClassLoader != null) { Thread.currentThread().setContextClassLoader(context.currentThreadContextClassLoader);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
TFE_DeleteOp(op); if (TF_GetCode(status) != TF_OK) return nullptr; CHECK_EQ(0, num_retvals); TF_DeleteStatus(status); return var_handle; } TFE_Context* CreateContext(const std::string& serialized_server_def, bool isolate_session_state, int64_t init_timeout_in_ms) { TF_Status* status = TF_NewStatus();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
// TODO(b/291142876) Simplify TFE_ContextSetServerDefWithTimeoutAndRetries and // TFE_ContextUpdateServerDefWithTimeout to be simple wrappers around the same // C++ function. // Retries are used for CreateContext calls, which is used in // ParameterServerStrategy initialization to be robust to worker preemption. TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeoutAndRetries(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)