Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 354 for inputs_0 (0.2 sec)

  1. tensorflow/cc/framework/ops.cc

    }
    
    Operation::Inputs Operation::GetInputs(Node* node) {
      Operation::Inputs inputs;
      if (node != nullptr) {
        inputs.resize(node->num_inputs(), {nullptr, -1});
        for (const Edge* e : node->in_edges()) {
          if (e->IsControlEdge()) continue;
          inputs[e->dst_input()] = std::make_pair(e->src(), e->src_output());
        }
      }
      return inputs;
    }
    
    Input::Initializer::Initializer(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/while_gradients_test.cc

        for (int i = 0; i < num_inputs; ++i) {
          inputs_.push_back(ops::Placeholder(scope_, dtype));
        }
      }
    
      void CreateLoop(const ops::CondGraphBuilderFn& cond,
                      const ops::BodyGraphBuilderFn& body,
                      const std::vector<Output>* inputs = nullptr) {
        if (inputs == nullptr) inputs = &inputs_;
        TF_ASSERT_OK(ops::BuildWhileLoop(scope_, *inputs, cond, body, "test_loop",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 27 20:32:17 UTC 2017
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/cc/ops/while_loop_test.cc

               const std::vector<T>& expected_output_values) {
        ClientSession session(scope_);
    
        DCHECK_EQ(input_values.size(), inputs_.size());
        ClientSession::FeedType feeds;
        for (int i = 0; i < inputs_.size(); ++i) {
          feeds.emplace(inputs_[i], input_values[i]);
        }
    
        std::vector<Tensor> out_tensors;
        TF_ASSERT_OK(session.Run(feeds, outputs_, &out_tensors));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 13 22:30:58 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/internal/saved_model_api_test.cc

      std::vector<TFE_TensorHandle*> compute_fn_inputs;
      TFE_TensorHandle* input_a = TestScalarTensorHandle(ctx, 2.0f);
      TFE_TensorHandle* input_b = TestScalarTensorHandle(ctx, 1.0f);
      compute_fn_inputs.push_back(input_a);
      compute_fn_inputs.push_back(input_b);
    
      TFE_Op* compute_fn_op = TF_ConcreteFunctionMakeCallOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 08:08:45 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. tensorflow/c/while_loop_test.cc

      }
    
      void Run(const std::vector<TF_Output>& run_outputs,
               std::initializer_list<int> input_values) {
        DCHECK_EQ(inputs_.size(), input_values.size());
        std::vector<std::pair<TF_Operation*, TF_Tensor*>> inputs(inputs_.size());
        int i = 0;
        for (int v : input_values) {
          inputs[i] = {inputs_[i].oper, Int32Tensor(v)};
          ++i;
        }
        // TODO(skyewm): use std::make_unique or absl::make_unique when possible.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/converter/KatakanaConverter.java

            readingList.add(toKatakana(text));
            return readingList;
        }
    
        protected String toKatakana(final String inputStr) throws IOException {
            final StringBuilder kanaBuf = new StringBuilder();
    
            final Reader rd = new StringReader(inputStr);
            try (TokenStream stream = createTokenStream(rd)) {
                if (stream == null) {
                    throw new IOException("Invalid tokenizer.");
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        TF_AddInput(op_.get(), t->output_);
        return absl::OkStatus();
      }
      Status AddInputList(absl::Span<AbstractTensorHandle* const> inputs) override {
        std::vector<TF_Output> tf_outputs(inputs.size());
        for (int i = 0; i < inputs.size(); i++) {
          GraphTensor* t = dyn_cast<GraphTensor>(inputs[i]);
          if (!t) {
            return tensorflow::errors::InvalidArgument(
                "Unable to cast input to GraphTensor");
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_launch_util_test.cc

      std::vector<const Tensor*> inputs;
      inputs.push_back(a);
      inputs.push_back(b);
      TF_ASSERT_OK_AND_ASSIGN(auto execute_outputs,
                              RunExecutable(inputs, {}, result, executable));
    
      TF_EXPECT_OK(PopulateCtxOutputsFromPjRtExecutableOutputs(
          /*num_missing_prefix_ctx_inputs=*/0, inputs, {}, *result,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/img/configuration-cache/inputs-report.png

    inputs-report.png...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/gradients.cc

      std::unordered_set<int> stop_backprop_nodes =
          GetStopBackpropNodes(reachable_nodes, output_nodes);
    
      // Populate `input_nodes_` from Outputs in `inputs_`.
      input_nodes_.reserve(inputs_.size());
      for (size_t i = 0; i < inputs_.size(); ++i) {
        input_nodes_.insert({inputs_[i], i});
      }
    
      // TODO(andydavis) Consider a more efficient data structure for `pending_` to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top