- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 674 for CSession (0.15 seconds)
-
tensorflow/c/c_test_util.cc
return names; } CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { TF_SessionOptions* opts = TF_NewSessionOptions(); TF_EnableXLACompilation(opts, use_XLA); session_ = TF_NewSession(graph, opts, s); TF_DeleteSessionOptions(opts); } CSession::CSession(TF_Session* session) : session_(session) {} CSession::~CSession() { TF_Status* s = TF_NewStatus();Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
tensorflow/c/c_api_test.cc
std::unique_ptr<CSession> csession(new CSession(graph_, s_)); std::unique_ptr<CSession> expected_csession( new CSession(expected_graph_, s_)); std::vector<TF_Output> grad_outputs_vec; grad_outputs_vec.assign(grad_outputs, grad_outputs + 2); csession->SetOutputs(grad_outputs_vec); csession->Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
const std::vector<std::vector<int32_t>>& expected_results) { // Create a session for this graph CSession csession(host_graph_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Run csession.SetInputs(inputs); csession.SetOutputs(outputs); csession.Run(s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Check results
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
api/maven-api-core/src/main/java/org/apache/maven/api/Session.java
/** * Creates a derived session using the given local repository. * * @param localRepository the new local repository * @return the derived session * @throws NullPointerException if {@code localRepository} is null */ @Nonnull Session withLocalRepository(@Nonnull LocalRepository localRepository); /** * Creates a derived session using the given remote repositories. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 36.5K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
} InternalSession iSession = InternalSession.from(configuration.getRepositorySession()); InternalMavenSession mSession = InternalMavenSession.from(iSession); MavenSession session = mSession.getMavenSession(); session.setProjects(projects); session.setAllProjects(session.getProjects()); return session; } protected void initRepoSession(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 24 17:29:44 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
MavenSession msession = new MavenSession(getContainer(), session, mavenExecutionRequest, new DefaultMavenExecutionResult()); DefaultSession iSession = new DefaultSession( msession, resolverRepositorySystem, null, mavenRepositorySystem, new DefaultLookup(container), null); InternalSession.associate(session, iSession); SessionScope sessionScope = container.lookup(SessionScope.class);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 7.2K bytes - Click Count (0) -
.github/ci-mimir-session.properties
# See the License for the specific language governing permissions and # limitations under the License. # # Mimir Session config properties # do not waste time on this; we maintain the version mimir.daemon.autoupdate=false # CI uses US Mirror
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 07 13:24:23 GMT 2026 - 1K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
.build()) { MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult()); InternalSession iSession = new SimpleSession(mSession, repoSystem, null); InternalSession.associate(repoSession, iSession); List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/extensions/BootstrapCoreExtensionManager.java
.build()) { MavenSession mSession = new MavenSession(repoSession, request, new DefaultMavenExecutionResult()); InternalSession iSession = new SimpleSession(mSession, repoSystem, null); InternalSession.associate(repoSession, iSession); List<RemoteRepository> repositories = RepositoryUtils.toRepos(request.getPluginArtifactRepositories());
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java
private ModelBuilderResult buildModel(RepositorySystemSession session, ModelSource src) throws ModelBuilderException { InternalSession iSession = InternalSession.from(session); ModelBuilderRequest.ModelBuilderRequestBuilder request = ModelBuilderRequest.builder(); request.requestType(ModelBuilderRequest.RequestType.BUILD_CONSUMER); request.session(iSession); request.source(src);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 04 19:49:40 GMT 2026 - 22.3K bytes - Click Count (0)