Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SetOutputs (0.1 sec)

  1. tensorflow/c/c_api_test.cc

      // Create a session for this graph.
      CSession csession(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Run the graph.
      csession.SetInputs({{feed, Int32Tensor(3)}});
      csession.SetOutputs({add});
      csession.Run(s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      TF_Tensor* out = csession.output_tensor(0);
      ASSERT_TRUE(out != nullptr);
      EXPECT_EQ(TF_INT32, TF_TensorType(out));
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

        // Create a session for this graph
        CSession csession(host_graph_, s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        // Run
        csession.SetInputs(inputs);
        csession.SetOutputs(outputs);
        csession.Run(s_);
        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
        // Check results
        for (int i = 0; i < expected_results.size(); ++i) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertEquals("a", synonymItem.getInputs()[0]);
            assertEquals("A", synonymItem.getInputs()[1]);
            assertEquals(2, synonymItem.getOutputs().length);
            assertEquals("b", synonymItem.getOutputs()[0]);
            assertEquals("B", synonymItem.getOutputs()[1]);
            assertNull(synonymItem.getNewInputs());
            assertNull(synonymItem.getNewOutputs());
            assertFalse(synonymItem.isUpdated());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            assertEquals("B1", itemList.get(1).getOutputs()[0]);
            assertFalse(itemList.get(1).isUpdated());
    
            assertEquals(1, itemList.get(2).getInputs().length);
            assertEquals(2, itemList.get(2).getOutputs().length);
            assertEquals("c1", itemList.get(2).getInputs()[0]);
            assertEquals("C1", itemList.get(2).getOutputs()[0]);
            assertEquals("C2", itemList.get(2).getOutputs()[1]);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

        }
    
        public String getInputsValue() {
            if (inputs == null) {
                return StringUtil.EMPTY;
            }
            return String.join("\n", inputs);
        }
    
        public String[] getOutputs() {
            return outputs;
        }
    
        public String getOutputsValue() {
            if (outputs == null) {
                return StringUtil.EMPTY;
            }
            return String.join("\n", outputs);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                DirectoryProperty generatedJavadocDirectory = objects.directoryProperty();
                generatedJavadocDirectory.set(layout.getBuildDirectory().dir("javadoc"));
                task.getOutputs().dir(generatedJavadocDirectory);
                task.getExtensions().getExtraProperties().set("destinationDirectory", generatedJavadocDirectory);
                // TODO: This breaks the provider
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

                DirectoryProperty flattenedAsciidocDirectory = project.getObjects().directoryProperty();
                flattenedAsciidocDirectory.set(extension.getUserManual().getStagingRoot().dir("raw"));
                task.getOutputs().dir(flattenedAsciidocDirectory);
                task.getExtensions().getExtraProperties().set("destinationDirectory", flattenedAsciidocDirectory);
                task.into(flattenedAsciidocDirectory);
            });
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Mar 01 05:46:51 UTC 2024
    - 17.7K bytes
    - Viewed (0)
Back to top