Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for TF_Output (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      TF_SessionOptions* opts = TF_NewSessionOptions();
      TF_Session* sess = TF_NewSession(graph, opts, s);
      TF_DeleteSessionOptions(opts);
    
      TF_Output feeds[] = {TF_Output{a, 0}, TF_Output{b, 0}};
      TF_Output fetches[] = {TF_Output{plus2, 0}, TF_Output{plusB, 0}};
    
      const char* handle = nullptr;
      TF_SessionPRunSetup(sess, feeds, TF_ARRAYSIZE(feeds), fetches,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.cc

      cond_graph->parent_inputs = inputs;
      body_graph->parent = g;
      body_graph->parent_inputs = inputs;
    
      TF_Output* cond_inputs = new TF_Output[ninputs];
      TF_Output cond_output = {nullptr, -1};
      TF_Output* body_inputs = new TF_Output[ninputs];
      TF_Output* body_outputs = new TF_Output[ninputs];
      for (int i = 0; i < ninputs; ++i) body_outputs[i] = {nullptr, -1};
      const char* name = nullptr;
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_test_util.h

                                        TF_Graph* graph, TF_Operation* ctrl_op,
                                        TF_Status* s, const char* name = "add");
    
    TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
                      const char* name = "add");
    
    TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph,
                      TF_Status* s, const char* name = "min");
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

      TF_Graph* const cond_graph;
      const TF_Output* const cond_inputs;
      TF_Output cond_output;
    
      // The loop body graph. The inputs are the current values of the loop
      // variables. The outputs are the updated values of the loop variables.
      TF_Graph* const body_graph;
      const TF_Output* const body_inputs;
      TF_Output* const body_outputs;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/c_test_util.cc

      TF_Operation* op;
      BinaryOpHelper("Mul", l, r, graph, s, name, &op, "", true);
      return op;
    }
    
    TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s,
                      const char* name) {
      TF_OperationDescription* desc = TF_NewOperation(graph, "AddN", name);
      TF_Output inputs[2] = {l, r};
      TF_AddInputList(desc, inputs, 2);
      return TF_FinishOperation(desc, s);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  6. tensorflow/c/c_api_internal.h

      // Used to link graphs contained in TF_WhileParams to the parent graph that
      // will eventually contain the full while loop.
      TF_Graph* parent;
      TF_Output* parent_inputs;
    };
    
    struct TF_OperationDescription {
      TF_OperationDescription(TF_Graph* g, const char* op_type,
                              const char* node_name)
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_function.cc

    TF_Function* TF_GraphToFunctionWithControlOutputs(
        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
        int ncontrol_outputs, const TF_Operation* const* control_outputs,
        const char* const* control_output_names, const TF_FunctionOptions* opts,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    auto& kUnknownRank = shape_inference::InferenceContext::kUnknownRank;
    
    // GraphTensor wraps a `TF_Output`, i.e. a pointer to TF_Operation and the index
    // into the list of outputs for the operation.
    class GraphTensor : public TracingTensorHandle {
     public:
      explicit GraphTensor(TF_Output output, TF_Graph* graph)
          : TracingTensorHandle(kGraph), output_(output), graph_(graph) {}
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. tensorflow/c/c_api_function_test.cc

        for (int i = 0; i < expected.size(); ++i) {
          ASSERT_EQ(expected[i], data[i]) << "Different data at index " << i;
        }
      }
    
      std::vector<TF_Output> ToOutput(const std::vector<TF_Operation*> ops) {
        std::vector<TF_Output> out;
        for (auto op : ops) {
          out.push_back({op, 0});
        }
        return out;
      }
    
      void Define(int num_opers, const std::vector<TF_Operation*>& opers,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  10. tensorflow/c/c_api_experimental_test.cc

      TF_Operation* feed = Placeholder(func_graph.get(), s.get());
      TF_Operation* neg = Neg(feed, func_graph.get(), s.get());
    
      TF_Output inputs[] = {{feed, 0}};
      TF_Output outputs[] = {{neg, 0}};
      *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1,
                                 /*opers=*/nullptr, 1, inputs, 1, outputs,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
Back to top