Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 494 for CSession (0.57 sec)

  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_);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. 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
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (1)
  3. 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.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. 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(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 24 17:29:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. 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);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

                    .setLocalRepository(getLocalRepository());
    
            DefaultRepositorySystemSession session = new DefaultRepositorySystemSession();
            LocalRepository localRepo =
                    new LocalRepository(request.getLocalRepository().getBasedir());
            session.setLocalRepositoryManager(new SimpleLocalRepositoryManagerFactory().newInstance(session, localRepo));
            LegacySupport legacySupport = container.lookup(LegacySupport.class);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * Creates a new ProjectBuilderRequest with the specified session and source.
         *
         * @param session the Maven session
         * @param source the source of the project to build
         * @return a new ProjectBuilderRequest
         * @throws NullPointerException if session or source is null
         */
        @Nonnull
        static ProjectBuilderRequest build(@Nonnull Session session, @Nonnull Source source) {
            return builder()
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

        }
    
        @Test
        void testEquals() {
            SmbTree tree1 = new SmbTree(session, "testShare", "testService");
            SmbTree tree2 = new SmbTree(session, "testShare", "testService");
            SmbTree tree3 = new SmbTree(session, "otherShare", "testService");
            SmbTree tree4 = new SmbTree(session, "testShare", "otherService");
    
            // Test equal trees (same share and service)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            return new DependencyResolverRequestBuilder()
                    .session(session)
                    .requestType(requestType)
                    .project(project)
                    .pathScope(scope)
                    .build();
        }
    
        @Nonnull
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactory.java

        @Nonnull
        default DependencyCoordinates create(@Nonnull Session session, @Nonnull ArtifactCoordinates coordinates) {
            return create(DependencyCoordinatesFactoryRequest.build(session, coordinates));
        }
    
        @Nonnull
        default DependencyCoordinates create(
                @Nonnull Session session, @Nonnull org.apache.maven.api.Dependency dependency) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top