Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cark (0.15 sec)

  1. tensorflow/c/c_api.cc

    }
    
    }  // end extern "C"
    
    namespace tensorflow {
    
    void RecordMutation(TF_Graph* graph, const TF_Operation& op,
                        const char* mutation_type) {
      // If any session has already run this node_id, mark this session as
      // unrunnable.
      for (auto it : graph->sessions) {
        mutex_lock session_lock(it.first->mu);
        if (it.first->last_num_graph_nodes > op.node.id()) {
          it.second = strings::StrCat(
    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/experimental/gradients/array_grad.cc

        for (int i = 0; i < grad_outputs.size(); i++) {
          auto grad_input = grad_outputs[i];
          // TODO(srbs): Should we add a copy contructor to AbstractTensorHandle
          // that takes care of this similar to `Tensor`?
          if (grad_input) {
            grad_input->Ref();
          }
          grad_inputs[i] = grad_input;
        }
        return absl::OkStatus();
      }
      ~IdentityNGradientFunction() override {}
    };
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
Back to top