Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for intro (0.14 sec)

  1. tensorflow/c/c_api.cc

        const Graph& graph = session->graph->graph;
    
        const string& mutation_warning = session->graph->sessions[session];
        if (!mutation_warning.empty()) {
          // TODO(b/74949947): turn this back into an error status
          LOG(WARNING) << mutation_warning;
          session->graph->sessions[session].clear();
        }
    
        const auto num_nodes = graph.num_node_ids();
        if (session->last_num_graph_nodes < num_nodes) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.cc

    // This builder is used in the eager API to build a NodeDef.
    struct TF_AttrBuilder : public tensorflow::AttrBuilder {
      using tensorflow::AttrBuilder::AttrBuilder;
      // The string buffers to make sure that any `attr_name` we pass into
      // `builder->Set()` will outlive the subsequent
      // `TF_AttrBuilderCheckCanRunOnDevice()` call(s) on the same `builder`.
      std::set<std::string> attr_names;
    };
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

            fn_body->graph.IsValidOutputTensor(node, idx),
            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
        TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
                                        "Encountered while processing input ", i,
                                        " into function '", fn_name, "'");
    
        input_tensors->emplace_back(node, idx);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim;
    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 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  5. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, TF_OperationNumControlOutputs(neg));
      EXPECT_EQ(0, TF_OperationGetControlOutputs(neg, control_ops, 100));
    
      // Import it again, with an input mapping, return outputs, and a return
      // operation, into the same graph.
      TF_DeleteImportGraphDefOptions(opts);
      opts = TF_NewImportGraphDefOptions();
      TF_ImportGraphDefOptionsSetPrefix(opts, "imported2");
      TF_ImportGraphDefOptionsAddInputMapping(opts, "scalar", 0, {scalar, 0});
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top