- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for newSession (0.29 sec)
-
tensorflow/c/c_api.cc
TF_Status* status) { Session* session; status->status = NewSession(opt->options, &session); if (status->status.ok()) { TF_Session* new_session = new TF_Session(session, graph); if (graph != nullptr) { mutex_lock l(graph->mu); graph->sessions[new_session] = ""; } return new_session; } else { LOG(ERROR) << status->status; DCHECK_EQ(nullptr, session);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
MavenSession session = new MavenSession(closeableSession, request, result); session.setSession(defaultSessionFactory.newSession(session)); sessionScope.seed(MavenSession.class, session); sessionScope.seed(Session.class, session.getSession());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1) -
build-logic-settings/UpdateDevelocityPluginVersion.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Sep 12 07:58:50 UTC 2024 - 1.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java
} String newVersion = versionRangeResult.getHighestVersion().toString(); if (!parent.getVersion().equals(newVersion)) { modified.set(parent.withVersion(newVersion)); } return resolveModel(parent.getGroupId(), parent.getArtifactId(), newVersion); } catch (final VersionRangeResolutionException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.5K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/AbstractVersionTest.java
protected static final int X_EQ_Y = 0; protected static final int X_GT_Y = 1; protected abstract Version newVersion(String version); protected void assertOrder(int expected, String version1, String version2) { Version v1 = newVersion(version1); Version v2 = newVersion(version2); if (expected > 0) { assertEquals(1, Integer.signum(v1.compareTo(v2)), "expected " + v1 + " > " + v2);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java
} } private void assertContains(VersionRange range, String version) { assertTrue(range.contains(newVersion(version)), range + " should contain " + version); } private void assertNotContains(VersionRange range, String version) { assertFalse(range.contains(newVersion(version)), range + " should not contain " + version); } @Test void testLowerBoundInclusiveUpperBoundInclusive() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java
if (snapshot != null) { if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) { String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber(); version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion); } else { version = baseVersion; } } return version; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionTest.java
/** */ public class VersionTest extends AbstractVersionTest { private final ModelVersionParser modelVersionParser = new DefaultModelVersionParser(new GenericVersionScheme()); protected Version newVersion(String version) { return modelVersionParser.parseVersion(version); } @Test void testEmptyVersion() { assertOrder(X_EQ_Y, "0", ""); } @Test
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.1K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version.go
} // extractKubernetesVersion returns the Kubernetes minor version. For example, `v1.19.1` will return `19` func extractKubernetesVersion(versionInfo *version.Info) (int, error) { ver, err := goversion.NewVersion(versionInfo.String()) if err != nil { return 0, fmt.Errorf("could not parse %v", err) } // Segments provide slice of int eg: v1.19.1 => [1, 19, 1] num := ver.Segments()[1] return num, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 2.6K bytes - Viewed (0) -
RELEASE.md
list of configs for the underlying layers. ## Bug Fixes and Other Changes * C++: * Changed the signature of SessionFactory::NewSession so that it can return a meaningful error message on failure. * tf.data: * Remove `num_parallel_parser_calls` argument from `tf.contrib.data.make_csv_dataset()`. [tf.data] Remove
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Oct 22 14:33:53 UTC 2024 - 735.3K bytes - Viewed (0)