- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for thrown (0.14 sec)
-
tensorflow/c/eager/c_api_test.cc
REGISTER_OP("TestNonCommUnavailable") .Output("out: string") .Doc(R"doc(Test non-communication op throwing Unavailable error.)doc"); REGISTER_OP("TestCommUnavailable") .Output("out: string") .SetIsDistributedCommunication() .Doc(R"doc(Test communication op throwing Unavailable error.)doc"); // Kernel that throws an Unavailable error. class TestUnavailableErrorOp : public tensorflow::OpKernel { public:
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) -
tensorflow/c/c_api_test.cc
} } TEST(CAPI, TensorEncodeDecodeStrings) { TestEncodeDecode(__LINE__, {}); TestEncodeDecode(__LINE__, {"hello"}); TestEncodeDecode(__LINE__, {"the", "quick", "brown", "fox", "jumped", "over"}); string big(1000, 'a'); TestEncodeDecode(__LINE__, {"small", big, "small2"}); } TEST(CAPI, SessionOptions) { TF_SessionOptions* opt = TF_NewSessionOptions();
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)