Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for test_builder (0.71 sec)

  1. 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)
  2. 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)
  3. tensorflow/cc/ops/const_op.h

      const auto cast_op_name = scope.GetUniqueNameForOp("Cast");
    
      auto cast_builder = NodeBuilder(cast_op_name, "Cast")
                              .Input(orig_const)
                              .Attr("DstT", DataTypeToEnum<DstT>::v());
      scope.UpdateBuilder(&cast_builder);
      Node* ret;
      scope.UpdateStatus(cast_builder.Finalize(scope.graph(), &ret));
      if (!scope.ok()) return Output();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 17 09:17:01 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCycleIntegrationTest.groovy

            subprojects {
                apply plugin: "java-library"
            }
            project(":buildD-impl") {
                dependencies {
                    api(project(":buildD-api"))
                    implementation("org.test:buildE-api:1.0")
                }
            }
            """
            includedBuilds << buildD
            def buildE = multiProjectBuild("buildE", ['buildE-api', 'buildE-impl'])
            buildE.buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 01 20:36:42 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
Back to top