Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Cooper (0.16 sec)

  1. tensorflow/c/c_api.cc

    const char* TF_OperationName(TF_Operation* oper) {
      return oper->node.name().c_str();
    }
    
    const char* TF_OperationOpType(TF_Operation* oper) {
      return oper->node.type_string().c_str();
    }
    
    const char* TF_OperationDevice(TF_Operation* oper) {
      return oper->node.requested_device().c_str();
    }
    
    int TF_OperationNumOutputs(TF_Operation* oper) {
      return oper->node.num_outputs();
    }
    
    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)
  2. tensorflow/c/c_api_function.cc

        std::unordered_map<const Node*, std::vector<int>>* input_nodes)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      input_tensors->reserve(ninputs);
      for (int i = 0; i < ninputs; ++i) {
        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            fn_body->graph.IsValidOutputTensor(node, idx),
    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)
  3. tensorflow/c/c_api_test.cc

      bool found_neg = false;
      size_t pos = 0;
      TF_Operation* oper;
      while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
        if (oper == feed) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
        } else if (oper == three) {
          EXPECT_FALSE(found_scalar_const);
          found_scalar_const = true;
        } else if (oper == add) {
          EXPECT_FALSE(found_add);
          found_add = true;
    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)
Back to top