Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api.cc

    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
          "Creating while loops is not supported on mobile. File a bug at "
          "https://github.com/tensorflow/tensorflow/issues if this feature is "
          "important to you");
      return EmptyWhileParams();
    #else
      if (ninputs == 0) {
        status->status =
    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

      TF_DeleteTensor(t);
      EXPECT_TRUE(deallocator_called);
    }
    
    void NoOpDeallocator(void* data, size_t, void*) {}
    
    TEST(CAPI, MalformedTensor) {
      // See https://github.com/tensorflow/tensorflow/issues/7394
      // num_dims = 0 implies a scalar, so should be backed by at least 4 bytes of
      // data.
      TF_Tensor* t =
          TF_NewTensor(TF_FLOAT, nullptr, 0, nullptr, 0, &NoOpDeallocator, nullptr);
    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)
Back to top