Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/eager/c_api_test.cc

        // Ensure that the contents are the same!
        TF_Tensor* tcopy = TFE_TensorHandleResolve(hcopy, status.get());
        TFE_DeleteTensorHandle(hcopy);
        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag;
          continue;
        }
        EXPECT_EQ(TF_TensorByteSize(t), TF_TensorByteSize(tcopy)) << tag;
        EXPECT_EQ(
            0, memcmp(TF_TensorData(t), TF_TensorData(tcopy), TF_TensorByteSize(t)))
            << tag;
    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)
  2. tensorflow/c/c_api_test.cc

        TF_TString_Init(&data[i]);
        // The following input string length is large enough to make sure that
        // copy to tstring in large mode.
        std::string source =
            "This is the " + std::to_string(i + 1) + "th. data element\n";
        TF_TString_Copy(&data[i], source.c_str(), source.length());
      }
    
      TF_DeleteTensor(t);
    }
    
    }  // namespace
    }  // namespace tensorflow
    
    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