- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for test_bool (0.23 sec)
-
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/composite_op_round_trip.mlir
// CHECK-ROUNDTRIP: %0 = stablehlo.composite "stablehlo.add_n" %arg0 {composite_attributes = {test_bool = false, test_int = 2 : i64, test_string = "test"}, decomposition = @add_n.impl} : (tensor<i64>) -> tensor<i64> %0 = stablehlo.composite "stablehlo.add_n" %arg0 { composite_attributes = { test_int = 2 : i64, test_bool = 0 : i1, test_string = "test"}, decomposition = @add_n.impl } : (tensor<i64>) -> tensor<i64> return %0 : tensor<i64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 03:40:50 UTC 2024 - 1.1K bytes - Viewed (0) -
src/flag/flag_test.go
"strings" "testing" "time" ) func boolString(s string) string { if s == "0" { return "false" } return "true" } func TestEverything(t *testing.T) { ResetForTesting(nil) Bool("test_bool", false, "bool value") Int("test_int", 0, "int value") Int64("test_int64", 0, "int64 value") Uint("test_uint", 0, "uint value") Uint64("test_uint64", 0, "uint64 value") String("test_string", "0", "string value")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProcessOutputProviderIntegrationTest.groovy
.printArguments() .printEnvironmentVariable("TEST_FOO") .writeTo(testDirectory, "script") buildFile """ def execProvider = providers.exec { ${cmdToExecConfig(*testScript.commandLine, "--some-arg")} environment("TEST_FOO", "fooValue") } execProvider.result.get().assertNormalExitValue()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
const char* node_name = "test_loop/cond/scalar"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/add"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/inner_loop/body/one"; EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr); node_name = "test_loop/body/inner_loop/cond/less_than";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
src/sync/pool_test.go
} } // Test that Pool does not hold pointers to previously cached resources. func TestPoolGC(t *testing.T) { testPool(t, true) } // Test that Pool releases resources on GC. func TestPoolRelease(t *testing.T) { testPool(t, false) } func testPool(t *testing.T, drain bool) { var p Pool const N = 100 loop: for try := 0; try < 3; try++ { if try == 1 && testing.Short() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8K bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
response = client.get("/docs") assert response.status_code == 404, response.text response = client.get("/redoc") assert response.status_code == 404, response.text @needs_pydanticv2 def test_root(): client = get_client() response = client.get("/") assert response.status_code == 200 assert response.json() == {"message": "Hello World"} @needs_pydanticv2 def test_default_openapi():
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 20.6K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
VerifyFDefEdges(fdef, {{"feed1", "test_loop/Enter:0"}, {"test_loop/Enter:output:0", "test_loop/Merge:0"}, {"test_loop/Merge:output:0", "test_loop/Switch:0"}, {"test_loop/Switch:output_false:0", "test_loop/Exit:0"}, {"test_loop/Exit:output:0", "test_loop_exit"}}, {}, false); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop_test.cc
} } Scope scope_; std::vector<Output> inputs_; std::vector<Output> outputs_; static const char* const kFrameName; }; const char* const WhileLoopTest::kFrameName = "test_loop"; Status LessThanTenCond(const Scope& s, const std::vector<Output>& inputs, Output* output) { *output = ops::Less(s, inputs[0], 10); return s.status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 6.4K bytes - Viewed (0) -
pkg/env/var_test.go
t.Errorf("Expected 789, got %v", v) } if !present { t.Errorf("Expected present") } v = ev.Get() if v != 789 { t.Errorf("Expected 789, got %v", v) } } func TestBool(t *testing.T) { reset() ev := RegisterBoolVar(testVar, true, "") v, present := ev.Lookup() if !v { t.Errorf("Expected true, got %v", v) } if present { t.Errorf("Expected not present")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 8.1K bytes - Viewed (0)