Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for test_defun (5.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/defun_export.py

    from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common_v1
    from tensorflow.python.framework import function
    
    
    @function.Defun(tf.float32, tf.float32)
    def plus(a, b):
      return a + b
    
    
    def test_defun():
      x = tf.constant([[1.0], [1.0], [1.0]])
      y = tf.constant([[2.0], [2.0], [2.0]])
    
      # Verify that the function defined using function.Defun
      # has a corresponding tf.LegacyCall op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 2K bytes
    - Viewed (0)
  2. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryWithStaticLinkagePublishingIntegrationTest.groovy

            mainMetadata.variant("releaseRuntime").availableAt.coords == "some.group:test_release:1.2"
    
            def debug = repo.module('some.group', 'test_debug', '1.2')
            debug.assertPublished()
            debug.assertArtifactsPublished(withStaticLibrarySuffix("test_debug-1.2"), "test_debug-1.2.pom", "test_debug-1.2.module")
            debug.artifactFile(type: staticLibraryExtension).assertIsCopyOf(staticLibrary("build/lib/main/debug/test").file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppLibraryPublishingIntegrationTest.groovy

            def debug = repo.module('some.group', 'test_debug', '1.2')
            debug.assertPublished()
            debug.assertArtifactsPublished(withSharedLibrarySuffix("test_debug-1.2"), withLinkLibrarySuffix("test_debug-1.2"), "test_debug-1.2.pom", "test_debug-1.2.module")
            debug.artifactFile(type: sharedLibraryExtension).assertIsCopyOf(sharedLibrary("build/lib/main/debug/test").file)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 12:57:50 UTC 2024
    - 39.8K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppApplicationPublishingIntegrationTest.groovy

            mainMetadata.variant("releaseRuntime").availableAt.coords == "some.group:test_release:1.2"
    
            def debug = mavenRepo.module('some.group', 'test_debug', '1.2')
            debug.assertPublished()
            debug.assertArtifactsPublished(executableName("test_debug-1.2"), "test_debug-1.2.pom", "test_debug-1.2.module")
            debug.artifactFile(type: executableExtension).assertIsCopyOf(executable("build/exe/main/debug/test").file)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  5. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateSchemeFileTask.java

    import org.gradle.work.DisableCachingByDefault;
    
    import java.io.File;
    
    import static org.gradle.ide.xcode.internal.DefaultXcodeProject.BUILD_DEBUG;
    import static org.gradle.ide.xcode.internal.DefaultXcodeProject.TEST_DEBUG;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/internal/DefaultXcodeProject.java

    public class DefaultXcodeProject implements XcodeProject {
        public static final String BUILD_DEBUG = "Debug";
        public static final String BUILD_RELEASE = "Release";
        public static final String TEST_DEBUG = "__GradleTestRunner_Debug";
    
        private final Groups groups;
        private List<XcodeTarget> targets = new ArrayList<XcodeTarget>();
        private File locationDir;
    
        @Inject
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/GenerateXcodeProjectFileTask.java

            getAllBinaries().stream().filter(it -> !Objects.equals(it.getBuildConfigurationName(), TEST_DEBUG)).forEach(configureBuildSettings(xcodeTarget, target));
    
            NSDictionary testRunnerSettings = target.getBuildConfigurationList().getBuildConfigurationsByName().getUnchecked(TEST_DEBUG).getBuildSettings();
    
            if (!xcodeTarget.getCompileModules().isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/XcodeSingleSwiftProjectIntegrationTest.groovy

                project.tests.assertHasChildren(app.test.files*.name)
                project.buildConfigurationList.buildConfigurations.name == [DefaultXcodeProject.BUILD_DEBUG, DefaultXcodeProject.BUILD_RELEASE, DefaultXcodeProject.TEST_DEBUG]
    
                project.targets.size() == 4
                assertTargetIsTool(project.targets[0], 'App')
                assertTargetIsUnitTest(project.targets[1], 'AppTest')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 31.3K bytes
    - Viewed (0)
  9. docs/bucket/versioning/versioning-tests.sh

    #!/usr/bin/env bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		echo "server logs ========="
    		cat "/tmp/sitea_1.log"
    		echo "==========================="
    		cat "/tmp/sitea_2.log"
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    }
    
    catch
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. docs/distributed/decom-encrypted.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    rm -rf /tmp/xl
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    export CI=true
    export MINIO_KMS_AUTO_ENCRYPTION=on
    export MINIO_KMS_SECRET_KEY=my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw=
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/dev/null) &
    pid=$!
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top