Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for storage (0.17 sec)

  1. tensorflow/c/c_api_test.cc

        std::vector<size_t> lens(expected.size());
        std::unique_ptr<char[]> storage(new char[m.total_size]);
        TF_OperationGetAttrStringList(op, tensorflow::kColocationAttrName,
                                      values.data(), lens.data(), expected.size(),
                                      storage.get(), m.total_size, s_);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    }
    
    // Tests whether a URI scheme results in a filesystem that is supported.
    //
    // As we need these URI schemes to instantiate the test suite when
    // `testing::InitGoogleTest` gets called, here we just store them to an
    // internal scheme registry. See `URISchemeRegister` above.
    static bool GetURIScheme(const std::string& scheme) {
      tensorflow::SchemeVector()->push_back(scheme);
      return true;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_DeleteTensorHandle(n);
        n = n_gpu;
      }
    
      TFE_TensorHandle* m = TestMatrixTensorHandle100x100(ctx);
    
      // Store pointer to raw buffer for validation of forwarding behaviour.
      TF_Tensor* orig = TFE_TensorHandleResolve(n, status);
      void* orig_ptr = TF_TensorData(orig);
      TF_DeleteTensor(orig);
    
      TFE_Op* add_op = AddOp(ctx, n, m);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
Back to top