Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api.cc

          status->status = session->session->Extend(std::move(graph_def));
          if (!status->status.ok()) {
            // Contract is we always delete input_values[i].
            return false;
          }
          // Note: session->session is not modified if Extend() fails, so
          // we only set last_num_graph_nodes if it succeeds.
          session->last_num_graph_nodes = num_nodes;
        } else {
          session->graph->mu.unlock();
    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/eager/c_api.cc

        return nullptr;
      }
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
        dimvec[i] = static_cast<int64_t>(dims[i]);
      }
    
      // TODO(apassos) do we need to wrap the deallocator here to make sure to sync
      // the device?
      TF_ManagedBuffer* buf =
          new TF_ManagedBuffer(data, len, deallocator, deallocator_arg,
                               /*owns_memory=*/false);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top