- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 107 for test_1 (0.15 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver_test.cc
func.func @main(%arg0: tensor<1x4x4x3xf32>) -> tensor<1x4x4x3xf32> attributes {_from_xla_call_module} { %cst_0 = arith.constant dense<1.0> : tensor<3x1x1x3xf32> %cst_1 = arith.constant dense<2.0> : tensor<3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.9K bytes - Viewed (0) -
tests/test_annotated.py
def test_multiple_path(): app = FastAPI() @app.get("/test1") @app.get("/test2") async def test(var: Annotated[str, Query()] = "bar"): return {"foo": var} client = TestClient(app) response = client.get("/test1") assert response.status_code == 200 assert response.json() == {"foo": "bar"} response = client.get("/test1", params={"var": "baz"}) assert response.status_code == 200
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc
using ::tsl::testing::IsOk; using QuantizationReportTest = ::mlir::quant::QuantizationTestBase; TEST_F(QuantizationReportTest, GetQuantizationResultsReturnsEmptyResults) { QuantizationReport report{}; const QuantizationResults& results = report.GetQuantizationResults(); ASSERT_THAT(results.results(), IsEmpty()); } TEST_F(QuantizationReportTest, AddQuantizationResult) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
EXPECT_EQ(histogram.num(), 1); EXPECT_EQ(compilation_status.Delta("kOldBridgeNoMlirSuccess"), 1); } TEST_F(CompileTFGraphTest, SuccessfullyCompilesWithManualSharding) { // MLIR module from failing test. constexpr char kSupportedManualSharding[] = R"(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.7K bytes - Viewed (0) -
pkg/controller/daemon/util/daemonset_util_test.go
hash, false, }, } for _, test := range tests { updated := IsPodUpdated(test.pod, test.hash, test.templateGeneration) if updated != test.isUpdated { t.Errorf("%s: IsPodUpdated returned wrong value. Expected %t, got %t", test.test, test.isUpdated, updated) } } } func TestCreatePodTemplate(t *testing.T) { tests := []struct { templateGeneration *int64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_host_send_recv_device_context_test.cc
&device_tensor, "", device_.get(), &dest_cpu_tensor)); tensorflow::test::ExpectClose(origin_cpu_tensor, dest_cpu_tensor); device_context->Unref(); } TEST_F(XlaHostSendRecvDeviceContextTest, CopyCPUTensorToDevice) { SetDevice("GPU"); Tensor origin_cpu_tensor(host_allocator_, DT_FLOAT, TensorShape({2, 2})); test::FillValues<float>(&origin_cpu_tensor, {1.2, 2.3, 3.4, 4.5});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcTestFixture.groovy
package org.gradle.api.plugins.quality.codenarc import org.gradle.test.fixtures.file.TestFile trait CodeNarcTestFixture { def goodCode() { file("src/main/groovy/org/gradle/class1.java") << "package org.gradle; class class1 { }" file("src/test/groovy/org/gradle/testclass1.java") << "package org.gradle; public class testclass1 { @org.junit.Test public void test1() { } }"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 08:01:57 UTC 2024 - 2.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
} for _, test := range tl { if test.got != test.exp { t.Errorf("On %v, expected '%v', but got '%v'", test.name, test.exp, test.got) } } } func TestPrintDeployment(t *testing.T) { testDeployment := apps.Deployment{ ObjectMeta: metav1.ObjectMeta{ Name: "test1", CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc
} return absl::OkStatus(); } DialectRegistry registry_; MLIRContext context_; OwningOpRef<mlir::ModuleOp> mlir_module_; }; TEST_F(SessionClusterTensorflowDialectTest, ClustersTf) { CellReader<int64_t> compilation_status(kCompilationStreamz); TF_ASSERT_OK(CreateMlirModule("empty_func.mlir")); TF_EXPECT_OK(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:44:37 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor_test.cc
OwningOpRef<mlir::ModuleOp> mlir_module_; }; TEST_F(TensorflowDialectToExecutorTest, ConvertsToExecutor) { CellReader<int64_t> compilation_status(kCompilationStreamz); TF_ASSERT_OK(CreateMlirModule("empty_func.mlir")); TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_)); EXPECT_EQ(compilation_status.Delta("success"), 1); } TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 3.4K bytes - Viewed (0)