Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for bhar (0.12 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", -1, TF_ATTR_STRING, 5);
      std::unique_ptr<char[]> value(new char[5]);
    
      TF_OperationGetAttrString(oper, "v", value.get(), 5, s_);
      EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ("bunny", string(static_cast<const char*>(value.get()), 5));
    }
    
    TEST_F(CApiAttributesTest, StringList) {
    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/eager/c_api_test.cc

      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
      TFE_Context* ctx = TFE_NewContext(opts, status.get());
      TFE_DeleteContextOptions(opts);
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
      TFE_TensorHandle* hcpu = TestMatrixTensorHandle(ctx);
      const char* kErrorDevice = "NoSuchDevice:0";
      TFE_TensorHandle* hdevice =
    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