- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for test_builder (0.36 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc
EXPECT_FALSE(ImportXlaComputationIntoModule(bad_computation).ok()); } TEST_F(Tf2XlaRewriterTest, ImportsSingleComputation) { XlaBuilder builder("test_builder"); XlaComputation to_apply; { auto sub_builder = builder.CreateSubBuilder("add"); auto arg0 = Parameter(sub_builder.get(), 0, ShapeUtil::MakeScalarShape(xla::F32), "x");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:16:07 UTC 2024 - 11.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/ExtractorFactoryTest.java
key = "application/x-lharc"; assertTrue(extractorFactory.getExtractor(key) instanceof LhaExtractor); } public void test_builder() { assertEquals("test", extractorFactory.builder(new ByteArrayInputStream("test".getBytes()), null).extract().getContent()); assertEquals("test",
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestScraper.java
} @Override public void text(String textFragment) { textBuilder.append(textFragment); if (!textFragment.endsWith(SystemProperties.getInstance().getLineSeparator())) { return; } String text = textBuilder.toString(); textBuilder = new StringBuilder(); synchronized (testDescriptors) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/jit/extract_outside_compilation_pass.cc
Node* arg_node) { NodeDefBuilder ret_builder(absl::StrCat("ret_", arg_idx), "_Retval"); ret_builder.Attr("T", data_type); ret_builder.Attr("index", arg_idx); ret_builder.Input(arg_node->name(), 0, data_type); NodeDef ret_def; TF_RETURN_IF_ERROR(ret_builder.Finalize(&ret_def)); TF_ASSIGN_OR_RETURN(Node * ret_node, function_body.graph->AddNode(ret_def));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tools/istio-iptables/pkg/builder/iptables_builder_test.go
func compareToGolden(t *testing.T, name string, actual string) { t.Helper() gotBytes := []byte(actual) goldenFile := filepath.Join("testdata", name+".golden") testutil.CompareContent(t, gotBytes, goldenFile) } func TestBuilder(t *testing.T) { cases := []struct { name string expectV4 bool expectV6 bool config func(builder *IptablesRuleBuilder) sharedGolden bool }{ { "insert-single-v4",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 11 14:29:54 UTC 2024 - 6.6K bytes - Viewed (0) -
src/strings/builder_test.go
if n := b.Len(); n != len(got) { t.Errorf("Len: got %d; but len(String()) is %d", n, len(got)) } if n := b.Cap(); n < len(got) { t.Errorf("Cap: got %d; but len(String()) is %d", n, len(got)) } } func TestBuilder(t *testing.T) { var b Builder check(t, &b, "") n, err := b.WriteString("hello") if err != nil || n != 5 { t.Errorf("WriteString: got %d,%s; want 5,nil", n, err) } check(t, &b, "hello")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 8.1K bytes - Viewed (0)