Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for force32 (0.14 sec)

  1. tensorflow/c/eager/custom_device_test.cc

      EXPECT_TRUE(executed);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      TFE_DeleteTensorHandle(retval);
    
      // Explicit placement still forces the op onto the requested device
      matmul.reset(MatMulOp(context.get(), hcustom0.get(), hcpu.get()));
      TFE_OpSetDevice(matmul.get(), "/job:localhost/replica:0/task:0/device:CPU:0",
                      status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(value);
    }
    
    TEST_F(CApiAttributesTest, StringTensor) {
      // Create the string-Tensor "attribute" value.
      const char test_string[] =
          "borkborkborkborkborkborkborkbork";  // >24bytes to force heap alloc
      TF_TString tstr[1];
      TF_TString_Init(&tstr[0]);
      TF_TString_Copy(&tstr[0], test_string, sizeof(test_string) - 1);
    
      auto deallocator = [](void* data, size_t len, void* arg) {};
    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