- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 113 for test_app (0.38 sec)
-
tensorflow/c/experimental/gradients/math_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, TestAddGrad) { AbstractTensorHandlePtr x; { AbstractTensorHandle* x_raw = nullptr; status_ = TestScalarTensorHandle<float, TF_FLOAT>( immediate_execution_ctx_.get(), 2.0f, &x_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 17:32:14 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump
// You can implement all the usual class fixture members here. }; // Then, use the TEST_P macro to define as many parameterized tests // for this fixture as you want. The _P suffix is for "parameterized" // or "pattern", whichever you prefer to think. TEST_P(FooTest, DoesBlah) { // Inside a test, access the test parameter with the GetParam() method // of the TestWithParam<T> class:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 18.4K bytes - Viewed (0) -
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) -
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) -
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) -
testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-param-test.h.pump
// You can implement all the usual class fixture members here. }; // Then, use the TEST_P macro to define as many parameterized tests // for this fixture as you want. The _P suffix is for "parameterized" // or "pattern", whichever you prefer to think. TEST_P(FooTest, DoesBlah) { // Inside a test, access the test parameter with the GetParam() method // of the TestWithParam<T> class:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.4K bytes - Viewed (0) -
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) -
tests/test_tutorial/test_events/test_tutorial002.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient @pytest.fixture(name="app", scope="module") def get_app(): with pytest.warns(DeprecationWarning): from docs_src.events.tutorial002 import app yield app def test_events(app: FastAPI): with TestClient(app) as client: response = client.get("/items/") assert response.status_code == 200, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Oct 18 12:36:40 UTC 2023 - 1.4K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial003_py39.py
import pytest from fastapi import FastAPI from fastapi.testclient import TestClient from ...utils import needs_py39 @pytest.fixture(name="app") def get_app(): from docs_src.websockets.tutorial003_py39 import app return app @pytest.fixture(name="html") def get_html(): from docs_src.websockets.tutorial003_py39 import html return html @pytest.fixture(name="client")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); Status s = StatusFromTF_Status(status.get()); CHECK_EQ(errors::OK, s.code()) << s.message(); } }; TEST_P(UnifiedCAPI, TestBasicEager) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_ContextOptions* opts = TFE_NewContextOptions();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0)