Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 47 for testCmp (0.2 sec)

  1. tensorflow/c/experimental/gradients/nn_grad_test.cc

      GradientRegistry registry_;
      Status status_;
    
     public:
      bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
      bool UseFunction() const { return std::get<2>(GetParam()); }
    };
    
    TEST_P(CppGradients, TestReluGrad) {
      status_ = registry_.Register("Relu", ReluRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      auto ReluGradModel = BuildGradModel(ReluModel, registry_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CCompilerDetectingTestApp.groovy

    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    import org.gradle.nativeplatform.fixtures.AvailableToolChains.InstalledToolChain
    
    class CCompilerDetectingTestApp extends TestApp {
        String expectedOutput(InstalledToolChain toolChain) {
            "C ${toolChain.typeDisplayName}"
        }
    
        @Override
        SourceFile getLibraryHeader() {
            sourceFile("headers", "c-detector.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppCompilerDetectingTestApp.groovy

    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    import org.gradle.nativeplatform.fixtures.AvailableToolChains.InstalledToolChain
    
    class CppCompilerDetectingTestApp extends TestApp {
        String expectedOutput(InstalledToolChain toolChain) {
            "C++ ${toolChain.typeDisplayName}"
        }
    
        @Override
        SourceFile getLibraryHeader() {
            sourceFile("headers", "cpp-detector.h", """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/PlatformDetectingTestApp.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    class PlatformDetectingTestApp extends TestApp {
        @Override
        SourceFile getMainSource() {
            sourceFile("cpp", "main.cpp", """
    #include <iostream>
    using namespace std;
    #include "hello.h"
    
    int main () {
        ${outputPlatform()}
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/HelloWorldApp.java

    import org.gradle.internal.InternalTransformer;
    import org.gradle.util.internal.CollectionUtils;
    
    import java.util.Collections;
    import java.util.List;
    
    public abstract class HelloWorldApp extends TestApp {
        public static final String HELLO_WORLD = "Hello, World!";
        public static final String HELLO_WORLD_FRENCH = "Bonjour, Monde!";
    
        public String getEnglishOutput() {
            return HELLO_WORLD + "\n12";
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/CacheResolveIntegrationTest.groovy

            abusedCoordinates.pom.file.replace('<groupId>org.spring</groupId>', '<groupId>org.spring/../../../../../</groupId>')
            // Our test dependency that now has a crafty dependency itself
            def testDep = mavenHttpRepo.module('org.test', 'test').dependsOn(pwnedDep, type: '/../../../../.ssh/pwned.txt').publish()
    
            def fakeDep = temporaryFolder.testDirectory.file('fake-repo/pwned.txt')
            fakeDep << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 22 01:27:55 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/UnixStartScriptGeneratorTest.groovy

        }
    
        private JavaAppStartScriptGenerationDetails createScriptGenerationDetails(List<String> defaultJvmOpts, String scriptRelPath) {
            final String applicationName = 'TestApp'
            final List<String> classpath = WrapUtil.toList('path\\to\\Jar.jar')
            return new DefaultJavaAppStartScriptGenerationDetails(applicationName, null, null, "", defaultJvmOpts, classpath, [], scriptRelPath, null)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-application/src/test/groovy/org/gradle/api/internal/plugins/WindowsStartScriptGeneratorTest.groovy

        }
    
        private JavaAppStartScriptGenerationDetails createScriptGenerationDetails(List<String> defaultJvmOpts, String scriptRelPath) {
            final String applicationName = 'TestApp'
            final List<String> classpath = WrapUtil.toList('path/to/Jar.jar')
            return new DefaultJavaAppStartScriptGenerationDetails(applicationName, null, null, "", defaultJvmOpts, classpath, [], scriptRelPath, null)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/value/encrypt/envelope/testing/v1beta1/kms_plugin_mock.go

    	klog.V(3).InfoS("Received request for Version", "request", request)
    	return &kmsapi.VersionResponse{Version: s.ver, RuntimeName: "testKMS", RuntimeVersion: "0.0.1"}, nil
    }
    
    // Decrypt performs base64 decoding of the payload of kms.DecryptRequest.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 29 05:36:41 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. test/typeparam/slices.go

    	s3 := []string{"a", "b", "c"}
    	s4 := []string{"A", "B", "C"}
    	if !_EqualFn(s3, s4, strings.EqualFold) {
    		panic(fmt.Sprintf("_EqualFn(%v, %v, strings.EqualFold) = false, want true", s3, s4))
    	}
    }
    
    func TestMap() {
    	s1 := []int{1, 2, 3}
    	s2 := _Map(s1, func(i int) float64 { return float64(i) * 2.5 })
    	if want := []float64{2.5, 5, 7.5}; !_Equal(s2, want) {
    		panic(fmt.Sprintf("_Map(%v, ...) = %v, want %v", s1, s2, want))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
Back to top