Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Sens (0.13 sec)

  1. tensorflow/c/c_api.cc

                                        const size_t* proto_lens, int num_shapes,
                                        TF_Status* status) {
      std::vector<TensorShapeProto> shapes;
      shapes.resize(num_shapes);
      for (int i = 0; i < num_shapes; ++i) {
        if (proto_lens[i] > std::numeric_limits<int>::max()) {
          status->status = InvalidArgument(
              "length of element ", i, " in the list (", proto_lens[i],
    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_test.cc

                              std::unique_ptr<const void*[]>* ptrs,
                              std::unique_ptr<size_t[]>* lens) {
      ptrs->reset(new const void*[v.size()]);
      lens->reset(new size_t[v.size()]);
      for (size_t i = 0; i < v.size(); ++i) {
        (*ptrs)[i] = v[i].data();
        (*lens)[i] = v[i].size();
      }
    }
    
    class CApiColocationTest : public ::testing::Test {
     protected:
    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)
  3. tensorflow/c/experimental/grappler/grappler_test.cc

      EXPECT_EQ(list_total_size, storage_size);
    
      std::unique_ptr<char*[]> values(new char*[nodes_preserved.size()]);
      std::unique_ptr<size_t[]> lens(new size_t[nodes_preserved.size()]);
      std::unique_ptr<char[]> storage(new char[storage_size]);
      TF_GetNodesToPreserveList(c_item, values.get(), lens.get(),
                                nodes_preserved.size(), storage.get(), storage_size,
                                status);
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Apr 13 22:30:58 GMT 2023
    - 11.6K bytes
    - Viewed (0)
Back to top