Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SetOutputs (0.07 sec)

  1. tensorflow/c/c_test_util.h

      explicit CSession(TF_Session* session);
    
      ~CSession();
    
      void SetInputs(std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs);
      void SetOutputs(std::initializer_list<TF_Operation*> outputs);
      void SetOutputs(const std::vector<TF_Output>& outputs);
      void SetTargets(std::initializer_list<TF_Operation*> targets);
    
      void Run(TF_Status* s);
    
      void CloseAndDelete(TF_Status* s);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  2. tensorflow/c/c_test_util.cc

        input_values_.emplace_back(p.second);
      }
    }
    
    void CSession::SetOutputs(std::initializer_list<TF_Operation*> outputs) {
      ResetOutputValues();
      outputs_.clear();
      for (TF_Operation* o : outputs) {
        outputs_.emplace_back(TF_Output{o, 0});
      }
      output_values_.resize(outputs_.size());
    }
    
    void CSession::SetOutputs(const std::vector<TF_Output>& outputs) {
      ResetOutputValues();
      outputs_ = outputs;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Oct 15 03:16:52 UTC 2021
    - 17.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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